public void setMatrix(Matrix matrix) {
    mMatrix = matrix;
    configureBounds();
    invalidateSelf();
  }
Sets the matrix.

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