Searched refs:mCropRect (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | Image.java | 212 private Rect mCropRect; field in Image 223 if (mCropRect == null) { in getCropRect() 226 return new Rect(mCropRect); // return a copy in getCropRect() 245 mCropRect = cropRect; in setCropRect()
|
/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/gui/ |
D | GLConsumer.cpp | 1159 mCropRect(Rect::EMPTY_RECT) { in EglImage() 1177 bool cropInvalid = hasEglAndroidImageCrop() && mCropRect != cropRect; in createIfNeeded() 1190 mCropRect = cropRect; in createIfNeeded() 1191 mEglImage = createImage(mEglDisplay, mGraphicBuffer, mCropRect); in createIfNeeded() 1197 mCropRect.makeInvalid(); in createIfNeeded()
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 345 Rect mCropRect; variable
|