Searched refs:rectF (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 97 private final RectF rectF; field in DotsPageIndicator 162 rectF = new RectF(); in DotsPageIndicator() 417 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath() 418 unselectedDotLeftPath.arcTo(rectF, 90, 180, true); in getUnselectedPath() 448 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath() 449 unselectedDotRightPath.arcTo(rectF, 90, -180, true); in getUnselectedPath() 479 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath() 480 unselectedDotPath.arcTo(rectF, 90, 180, true); in getUnselectedPath() 501 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath() 502 unselectedDotPath.arcTo(rectF, 270, 180, true); in getUnselectedPath() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 498 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight); in calculateTapArea() local 499 mMatrix.mapRect(rectF); in calculateTapArea() 500 rectFToRect(rectF, rect); in calculateTapArea() 583 public static void rectFToRect(RectF rectF, Rect rect) { in rectFToRect() argument 584 rect.left = Math.round(rectF.left); in rectFToRect() 585 rect.top = Math.round(rectF.top); in rectFToRect() 586 rect.right = Math.round(rectF.right); in rectFToRect() 587 rect.bottom = Math.round(rectF.bottom); in rectFToRect()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 569 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()
|
D | FocusManager.java | 454 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/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 713 public static void inlineRectToRectF(RectF rectF, Rect rect) { in inlineRectToRectF() argument 714 rect.left = Math.round(rectF.left); in inlineRectToRectF() 715 rect.top = Math.round(rectF.top); in inlineRectToRectF() 716 rect.right = Math.round(rectF.right); in inlineRectToRectF() 717 rect.bottom = Math.round(rectF.bottom); in inlineRectToRectF() 720 public static Rect rectFToRect(RectF rectF) { in rectFToRect() argument 722 inlineRectToRectF(rectF, rect); in rectFToRect()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | FocusOverlayManager.java | 554 RectF rectF = new RectF(left, top, left + size, top + size); in computeCameraRectFromPreviewCoordinates() local 555 return CameraUtil.rectFToRect(mCoordinateTransformer.toCameraSpace(rectF)); in computeCameraRectFromPreviewCoordinates()
|