Home
last modified time | relevance | path

Searched refs:mScaleType (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DImageView.java75 private ScaleType mScaleType; field in ImageView
205 mScaleType = ScaleType.FIT_CENTER; in initImageView()
653 if (mScaleType != scaleType) { in setScaleType()
654 mScaleType = scaleType; in setScaleType()
656 setWillNotCacheDrawing(mScaleType == ScaleType.CENTER); in setScaleType()
671 return mScaleType; in getScaleType()
1039 if (dwidth <= 0 || dheight <= 0 || ScaleType.FIT_XY == mScaleType) { in configureBounds()
1050 if (ScaleType.MATRIX == mScaleType) { in configureBounds()
1060 } else if (ScaleType.CENTER == mScaleType) { in configureBounds()
1065 } else if (ScaleType.CENTER_CROP == mScaleType) { in configureBounds()
[all …]
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java622 state.mScaleType = imageView.getScaleType(); in getOldSharedElementState()
623 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in getOldSharedElementState()
665 if (view instanceof ImageView && state.mScaleType != null) { in setOriginalSharedElementState()
667 imageView.setScaleType(state.mScaleType); in setOriginalSharedElementState()
668 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in setOriginalSharedElementState()
965 ImageView.ScaleType mScaleType; field in ActivityTransitionCoordinator.SharedElementOriginalState