Code example for Matrix

Methods: equals

0
  } 
 
  @Override 
  public void setImageMatrix(final Matrix matrix) {
    if ((matrix == null && !getImageMatrix().isIdentity())
        || (matrix != null && !getImageMatrix().equals(matrix))) {
      ImageViewHiddenMethods.configureBounds(this);
    } 
    super.setImageMatrix(matrix);
  } 
 
  private void resetTransitionArrayCallbacks() { 
    final Drawable[] transitionArray = this.transitionArray;
    if (transitionArray[0] != null) { transitionArray[0].setCallback(null); }
    if (transitionArray[1] != null) { transitionArray[1].setCallback(null); }
  } 
 
  public void setImageDrawableWithTransition(final Drawable drawable, final boolean crossfade) {
    setImageDrawableWithTransition(drawable, TRANSITION_DURATION_DEFAULT, false);
  } 
  public void setImageDrawableWithTransition(final Drawable drawable, final int duration, final boolean crossfade) {