Home
last modified time | relevance | path

Searched refs:ScaleToFit (Results 1 – 17 of 17) 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.java1103 private static final Matrix.ScaleToFit[] sS2FArray = {
1104 Matrix.ScaleToFit.FILL,
1105 Matrix.ScaleToFit.START,
1106 Matrix.ScaleToFit.CENTER,
1107 Matrix.ScaleToFit.END
1111 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.java1135 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.java730 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
33374 Landroid/graphics/Matrix$ScaleToFit;
Dhiddenapi-greylist-max-o.txt22241 Landroid/graphics/Matrix$ScaleToFit;-><init>(I)V
22242 Landroid/graphics/Matrix$ScaleToFit;->nativeInt:I
88376 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/api/
Dcurrent.txt14364 … setRectToRect(android.graphics.RectF, android.graphics.RectF, android.graphics.Matrix.ScaleToFit);
14387 public enum Matrix.ScaleToFit {
14388 enum_constant public static final android.graphics.Matrix.ScaleToFit CENTER;
14389 enum_constant public static final android.graphics.Matrix.ScaleToFit END;
14390 enum_constant public static final android.graphics.Matrix.ScaleToFit FILL;
14391 enum_constant public static final android.graphics.Matrix.ScaleToFit START;