Searched refs:mCropRect (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | Image.java | 335 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/ |
D | ImageDecoder.cpp | 119 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 …]
|
D | ImageDecoder.h | 119 std::optional<SkIRect> mCropRect; variable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CropFilter.java | 36 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()
|
D | StatsFilter.java | 49 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/ |
D | PhotoView.java | 123 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/ |
D | EGLConsumer.h | 210 Rect mCropRect; variable
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 840 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/ |
D | GLConsumer.h | 348 Rect mCropRect; variable
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 17869 Landroid/graphics/ImageDecoder;->mCropRect:Landroid/graphics/Rect; 26253 Landroid/media/Image;->mCropRect:Landroid/graphics/Rect;
|