Searched refs:mScaleType (Results 1 – 2 of 2) sorted by relevance
109 private ScaleType mScaleType; field in ImageView259 mScaleType = ScaleType.FIT_CENTER; in initImageView()873 if (mScaleType != scaleType) {874 mScaleType = scaleType;889 return mScaleType;1285 if (dwidth <= 0 || dheight <= 0 || ScaleType.FIT_XY == mScaleType) { in configureBounds()1296 if (ScaleType.MATRIX == mScaleType) { in configureBounds()1306 } else if (ScaleType.CENTER == mScaleType) { in configureBounds()1311 } else if (ScaleType.CENTER_CROP == mScaleType) { in configureBounds()1327 } else if (ScaleType.CENTER_INSIDE == mScaleType) { in configureBounds()[all …]
670 state.mScaleType = imageView.getScaleType(); in getOldSharedElementState()671 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in getOldSharedElementState()713 if (view instanceof ImageView && state.mScaleType != null) { in setOriginalSharedElementState()715 imageView.setScaleType(state.mScaleType); in setOriginalSharedElementState()716 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in setOriginalSharedElementState()1116 ImageView.ScaleType mScaleType; field in ActivityTransitionCoordinator.SharedElementOriginalState