Home
last modified time | relevance | path

Searched refs:mPreviewRect (Results 1 – 5 of 5) 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
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()
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java60 private RectF mPreviewRect; field in CaptureIntentModuleUI
66 mPreviewRect = previewArea;
105 mPreviewRect = new RectF(0, 0, 0, 0); in CaptureIntentModuleUI()
112 return mPreviewRect; in getPreviewRect()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java54 private final Rect mPreviewRect; field in BaseItemDragListener
66 mPreviewRect = previewRect; in BaseItemDragListener()
126 createDragHelper().startDrag(new Rect(mPreviewRect), in onDragStart()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskThumbnailView.java93 private final Rect mPreviewRect = new Rect(); field in TaskThumbnailView
383 mPreviewRect.set(0, 0, mThumbnailData.thumbnail.getWidth(), in updateThumbnailMatrix()
388 mPreviewPositionHelper.updateThumbnailMatrix(mPreviewRect, mThumbnailData, in updateThumbnailMatrix()