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

/frameworks/base/core/java/android/widget/
H A DImageView.java101 private ScaleType mScaleType; field in class:ImageView
238 mScaleType = ScaleType.FIT_CENTER;
816 if (mScaleType != scaleType) {
817 mScaleType = scaleType;
819 setWillNotCacheDrawing(mScaleType == ScaleType.CENTER);
833 return mScaleType;
1228 if (dwidth <= 0 || dheight <= 0 || ScaleType.FIT_XY == mScaleType) {
1239 if (ScaleType.MATRIX == mScaleType) {
1249 } else if (ScaleType.CENTER == mScaleType) {
1254 } else if (ScaleType.CENTER_CROP == mScaleType) {
[all...]
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java665 state.mScaleType = imageView.getScaleType();
666 if (state.mScaleType == ImageView.ScaleType.MATRIX) {
708 if (view instanceof ImageView && state.mScaleType != null) {
710 imageView.setScaleType(state.mScaleType);
711 if (state.mScaleType == ImageView.ScaleType.MATRIX) {
1108 ImageView.ScaleType mScaleType; field in class:ActivityTransitionCoordinator.SharedElementOriginalState

Completed in 77 milliseconds