Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DImage.java254 private Rect mCropRect; field in Image
265 if (mCropRect == null) { in getCropRect()
268 return new Rect(mCropRect); // return a copy in getCropRect()
287 mCropRect = cropRect; in setCropRect()
/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/base/graphics/java/android/graphics/
DImageDecoder.java793 private Rect mCropRect; field in ImageDecoder
1387 mCropRect = subset; in setCrop()
1395 return mCropRect; in getCrop()
1650 checkSubset(mDesiredWidth, mDesiredHeight, mCropRect); in checkState()
1698 mDesiredWidth, mDesiredHeight, mCropRect, in decodeBitmapInternal()
1772 src.computeDstDensity(), decoder.mCropRect, in decodeDrawableImpl()
/frameworks/base/libs/hwui/surfacetexture/
DEGLConsumer.h212 Rect mCropRect; variable
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h344 Rect mCropRect; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt20756 Landroid/graphics/ImageDecoder;->mCropRect:Landroid/graphics/Rect;
36382 Landroid/media/Image;->mCropRect:Landroid/graphics/Rect;