Home
last modified time | relevance | path

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

/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()
/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.java85 public void setMainImageScaleType(ScaleType scaleType) { in setMainImageScaleType() argument
87 mImageView.setScaleType(scaleType); in setMainImageScaleType()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java387 ImageView.ScaleType scaleType = SCALE_TYPE_VALUES[scaleTypeInt]; in setSharedElementState() local
388 imageView.setScaleType(scaleType); in setSharedElementState()
389 if (scaleType == ImageView.ScaleType.MATRIX) { in setSharedElementState()
803 private static int scaleTypeToInt(ImageView.ScaleType scaleType) { in scaleTypeToInt() argument
805 if (scaleType == SCALE_TYPE_VALUES[i]) { in scaleTypeToInt()
/frameworks/base/core/java/android/widget/
DImageView.java642 public void setScaleType(ScaleType scaleType) { in setScaleType() argument
643 if (scaleType == null) { in setScaleType()
647 if (mScaleType != scaleType) { in setScaleType()
648 mScaleType = scaleType; in setScaleType()
/frameworks/base/docs/html/training/contacts-provider/
Ddisplay-contact-badge.jd101 android:scaleType="centerCrop"/>
347 android:scaleType="centerCrop"/>
/frameworks/base/docs/html/training/animation/
Dcardflip.jd243 android:scaleType="centerCrop"
Dzoom.jd97 android:scaleType="centerCrop"
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd415 android:scaleType="center"
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd1651 href="{@docRoot}reference/android/widget/ImageView.html#attr_android:scaleType">{@code
1652 android:scaleType}</a> to {@code "center"}.</p>
/frameworks/base/api/
Dcurrent.txt1028 field public static final int scaleType = 16843037; // 0x101011d