/external/skia/include/views/ |
SkImageView.h | 37 enum ScaleType { 44 ScaleType getScaleType() const { return (ScaleType)fScaleType; } 45 void setScaleType(ScaleType);
|
/frameworks/base/core/java/android/widget/ |
ImageView.java | 63 private ScaleType mScaleType; 92 private static final ScaleType[] sScaleTypeArray = { 93 ScaleType.MATRIX, 94 ScaleType.FIT_XY, 95 ScaleType.FIT_START, 96 ScaleType.FIT_CENTER, 97 ScaleType.FIT_END, 98 ScaleType.CENTER, 99 ScaleType.CENTER_CROP, 100 ScaleType.CENTER_INSID [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestGalleryImages.java | 23 import android.widget.ImageView.ScaleType; 65 i.setScaleType(ScaleType.CENTER_INSIDE);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBookmarksAdapter.java | 28 import android.widget.ImageView.ScaleType; 69 thumb.setScaleType(ScaleType.FIT_END); 78 thumb.setScaleType(ScaleType.CENTER_CROP);
|
PieControlBase.java | 30 import android.widget.ImageView.ScaleType; 100 view.setScaleType(ScaleType.CENTER); 112 image.setScaleType(ScaleType.CENTER);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageViewTest.java | 45 import android.widget.ImageView.ScaleType; 180 imageView.setScaleType(ScaleType.FIT_XY); 183 assertEquals(ScaleType.FIT_XY, imageView.getScaleType()); 186 assertEquals(ScaleType.FIT_CENTER, imageView.getScaleType()); 385 args = {android.widget.ImageView.ScaleType.class} 403 imageView.setScaleType(ImageView.ScaleType.CENTER); 404 assertEquals(ImageView.ScaleType.CENTER, imageView.getScaleType()); 406 imageView.setScaleType(ImageView.ScaleType.MATRIX); 407 assertEquals(ImageView.ScaleType.MATRIX, imageView.getScaleType()); 409 imageView.setScaleType(ImageView.ScaleType.FIT_START) [all...] |
/external/skia/src/views/ |
SkImageView.cpp | 53 void SkImageView::setScaleType(ScaleType st) 57 if ((ScaleType)fScaleType != st) 122 static inline SkMatrix::ScaleToFit scaleTypeToScaleToFit(SkImageView::ScaleType st) 191 int index = dom.findList(node, "scaleType", "matrix,fitXY,fitStart,fitCenter,fitEnd"); 193 this->setScaleType((ScaleType)index);
|
/cts/tests/src/android/widget/cts/ |
GalleryStubActivity.java | 65 i.setScaleType(ImageView.ScaleType.FIT_XY);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Grid1.java | 69 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
LayoutAnimation1.java | 61 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
LayoutAnimation4.java | 62 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
LayoutAnimation5.java | 61 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
LayoutAnimation6.java | 61 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
Gallery1.java | 123 imageView.setScaleType(ImageView.ScaleType.FIT_XY);
|
Grid3.java | 77 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
ImageSwitcher1.java | 69 i.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
/frameworks/base/core/java/com/android/internal/app/ |
PlatLogoActivity.java | 71 mContent.setScaleType(ImageView.ScaleType.CENTER_INSIDE);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 87 setScaleType(ImageView.ScaleType.MATRIX); 98 setScaleType(ImageView.ScaleType.MATRIX); 110 setScaleType(ImageView.ScaleType.MATRIX);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
ResultActivity.java | 40 import android.widget.ImageView.ScaleType; 173 imageView.setScaleType(ScaleType.FIT_START);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
AbstractIndicatorButton.java | 50 setScaleType(ImageView.ScaleType.CENTER);
|
RotateImageView.java | 126 if ((getScaleType() == ImageView.ScaleType.FIT_CENTER) &&
|
SharePopup.java | 214 mThumbnail.setScaleType(ImageView.ScaleType.CENTER_CROP); 216 mThumbnail.setScaleType(ImageView.ScaleType.FIT_CENTER);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsPanelView.java | 48 import android.widget.ImageView.ScaleType; 413 h.thumbnailViewImage.setScaleType(ScaleType.FIT_XY); 418 h.thumbnailViewImage.setScaleType(ScaleType.MATRIX);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MovieControllerOverlay.java | 36 import android.widget.ImageView.ScaleType; 111 playPauseReplayView.setScaleType(ScaleType.CENTER);
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
ActionBarHelperBase.java | 191 actionButton.setScaleType(ImageView.ScaleType.CENTER);
|