Home
last modified time | relevance | path

Searched refs:ScaleToFit (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DMatrix.java208 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
528 public enum ScaleToFit { enum in Matrix
554 ScaleToFit(int nativeInt) { in ScaleToFit() method in Matrix.ScaleToFit
570 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraDeviceInfo.java189 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL); in getPreviewTransform()
/frameworks/base/core/java/android/widget/
DImageView.java1105 private static final Matrix.ScaleToFit[] sS2FArray = {
1106 Matrix.ScaleToFit.FILL,
1107 Matrix.ScaleToFit.START,
1108 Matrix.ScaleToFit.CENTER,
1109 Matrix.ScaleToFit.END
1113 private static Matrix.ScaleToFit scaleTypeToScaleToFit(ScaleType st) { in scaleTypeToScaleToFit()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java25 import android.graphics.Matrix.ScaleToFit;
554 if (stf != ScaleToFit.FILL.nativeInt) { in nSetRectToRect()
565 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) { in nSetRectToRect()
574 if (stf == ScaleToFit.CENTER.nativeInt) { in nSetRectToRect()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java103 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL); in drawBitmapWithCircleOnCanvas()
DRecipientEditTextView.java1138 matrix.setRectToRect(src, dst, Matrix.ScaleToFit.FILL); in setWorkPaintForIcon()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp90 SkMatrix::ScaleToFit stf = static_cast<SkMatrix::ScaleToFit>(stfHandle); in setRectToRect()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java739 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
748 m4.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java409 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in onBoundsChange()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java861 mMatrix.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER); in generateMatrix()
863 mMatrix.setRectToRect(mTempSrc, mTempDst, Matrix.ScaleToFit.CENTER); in generateMatrix()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java277 boxingXform.setRectToRect(output, intermediate, android.graphics.Matrix.ScaleToFit.CENTER); in drawFrame()
/frameworks/base/core/java/android/app/
DWallpaperManager.java732 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); in getBuiltInDrawable()
/frameworks/base/config/
Dpreloaded-classes1210 android.graphics.Matrix$ScaleToFit
Dboot-image-profile.txt5748 HSPLandroid/graphics/Matrix$ScaleToFit;-><init>(Ljava/lang/String;II)V
5772 …etRectToRect(Landroid/graphics/RectF;Landroid/graphics/RectF;Landroid/graphics/Matrix$ScaleToFit;)Z
33373 Landroid/graphics/Matrix$ScaleToFit;
Dhiddenapi-greylist-max-o.txt20836 Landroid/graphics/Matrix$ScaleToFit;->nativeInt:I
82475 Landroid/widget/ImageView;->sS2FArray:[Landroid/graphics/Matrix$ScaleToFit;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10878 … setRectToRect(android.graphics.RectF, android.graphics.RectF, android.graphics.Matrix.ScaleToFit);
10901 public static final class Matrix.ScaleToFit extends java.lang.Enum {
10902 method public static android.graphics.Matrix.ScaleToFit valueOf(java.lang.String);
10903 method public static final android.graphics.Matrix.ScaleToFit[] values();
10904 enum_constant public static final android.graphics.Matrix.ScaleToFit CENTER;
10905 enum_constant public static final android.graphics.Matrix.ScaleToFit END;
10906 enum_constant public static final android.graphics.Matrix.ScaleToFit FILL;
10907 enum_constant public static final android.graphics.Matrix.ScaleToFit START;
/frameworks/base/non-updatable-api/
Dcurrent.txt14381 … setRectToRect(android.graphics.RectF, android.graphics.RectF, android.graphics.Matrix.ScaleToFit);
14404 public enum Matrix.ScaleToFit {
14405 enum_constant public static final android.graphics.Matrix.ScaleToFit CENTER;
14406 enum_constant public static final android.graphics.Matrix.ScaleToFit END;
14407 enum_constant public static final android.graphics.Matrix.ScaleToFit FILL;
14408 enum_constant public static final android.graphics.Matrix.ScaleToFit START;
/frameworks/base/api/
Dcurrent.txt14381 … setRectToRect(android.graphics.RectF, android.graphics.RectF, android.graphics.Matrix.ScaleToFit);
14404 public enum Matrix.ScaleToFit {
14405 enum_constant public static final android.graphics.Matrix.ScaleToFit CENTER;
14406 enum_constant public static final android.graphics.Matrix.ScaleToFit END;
14407 enum_constant public static final android.graphics.Matrix.ScaleToFit FILL;
14408 enum_constant public static final android.graphics.Matrix.ScaleToFit START;