Lines Matching refs:mPreviewRect
107 private final Rect mPreviewRect = new Rect(0, 0, 0, 0); field in FocusOverlayManager
187 if (!mPreviewRect.equals(previewRect)) { in setPreviewRect()
188 mPreviewRect.set(previewRect); in setPreviewRect()
189 mFocusRing.configurePreviewDimensions(CameraUtil.rectToRectF(mPreviewRect)); in setPreviewRect()
211 if (mPreviewRect.width() > 0 && mPreviewRect.height() > 0) { in resetCoordinateTransformer()
213 CameraUtil.rectToRectF(mPreviewRect)); in resetCoordinateTransformer()
332 return (int) (Math.min(mPreviewRect.width(), mPreviewRect.height()) * AF_REGION_BOX); in getAFRegionSizePx()
337 return (int) (Math.min(mPreviewRect.width(), mPreviewRect.height()) * AE_REGION_BOX); in getAERegionSizePx()
370 if (mPreviewRect.width() == 0 || mPreviewRect.height() == 0) { in onSingleTapUp()
387 mTouchCoordinate = new TouchCoordinate(x, y, mPreviewRect.width(), mPreviewRect.height()); in onSingleTapUp()
549 int left = CameraUtil.clamp(x - size / 2, mPreviewRect.left, in computeCameraRectFromPreviewCoordinates()
550 mPreviewRect.right - size); in computeCameraRectFromPreviewCoordinates()
551 int top = CameraUtil.clamp(y - size / 2, mPreviewRect.top, in computeCameraRectFromPreviewCoordinates()
552 mPreviewRect.bottom - size); in computeCameraRectFromPreviewCoordinates()