List of usage examples for android.widget ImageView getMatrix
public Matrix getMatrix()
From source file:android.support.v17.leanback.widget.DetailsOverviewSharedElementHelper.java
private void saveImageViewScale() { if (mSavedScaleType == null) { // only save first time after initialize/restoreImageViewScale() ImageView imageView = mViewHolder.mImageView; mSavedScaleType = imageView.getScaleType(); mSavedMatrix = mSavedScaleType == ScaleType.MATRIX ? imageView.getMatrix() : null; if (DEBUG) { Log.d(TAG, "saveImageViewScale: " + mSavedScaleType); }/*from w ww. j ava 2 s .c o m*/ } }