Searched refs:ScaleToFit (Results 1 - 13 of 13) sorted by relevance

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraDeviceInfo.java189 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java103 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL);
H A DRecipientEditTextView.java1135 matrix.setRectToRect(src, dst, Matrix.ScaleToFit.FILL);
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java201 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
527 public enum ScaleToFit { enum in class:Matrix
555 ScaleToFit(int nativeInt) { method in class:Matrix.ScaleToFit
568 * @param stf the ScaleToFit option
571 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
/frameworks/base/core/java/android/widget/
H A DImageView.java703 * Scale the image using {@link Matrix.ScaleToFit#FILL}.
708 * Scale the image using {@link Matrix.ScaleToFit#START}.
713 * Scale the image using {@link Matrix.ScaleToFit#CENTER}.
719 * Scale the image using {@link Matrix.ScaleToFit#END}.
998 private static final Matrix.ScaleToFit[] sS2FArray = {
999 Matrix.ScaleToFit.FILL,
1000 Matrix.ScaleToFit.START,
1001 Matrix.ScaleToFit.CENTER,
1002 Matrix.ScaleToFit.END
1005 private static Matrix.ScaleToFit scaleTypeToScaleToFi
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java25 import android.graphics.Matrix.ScaleToFit;
548 if (stf != ScaleToFit.FILL.nativeInt) {
559 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) {
568 if (stf == ScaleToFit.CENTER.nativeInt) {
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp197 SkMatrix::ScaleToFit stf = static_cast<SkMatrix::ScaleToFit>(stfHandle);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java382 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java739 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
748 m4.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java861 mMatrix.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER);
863 mMatrix.setRectToRect(mTempSrc, mTempDst, Matrix.ScaleToFit.CENTER);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java615 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java276 boxingXform.setRectToRect(output, intermediate, android.graphics.Matrix.ScaleToFit.CENTER);
/frameworks/base/
H A Dcompiled-classes-phone1222 android.graphics.Matrix$ScaleToFit

Completed in 479 milliseconds