private void configureBoundsIfUnderlyingChanged() {
    Drawable current = getCurrent();
    if (current == null) {
      return;
    }

    if (mUnderlyingWidth != current.getIntrinsicWidth()
        || mUnderlyingHeight != current.getIntrinsicHeight()) {
      configureBounds();
    }
  }
Sets the matrix.

@param matrix matrix to set
drawee/src/main/java/com/facebook/drawee/drawable/MatrixDrawable.java