Home
last modified time | relevance | path

Searched refs:scaleType (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/transition/src/main/java/androidx/transition/
DImageViewUtils.java41 final ImageView.ScaleType scaleType = view.getScaleType(); in startAnimateTransform() local
42 view.setTag(R.id.save_scale_type, scaleType); in startAnimateTransform()
43 if (scaleType == ImageView.ScaleType.MATRIX) { in startAnimateTransform()
94 final ImageView.ScaleType scaleType = (ImageView.ScaleType) in reserveEndAnimateTransform()
96 view.setScaleType(scaleType); in reserveEndAnimateTransform()
98 if (scaleType == ImageView.ScaleType.MATRIX) { in reserveEndAnimateTransform()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DScaleDrawableTests.java61 ImageView.ScaleType scaleType = ImageView.ScaleType.values()[i]; in onCreate() local
65 png_view.setScaleType(scaleType); in onCreate()
71 view.setScaleType(scaleType); in onCreate()
77 avd_view.setScaleType(scaleType); in onCreate()
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
DReparentImageUsage.java74 private void addImageView(FrameLayout parent, ImageView.ScaleType scaleType, int size) { in addImageView() argument
78 photo.setScaleType(scaleType); in addImageView()
/frameworks/base/core/java/android/transition/
DChangeImageTransform.java99 ImageView.ScaleType scaleType = imageView.getScaleType(); in captureValues() local
100 if (scaleType == ImageView.ScaleType.FIT_XY) { in captureValues()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DImageCardView.java313 public void setMainImageScaleType(ScaleType scaleType) { in setMainImageScaleType() argument
315 mImageView.setScaleType(scaleType); in setMainImageScaleType()
/frameworks/support/transition/src/androidTest/java/androidx/transition/
DChangeImageTransformTest.java236 private ImageView enterImageViewScene(final ImageView.ScaleType scaleType) throws Throwable { in enterImageViewScene() argument
247 mImageView.setScaleType(scaleType); in enterImageViewScene()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java498 ImageView.ScaleType scaleType = SCALE_TYPE_VALUES[scaleTypeInt]; in setSharedElementState() local
499 imageView.setScaleType(scaleType); in setSharedElementState()
500 if (scaleType == ImageView.ScaleType.MATRIX) { in setSharedElementState()
996 private static int scaleTypeToInt(ImageView.ScaleType scaleType) { in scaleTypeToInt() argument
998 if (scaleType == SCALE_TYPE_VALUES[i]) { in scaleTypeToInt()
/frameworks/base/core/java/android/widget/
DImageView.java812 public void setScaleType(ScaleType scaleType) {
813 if (scaleType == null) {
817 if (mScaleType != scaleType) {
818 mScaleType = scaleType;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1035 field public static final int scaleType = 16843037; // 0x101011d
/frameworks/base/config/
Dhiddenapi-public-dex.txt36526 Landroid/R$attr;->scaleType:I
/frameworks/base/api/
Dcurrent.txt1130 field public static final int scaleType = 16843037; // 0x101011d