Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java737 public static void rectFToRect(RectF rectF, Rect rect) { in rectFToRect() argument
738 rect.left = Math.round(rectF.left); in rectFToRect()
739 rect.top = Math.round(rectF.top); in rectFToRect()
740 rect.right = Math.round(rectF.right); in rectFToRect()
741 rect.bottom = Math.round(rectF.bottom); in rectFToRect()
744 public static Rect rectFToRect(RectF rectF) { in rectFToRect() argument
746 rectFToRect(rectF, rect); in rectFToRect()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java569 public static void rectFToRect(RectF rectF, Rect rect) { in rectFToRect() argument
570 rect.left = Math.round(rectF.left); in rectFToRect()
571 rect.top = Math.round(rectF.top); in rectFToRect()
572 rect.right = Math.round(rectF.right); in rectFToRect()
573 rect.bottom = Math.round(rectF.bottom); in rectFToRect()
DFocusManager.java454 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight); in calculateTapArea() local
455 mMatrix.mapRect(rectF); in calculateTapArea()
456 Util.rectFToRect(rectF, rect); in calculateTapArea()
/packages/apps/Camera/src/com/android/camera/
DUtil.java634 public static void rectFToRect(RectF rectF, Rect rect) { in rectFToRect() argument
635 rect.left = Math.round(rectF.left); in rectFToRect()
636 rect.top = Math.round(rectF.top); in rectFToRect()
637 rect.right = Math.round(rectF.right); in rectFToRect()
638 rect.bottom = Math.round(rectF.bottom); in rectFToRect()
DFocusOverlayManager.java521 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight); in calculateTapArea() local
522 mMatrix.mapRect(rectF); in calculateTapArea()
523 Util.rectFToRect(rectF, rect); in calculateTapArea()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java621 RectF rectF = new RectF(left, top, left + size, top + size); in calculateTapArea() local
622 mMatrix.mapRect(rectF); in calculateTapArea()
623 CameraUtil.rectFToRect(rectF, rect); in calculateTapArea()