Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/focus/
DCameraCoordinateTransformer.java41 RectF previewRect) { in CameraCoordinateTransformer() argument
42 if (!hasNonZeroArea(previewRect)) { in CameraCoordinateTransformer()
47 previewRect); in CameraCoordinateTransformer()
78 RectF previewRect) { in cameraToPreviewTransform() argument
91 previewRect, in cameraToPreviewTransform()
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java201 RectF previewRect = new RectF(0, 0, mWidth, mHeight);
202 matrix.mapRect(previewRect);
204 float previewWidth = previewRect.width();
205 float previewHeight = previewRect.height();
218 addtionalTransform.setRectToRect(previewRect, previewAreaBasedOnAspectRatio,
DFocusOverlayManager.java186 public void setPreviewRect(Rect previewRect) { in setPreviewRect() argument
187 if (!mPreviewRect.equals(previewRect)) { in setPreviewRect()
188 mPreviewRect.set(previewRect); in setPreviewRect()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java359 RectF previewRect = mResourceCaptureTools.get().getModuleUI().getPreviewRect(); in registerEventHandlers()
365 points[0] = (tapPoint.x - previewRect.left) / previewRect.width(); in registerEventHandlers()
366 points[1] = (tapPoint.y - previewRect.top) / previewRect.height(); in registerEventHandlers()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinItemDragListener.java52 public PinItemDragListener(PinItemRequest request, Rect previewRect, in PinItemDragListener() argument
54 super(previewRect, previewBitmapWidth, previewViewWidth); in PinItemDragListener()
DBaseItemDragListener.java69 public BaseItemDragListener(Rect previewRect, int previewBitmapWidth, int previewViewWidth) { in BaseItemDragListener() argument
70 mPreviewRect = previewRect; in BaseItemDragListener()