Home
last modified time | relevance | path

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

/frameworks/support/transition/api14/android/support/transition/
DImageViewUtilsApi14.java30 final ImageView.ScaleType scaleType = view.getScaleType(); in startAnimateTransform() local
31 view.setTag(R.id.save_scale_type, scaleType); in startAnimateTransform()
32 if (scaleType == ImageView.ScaleType.MATRIX) { in startAnimateTransform()
50 final ImageView.ScaleType scaleType = (ImageView.ScaleType) in reserveEndAnimateTransform()
52 view.setScaleType(scaleType); in reserveEndAnimateTransform()
54 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/com/example/android/support/transition/widget/
DReparentImageUsage.java73 private void addImageView(FrameLayout parent, ImageView.ScaleType scaleType, int size) { in addImageView() argument
77 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/v17/leanback/src/android/support/v17/leanback/widget/
DImageCardView.java304 public void setMainImageScaleType(ScaleType scaleType) { in setMainImageScaleType() argument
306 mImageView.setScaleType(scaleType); in setMainImageScaleType()
/frameworks/support/transition/tests/src/android/support/transition/
DChangeImageTransformTest.java235 private ImageView enterImageViewScene(final ImageView.ScaleType scaleType) throws Throwable { in enterImageViewScene() argument
246 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.java811 public void setScaleType(ScaleType scaleType) {
812 if (scaleType == null) {
816 if (mScaleType != scaleType) {
817 mScaleType = scaleType;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1035 field public static final int scaleType = 16843037; // 0x101011d
/frameworks/base/api/
Dcurrent.txt1109 field public static final int scaleType = 16843037; // 0x101011d
Dsystem-current.txt1232 field public static final int scaleType = 16843037; // 0x101011d