Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DMatrix.java201 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
527 public enum ScaleToFit { enum in Matrix
555 ScaleToFit(int nativeInt) { in ScaleToFit() method in Matrix.ScaleToFit
571 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBitmapHelper.java49 m.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.CENTER); in createCircularClip()
/frameworks/base/core/java/android/widget/
DImageView.java928 private static final Matrix.ScaleToFit[] sS2FArray = {
929 Matrix.ScaleToFit.FILL,
930 Matrix.ScaleToFit.START,
931 Matrix.ScaleToFit.CENTER,
932 Matrix.ScaleToFit.END
935 private static Matrix.ScaleToFit scaleTypeToScaleToFit(ScaleType st) { in scaleTypeToScaleToFit()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraDeviceInfo.java189 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL); in getPreviewTransform()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java25 import android.graphics.Matrix.ScaleToFit;
548 if (stf != ScaleToFit.FILL.nativeInt) { in native_setRectToRect()
559 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) { in native_setRectToRect()
568 if (stf == ScaleToFit.CENTER.nativeInt) { in native_setRectToRect()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java103 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL); in drawBitmapWithCircleOnCanvas()
DRecipientEditTextView.java878 matrix.setRectToRect(src, dst, Matrix.ScaleToFit.FILL); in drawIconOnCanvas()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java162 mScaleMatrix.setRectToRect(mBitmapRect, mLayoutRect, Matrix.ScaleToFit.FILL); in updateThumbnailScale()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp200 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/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java890 mMatrix.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER); in generateMatrix()
892 mMatrix.setRectToRect(mTempSrc, mTempDst, Matrix.ScaleToFit.CENTER); in generateMatrix()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java276 boxingXform.setRectToRect(output, intermediate, android.graphics.Matrix.ScaleToFit.CENTER); in drawFrame()
/frameworks/base/core/java/android/app/
DWallpaperManager.java525 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); in getBuiltInDrawable()
/frameworks/base/
Dpreloaded-classes38 [Landroid.graphics.Matrix$ScaleToFit;
786 android.graphics.Matrix$ScaleToFit
/frameworks/base/api/
Dcurrent.txt11434 … setRectToRect(android.graphics.RectF, android.graphics.RectF, android.graphics.Matrix.ScaleToFit);
11457 public static final class Matrix.ScaleToFit extends java.lang.Enum {
11458 method public static android.graphics.Matrix.ScaleToFit valueOf(java.lang.String);
11459 method public static final android.graphics.Matrix.ScaleToFit[] values();
11460 enum_constant public static final android.graphics.Matrix.ScaleToFit CENTER;
11461 enum_constant public static final android.graphics.Matrix.ScaleToFit END;
11462 enum_constant public static final android.graphics.Matrix.ScaleToFit FILL;
11463 enum_constant public static final android.graphics.Matrix.ScaleToFit START;
Dsystem-current.txt11771 … setRectToRect(android.graphics.RectF, android.graphics.RectF, android.graphics.Matrix.ScaleToFit);
11794 public static final class Matrix.ScaleToFit extends java.lang.Enum {
11795 method public static android.graphics.Matrix.ScaleToFit valueOf(java.lang.String);
11796 method public static final android.graphics.Matrix.ScaleToFit[] values();
11797 enum_constant public static final android.graphics.Matrix.ScaleToFit CENTER;
11798 enum_constant public static final android.graphics.Matrix.ScaleToFit END;
11799 enum_constant public static final android.graphics.Matrix.ScaleToFit FILL;
11800 enum_constant public static final android.graphics.Matrix.ScaleToFit START;
/frameworks/base/docs/html/
Dsitemap.txt2690 http://developer.android.com/reference/android/graphics/Matrix.ScaleToFit.html