Home
last modified time | relevance | path

Searched refs:mCropRectangle (Results 1 – 1 of 1) sorted by relevance

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java51 private final Rect mCropRectangle; field in AndroidCamera2Settings
91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height()); in AndroidCamera2Settings()
143 mCropRectangle = new Rect(other.mCropRectangle); in AndroidCamera2Settings()
190 mCropRectangle.set(0, 0, in setZoomRatio()
195 mCropRectangle.offsetTo((mActiveArray.width() - mCropRectangle.width()) / 2, in setZoomRatio()
196 (mActiveArray.height() - mCropRectangle.height()) / 2); in setZoomRatio()
200 effectiveCropRectFromRequested(mCropRectangle, mCurrentPreviewSize); in setZoomRatio()
262 mRequestSettings.set(SCALER_CROP_REGION, mCropRectangle); in getRequestSettings()
307 int left = mCropRectangle.left + toIntConstrained( in legacyAreasToMeteringRectangles()
308 mCropRectangle.width() * oldLeft, 0, mCropRectangle.width() - 1); in legacyAreasToMeteringRectangles()
[all …]