Searched defs:mCropRect (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
H A DImage.java126 private Rect mCropRect; field in class:Image
135 if (mCropRect == null) {
138 return new Rect(mCropRect); // return a copy
153 mCropRect = cropRect;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCropFilter.java37 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f); field in class:CropFilter
65 port.bindToFieldNamed("mCropRect");
93 int[] croppedDims = { (int)FloatMath.ceil(mCropRect.xEdge().length() * inDims[0]),
94 (int)FloatMath.ceil(mCropRect.yEdge().length() * inDims[1]) };
109 mShader.setSourceQuad(mCropRect);
117 sourceQuad = mCropRect;
125 Quad sourceQuad = mCropRect.scale2(inDims[0], inDims[1]);
H A DStatsFilter.java49 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/native/include/gui/
H A DGLConsumer.h325 // mCropRect is the crop rectangle passed to EGL when mEglImage
327 Rect mCropRect; member in class:android::GLConsumer::EglImage
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java121 private Rect mCropRect = new Rect(); field in class:PhotoView
659 final int cropWidth = mCropRect.right - mCropRect.left;
665 matrix.postTranslate(-mCropRect.left, -mCropRect.top);
737 canvas.clipRect(mCropRect);
745 canvas.drawRect(mCropRect, sCropPaint);
766 mCropRect.set(cropLeft, cropTop, cropRight, cropBottom);
880 mTempDst.set(mCropRect);
976 final float maxLeft = mAllowCrop ? mCropRect
[all...]

Completed in 96 milliseconds