Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java102 private ScaleType mScaleType; field in ImageView
239 mScaleType = ScaleType.FIT_CENTER; in initImageView()
817 if (mScaleType != scaleType) {
818 mScaleType = scaleType;
832 return mScaleType;
1221 if (dwidth <= 0 || dheight <= 0 || ScaleType.FIT_XY == mScaleType) { in configureBounds()
1232 if (ScaleType.MATRIX == mScaleType) { in configureBounds()
1242 } else if (ScaleType.CENTER == mScaleType) { in configureBounds()
1247 } else if (ScaleType.CENTER_CROP == mScaleType) { in configureBounds()
1263 } else if (ScaleType.CENTER_INSIDE == mScaleType) { in configureBounds()
[all …]
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java665 state.mScaleType = imageView.getScaleType(); in getOldSharedElementState()
666 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in getOldSharedElementState()
708 if (view instanceof ImageView && state.mScaleType != null) { in setOriginalSharedElementState()
710 imageView.setScaleType(state.mScaleType); in setOriginalSharedElementState()
711 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in setOriginalSharedElementState()
1111 ImageView.ScaleType mScaleType; field in ActivityTransitionCoordinator.SharedElementOriginalState