Searched refs:mCropRect (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | Image.java | 246 private Rect mCropRect; field in class:Image 257 if (mCropRect == null) { 260 return new Rect(mCropRect); // return a copy 279 mCropRect = cropRect;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | CropFilter.java | 36 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f); field in class:CropFilter 64 port.bindToFieldNamed("mCropRect"); 92 int[] croppedDims = { (int)Math.ceil(mCropRect.xEdge().length() * inDims[0]), 93 (int)Math.ceil(mCropRect.yEdge().length() * inDims[1]) }; 108 mShader.setSourceQuad(mCropRect); 116 sourceQuad = mCropRect; 124 Quad sourceQuad = mCropRect.scale2(inDims[0], inDims[1]);
|
H A D | StatsFilter.java | 49 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f); field in class:StatsFilter 76 port.bindToFieldNamed("mCropRect"); 100 calcMeanAndStd(pixelBuffer, inputFrame.getWidth(), inputFrame.getHeight(), mCropRect);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 123 private Rect mCropRect = new Rect(); field in class:PhotoView 630 final int cropWidth = mCropRect.right - mCropRect.left; 636 matrix.postTranslate(-mCropRect.left, -mCropRect.top); 708 canvas.clipRect(mCropRect); 716 canvas.drawRect(mCropRect, sCropPaint); 737 mCropRect.set(cropLeft, cropTop, cropRight, cropBottom); 851 mTempDst.set(mCropRect); 994 final float maxLeft = mAllowCrop ? mCropRect [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | ImageDecoder.java | 761 private Rect mCropRect; field in class:ImageDecoder 1300 mCropRect = subset; 1308 return mCropRect; 1566 checkSubset(mDesiredWidth, mDesiredHeight, mCropRect); 1608 mDesiredWidth, mDesiredHeight, mCropRect, 1679 src.computeDstDensity(), decoder.mCropRect,
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 1067 mCropRect(Rect::EMPTY_RECT) { 1085 bool cropInvalid = hasEglAndroidImageCrop() && mCropRect != cropRect; 1098 mCropRect = cropRect; 1099 mEglImage = createImage(mEglDisplay, mGraphicBuffer, mCropRect); 1105 mCropRect.makeInvalid();
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 342 // mCropRect is the crop rectangle passed to EGL when mEglImage 344 Rect mCropRect; member in class:android::GLConsumer::EglImage
|
/frameworks/native/libs/gui/include/gui/ |
H A D | GLConsumer.h | 342 // mCropRect is the crop rectangle passed to EGL when mEglImage 344 Rect mCropRect; member in class:android::GLConsumer::EglImage
|
Completed in 212 milliseconds