Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DCaptureLayoutHelper.java64 public final RectF mPreviewRect = new RectF(); field in CaptureLayoutHelper.PositionConfiguration
143 return new RectF(mPositionConfiguration.mPreviewRect); in getPreviewRect()
174 mPositionConfiguration.mPreviewRect) || !mShowBottomBar) { in getUncoveredPreviewRect()
175 return mPositionConfiguration.mPreviewRect; in getUncoveredPreviewRect()
182 return new RectF(mPositionConfiguration.mPreviewRect.left, in getUncoveredPreviewRect()
184 mPositionConfiguration.mPreviewRect.right, in getUncoveredPreviewRect()
185 mPositionConfiguration.mPreviewRect.bottom); in getUncoveredPreviewRect()
187 return new RectF(mPositionConfiguration.mPreviewRect.left, in getUncoveredPreviewRect()
188 mPositionConfiguration.mPreviewRect.top, in getUncoveredPreviewRect()
189 mPositionConfiguration.mPreviewRect.right, in getUncoveredPreviewRect()
[all …]
DFocusOverlayManager.java107 private final Rect mPreviewRect = new Rect(0, 0, 0, 0); field in FocusOverlayManager
202 if (!mPreviewRect.equals(previewRect)) { in setPreviewRect()
203 mPreviewRect.set(previewRect); in setPreviewRect()
216 return new Rect(mPreviewRect); in getPreviewRect()
230 if (mPreviewRect.width() != 0 && mPreviewRect.height() != 0) { in setMatrix()
351 mUI.setFocusPosition(mPreviewRect.centerX(), mPreviewRect.centerY(), true, in onAutoFocusMoving()
362 return (int) (Math.min(mPreviewRect.width(), mPreviewRect.height()) * AF_REGION_BOX); in getAFRegionEdge()
367 return (int) (Math.min(mPreviewRect.width(), mPreviewRect.height()) * AE_REGION_BOX); in getAERegionEdge()
402 if (mPreviewRect.width() == 0 || mPreviewRect.height() == 0) { in onSingleTapUp()
418 mTouchCoordinate = new TouchCoordinate(x, y, mPreviewRect.width(), mPreviewRect.height()); in onSingleTapUp()
[all …]