Lines Matching defs:mCropRectangle
51 private final Rect mCropRectangle;
91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height());
143 mCropRectangle = new Rect(other.mCropRectangle);
190 mCropRectangle.set(0, 0,
195 mCropRectangle.offsetTo((mActiveArray.width() - mCropRectangle.width()) / 2,
196 (mActiveArray.height() - mCropRectangle.height()) / 2);
200 effectiveCropRectFromRequested(mCropRectangle, mCurrentPreviewSize);
262 mRequestSettings.set(SCALER_CROP_REGION, mCropRectangle);
307 int left = mCropRectangle.left + toIntConstrained(
308 mCropRectangle.width() * oldLeft, 0, mCropRectangle.width() - 1);
309 int top = mCropRectangle.top + toIntConstrained(
310 mCropRectangle.height() * oldTop, 0, mCropRectangle.height() - 1);
311 int right = mCropRectangle.left + toIntConstrained(
312 mCropRectangle.width() * oldRight, 0, mCropRectangle.width() - 1);
313 int bottom = mCropRectangle.top + toIntConstrained(
314 mCropRectangle.height() * oldBottom, 0, mCropRectangle.height() - 1);