Home
last modified time | relevance | path

Searched refs:mCropRect (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/media/
DImage.java335 private Rect mCropRect; field in Image
346 if (mCropRect == null) { in getCropRect()
349 return new Rect(mCropRect); // return a copy in getCropRect()
368 mCropRect = cropRect; in setCropRect()
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp119 if (mCropRect) { in setTargetSize()
120 if (mCropRect->right() > width || mCropRect->bottom() > height) { in setTargetSize()
145 mCropRect.reset(); in setCropRect()
159 mCropRect.emplace(*crop); in setCropRect()
210 SkISize size = mCropRect ? mCropRect->size() : mTargetSize; in getOutputInfo()
423 if (scale || handleOrigin || mCropRect) { in decode()
424 if (mCropRect) { in decode()
425 outputMatrix.setTranslate(-mCropRect->fLeft, -mCropRect->fTop); in decode()
482 if (scale || handleOrigin || mCropRect) { in decode()
533 if (mCropRect) { in extractGainmap()
[all …]
DImageDecoder.h119 std::optional<SkIRect> mCropRect; variable
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCropFilter.java36 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f); field in CropFilter
92 int[] croppedDims = { (int)Math.ceil(mCropRect.xEdge().length() * inDims[0]), in onProcess()
93 (int)Math.ceil(mCropRect.yEdge().length() * inDims[1]) }; in onProcess()
108 mShader.setSourceQuad(mCropRect); in onProcess()
116 sourceQuad = mCropRect; in onProcess()
124 Quad sourceQuad = mCropRect.scale2(inDims[0], inDims[1]); in onProcess()
DStatsFilter.java49 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f); field in StatsFilter
100 calcMeanAndStd(pixelBuffer, inputFrame.getWidth(), inputFrame.getHeight(), mCropRect); in onProcess()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java123 private Rect mCropRect = new Rect(); field in PhotoView
630 final int cropWidth = mCropRect.right - mCropRect.left; in getCroppedPhoto()
636 matrix.postTranslate(-mCropRect.left, -mCropRect.top); in getCroppedPhoto()
708 canvas.clipRect(mCropRect); in onDraw()
716 canvas.drawRect(mCropRect, sCropPaint); in onDraw()
737 mCropRect.set(cropLeft, cropTop, cropRight, cropBottom); in onLayout()
851 mTempDst.set(mCropRect); in generateMatrix()
994 final float maxLeft = mAllowCrop ? mCropRect.left : 0.0f; in translate()
995 final float maxRight = mAllowCrop ? mCropRect.right : getWidth(); in translate()
1013 float maxTop = mAllowCrop ? mCropRect.top: 0.0f; in translate()
[all …]
/frameworks/native/libs/nativedisplay/include/surfacetexture/
DEGLConsumer.h210 Rect mCropRect; variable
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java840 private Rect mCropRect; field in ImageDecoder
1421 mCropRect = subset; in setCrop()
1429 return mCropRect; in getCrop()
1624 checkSubset(mDesiredWidth, mDesiredHeight, mCropRect); in checkState()
1675 mDesiredWidth, mDesiredHeight, mCropRect, in decodeBitmapInternal()
1776 src.computeDstDensity(), decoder.mCropRect, in decodeDrawableImpl()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h348 Rect mCropRect; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt17869 Landroid/graphics/ImageDecoder;->mCropRect:Landroid/graphics/Rect;
26253 Landroid/media/Image;->mCropRect:Landroid/graphics/Rect;