/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
D | ImageRequestTest.java | 22 import android.widget.ImageView.ScaleType; 55 ScaleType scalteType = ScaleType.CENTER_INSIDE; in parseNetworkResponse_resizing() 80 scalteType = ScaleType.CENTER_CROP; in parseNetworkResponse_resizing() 104 scalteType = ScaleType.FIT_XY; in parseNetworkResponse_resizing() 127 ScaleType scaleType, int expectedWidth, int expectedHeight) { in verifyResize() 170 int.class, int.class, ImageView.ScaleType.class, Bitmap.Config.class, in publicMethods()
|
D | NetworkImageViewTest.java | 6 import android.widget.ImageView.ScaleType; 49 int maxHeight, ScaleType scaleType) { in get()
|
D | ImageLoaderTest.java | 88 ImageView.ScaleType.class)); in publicMethods() 94 ImageLoader.ImageListener.class, int.class, int.class, ImageView.ScaleType.class)); in publicMethods()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageRequest.java | 22 import android.widget.ImageView.ScaleType; 49 private ScaleType mScaleType; 73 ScaleType scaleType, Config decodeConfig, Response.ErrorListener errorListener) { in ImageRequest() 92 ScaleType.CENTER_INSIDE, decodeConfig, errorListener); in ImageRequest() 112 int actualSecondary, ScaleType scaleType) { in getResizedDimension() 120 if (scaleType == ScaleType.FIT_XY) { in getResizedDimension() 141 if (scaleType == ScaleType.CENTER_CROP) { in getResizedDimension()
|
D | ImageLoader.java | 23 import android.widget.ImageView.ScaleType; 153 return isCached(requestUrl, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); 165 public boolean isCached(String requestUrl, int maxWidth, int maxHeight, ScaleType scaleType) { 191 return get(requestUrl, imageListener, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); 208 int maxWidth, int maxHeight, ScaleType scaleType) { 251 ScaleType scaleType, final String cacheKey) { 502 … private static String getCacheKey(String url, int maxWidth, int maxHeight, ScaleType scaleType) {
|
D | NetworkImageView.java | 106 ScaleType scaleType = getScaleType(); in loadImageIfNecessary()
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 81 private ScaleType mScaleType; 124 private static final ScaleType[] sScaleTypeArray = { 125 ScaleType.MATRIX, 126 ScaleType.FIT_XY, 127 ScaleType.FIT_START, 128 ScaleType.FIT_CENTER, 129 ScaleType.FIT_END, 130 ScaleType.CENTER, 131 ScaleType.CENTER_CROP, 132 ScaleType.CENTER_INSIDE [all …]
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 30 import android.widget.ImageView.ScaleType; 182 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCaptureSharedElementSnapshot() 229 ScaleType.valueOf(bundle.getString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE))); in onCreateSnapshotView() 230 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCreateSnapshotView()
|
D | ActivityTransitionCoordinator.java | 135 protected static final ImageView.ScaleType[] SCALE_TYPE_VALUES = ImageView.ScaleType.values(); 432 ImageView.ScaleType scaleType = SCALE_TYPE_VALUES[scaleTypeInt]; in setSharedElementState() 434 if (scaleType == ImageView.ScaleType.MATRIX) { in setSharedElementState() 605 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in getOldSharedElementState() 650 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in setOriginalSharedElementState() 759 if (imageView.getScaleType() == ImageView.ScaleType.MATRIX) { in captureSharedElementState() 929 private static int scaleTypeToInt(ImageView.ScaleType scaleType) { in scaleTypeToInt() 1014 ImageView.ScaleType mScaleType;
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 31 import android.widget.ImageView.ScaleType; 180 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCaptureSharedElementSnapshot() 269 ScaleType.valueOf(bundle.getString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE))); in onCreateSnapshotView() 270 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCreateSnapshotView()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | DetailsOverviewSharedElementHelper.java | 33 import android.widget.ImageView.ScaleType; 49 private ScaleType mSavedScaleType; 61 mSavedMatrix = mSavedScaleType == ScaleType.MATRIX ? imageView.getMatrix() : null; in saveImageViewScale() 84 if (snapshotImageView.getScaleType() == ScaleType.MATRIX) { in changeImageViewScale() 97 if (mSavedScaleType == ScaleType.MATRIX) { in restoreImageViewScale()
|
D | ImageCardView.java | 27 import android.widget.ImageView.ScaleType; 304 public void setMainImageScaleType(ScaleType scaleType) { in setMainImageScaleType()
|
D | FullWidthDetailsOverviewSharedElementHelper.java | 33 import android.widget.ImageView.ScaleType;
|
D | DetailsOverviewRowPresenter.java | 526 vh.mImageView.setScaleType(ImageView.ScaleType.FIT_START); in bindImageDrawable() 532 vh.mImageView.setScaleType(ImageView.ScaleType.CENTER); in bindImageDrawable()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGalleryImages.java | 23 import android.widget.ImageView.ScaleType; 65 i.setScaleType(ScaleType.CENTER_INSIDE); in getView()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | ScaleDrawableTests.java | 61 ImageView.ScaleType scaleType = ImageView.ScaleType.values()[i]; in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSIconView.java | 26 import android.widget.ImageView.ScaleType; 112 icon.setScaleType(ScaleType.FIT_CENTER); in createIcon()
|
D | QSDualTileLabel.java | 70 mFirstLineCaret.setScaleType(ImageView.ScaleType.MATRIX); in QSDualTileLabel()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 99 ImageView.ScaleType scaleType = imageView.getScaleType(); in captureValues() 100 if (scaleType == ImageView.ScaleType.FIT_XY) { in captureValues()
|
D | TransitionUtils.java | 101 copy.setScaleType(ImageView.ScaleType.CENTER_CROP); in copyViewImage()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | CrossfadeImage.java | 48 mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationOverflowIconsView.java | 60 v.setScaleType(ImageView.ScaleType.CENTER_INSIDE); in addNotification()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 41 import android.widget.ImageView.ScaleType; 200 tab.setScaleType(ScaleType.CENTER); in Slider() 215 target.setScaleType(ScaleType.CENTER); in Slider()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | gridview.jd | 127 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP); 171 <li>{@link android.widget.ImageView#setScaleType(ImageView.ScaleType)} declares that images should
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconController.java | 243 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in setExternalIcon() 247 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in setExternalIcon()
|