HomeSort by relevance Sort by last modified time
    Searched defs:mCropRect (Results 1 - 8 of 8) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
CodecImage.java 120 private Rect mCropRect;
129 if (mCropRect == null) {
132 return new Rect(mCropRect); // return a copy
147 mCropRect = cropRect;
  /frameworks/base/media/java/android/media/
Image.java 212 private Rect mCropRect;
223 if (mCropRect == null) {
226 return new Rect(mCropRect); // return a copy
245 mCropRect = cropRect;
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
StatsFilter.java 49 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f);
76 port.bindToFieldNamed("mCropRect");
100 calcMeanAndStd(pixelBuffer, inputFrame.getWidth(), inputFrame.getHeight(), mCropRect);
CropFilter.java 36 private Quad mCropRect = Quad.fromRect(0f, 0f, 1f, 1f);
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]);
  /packages/apps/Gallery/src/com/android/camera/
HighlightView.java 248 moveBy(dx * (mCropRect.width() / r.width()),
249 dy * (mCropRect.height() / r.height()));
260 float xDelta = dx * (mCropRect.width() / r.width());
261 float yDelta = dy * (mCropRect.height() / r.height());
271 mCropRect.offset(dx, dy);
274 mCropRect.offset(
275 Math.max(0, mImageRect.left - mCropRect.left),
276 Math.max(0, mImageRect.top - mCropRect.top));
278 mCropRect.offset(
279 Math.min(0, mImageRect.right - mCropRect.right)
    [all...]
  /frameworks/native/include/gui/
GLConsumer.h 343 // mCropRect is the crop rectangle passed to EGL when mEglImage
345 Rect mCropRect;
  /packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
AndroidImageProxy.java 95 private Rect mCropRect;
130 mCropRect = mImage.getCropRect();
133 return mCropRect;
135 return mCropRect;
145 mCropRect = cropRect;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 123 private Rect mCropRect = new Rect();
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);
    [all...]

Completed in 269 milliseconds