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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBitmapHelper.java49 m.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.CENTER);
/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.java823 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.java592 * Scale the image using {@link Matrix.ScaleToFit#FILL}.
597 * Scale the image using {@link Matrix.ScaleToFit#START}.
602 * Scale the image using {@link Matrix.ScaleToFit#CENTER}.
608 * Scale the image using {@link Matrix.ScaleToFit#END}.
860 private static final Matrix.ScaleToFit[] sS2FArray = {
861 Matrix.ScaleToFit.FILL,
862 Matrix.ScaleToFit.START,
863 Matrix.ScaleToFit.CENTER,
864 Matrix.ScaleToFit.END
867 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/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewThumbnail.java162 mScaleMatrix.setRectToRect(mBitmapRect, mLayoutRect, Matrix.ScaleToFit.FILL);
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp200 SkMatrix::ScaleToFit stf = static_cast<SkMatrix::ScaleToFit>(stfHandle);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java740 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
749 m4.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java890 mMatrix.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER);
892 mMatrix.setRectToRect(mTempSrc, mTempDst, Matrix.ScaleToFit.CENTER);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java512 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);

Completed in 651 milliseconds