Home
last modified time | relevance | path

Searched refs:setRectToRect (Results 1 – 25 of 40) sorted by relevance

12

/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DTextureViewHelper.java219 addtionalTransform.setRectToRect(previewRect, previewAreaBasedOnAspectRatio,
276 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL);
294 transform.setRectToRect(rotatedRect, desiredBounds, Matrix.ScaleToFit.FILL);
298 transform.setRectToRect(normalRect, desiredBounds, Matrix.ScaleToFit.FILL);
302 transform.setRectToRect(rotatedRect, desiredBounds, Matrix.ScaleToFit.FILL);
307 transform.setRectToRect(normalRect, desiredBounds, Matrix.ScaleToFit.FILL);
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
H A DPipSurfaceTransactionHelper.java51 mTmpTransform.setRectToRect(mTmpSourceRectF, mTmpDestinationRectF, Matrix.ScaleToFit.FILL); in scale()
67 mTmpTransform.setRectToRect(mTmpSourceRectF, mTmpDestinationRectF, Matrix.ScaleToFit.FILL); in scale()
/aosp12/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraDeviceInfo.java189 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL); in getPreviewTransform()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/focus/
H A DCameraCoordinateTransformer.java90 fill.setRectToRect(CAMERA_DRIVER_RECT, in cameraToPreviewTransform()
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
H A DInputStreamProvider.java192 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); in readCroppedBitmap()
201 m4.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); in readCroppedBitmap()
/aosp12/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_Matrix.cpp84 static jboolean setRectToRect(JNIEnv* env, jobject clazz, in setRectToRect() function in android::SkMatrixGlue
92 return matrix->setRectToRect(src_, dst_, stf) ? JNI_TRUE : JNI_FALSE; in setRectToRect()
339 (void*) SkMatrixGlue::setRectToRect},
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java170 return m.setRectToRect(imageBounds, displayBounds, Matrix.ScaleToFit.CENTER); in setBitmapToDisplayMatrix()
181 boolean rToR = dst.setRectToRect(rotatedImage, screen, Matrix.ScaleToFit.CENTER); in setImageToScreenMatrix()
H A DCropMath.java220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); in getScaledCropBounds()
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
H A DAvatarUtil.java204 matrix.setRectToRect(smallCircleRect, avatarDestOnGroup, Matrix.ScaleToFit.FILL); in createGroupAvatarBitmap()
235 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.CENTER); in drawBitmapWithCircleOnCanvas()
/aosp12/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DPreviewTransformCalculator.java71 transformMatrix.setRectToRect( in toTransformMatrix()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DCompositeImageRequest.java88 matrix.setRectToRect(smallCircleRect, avatarDestOnGroup, in loadMediaInternal()
H A DAvatarRequest.java149 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL); in renderDefaultAvatar()
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java103 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL); in drawBitmapWithCircleOnCanvas()
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DBitmapUtils.java159 matrix.setRectToRect(srcR, dstR, Matrix.ScaleToFit.CENTER); in fromDrawable()
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java211 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
569 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() method in Matrix
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipSurfaceTransactionHelper.java91 mTmpTransform.setRectToRect(mTmpSourceRectF, mTmpDestinationRectF, Matrix.ScaleToFit.FILL); in scale()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DIconView.java206 m.setRectToRect(new RectF(0, 0, mBitmap.getWidth(), mBitmap.getHeight()), in onDraw()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DZoomView.java100 mapping.setRectToRect(endRect, fullResRect, Matrix.ScaleToFit.CENTER); in doInBackground()
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java736 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
745 m4.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DSwipeUpAnimationLogic.java336 mMatrix.setRectToRect(mCropRectF, mWindowCurrentRect, ScaleToFit.FILL); in onUpdate()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java423 mIconMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in onBoundsChange()
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java861 mMatrix.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER); in generateMatrix()
863 mMatrix.setRectToRect(mTempSrc, mTempDst, Matrix.ScaleToFit.CENTER); in generateMatrix()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPhonePipMenuController.java334 mMoveTransform.setRectToRect(mTmpSourceRectF, mTmpDestinationRectF, Matrix.ScaleToFit.FILL); in movePipMenu()
/aosp12/packages/apps/Camera2/src/com/android/camera/widget/
H A DRoundedThumbnailView.java679 shaderMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in precomputeThumbnailPaint()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DEditUserPhotoController.java357 matrix.setRectToRect(rectSource, rectDest, Matrix.ScaleToFit.CENTER); in onPhotoNotCropped()

12