Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java99 private final RectF rectF; field in DotsPageIndicator
164 rectF = new RectF(); in DotsPageIndicator()
419 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath()
420 unselectedDotLeftPath.arcTo(rectF, 90, 180, true); in getUnselectedPath()
450 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath()
451 unselectedDotRightPath.arcTo(rectF, 90, -180, true); in getUnselectedPath()
481 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath()
482 unselectedDotPath.arcTo(rectF, 90, 180, true); in getUnselectedPath()
503 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath()
504 unselectedDotPath.arcTo(rectF, 270, 180, true); in getUnselectedPath()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java99 private final RectF rectF; field in DotsPageIndicator
164 rectF = new RectF(); in DotsPageIndicator()
419 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath()
420 unselectedDotLeftPath.arcTo(rectF, 90, 180, true); in getUnselectedPath()
450 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath()
451 unselectedDotRightPath.arcTo(rectF, 90, -180, true); in getUnselectedPath()
481 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY); in getUnselectedPath()
482 unselectedDotPath.arcTo(rectF, 90, 180, true); in getUnselectedPath()
503 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY); in getUnselectedPath()
504 unselectedDotPath.arcTo(rectF, 270, 180, true); in getUnselectedPath()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java424 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight); in calculateTapArea() local
425 matrix.mapRect(rectF); in calculateTapArea()
426 rectFToRect(rectF, rect); in calculateTapArea()
470 private void rectFToRect(RectF rectF, Rect rect) { in rectFToRect() argument
471 rect.left = Math.round(rectF.left); in rectFToRect()
472 rect.top = Math.round(rectF.top); in rectFToRect()
473 rect.right = Math.round(rectF.right); in rectFToRect()
474 rect.bottom = Math.round(rectF.bottom); in rectFToRect()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java498 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/Camera2/src/com/android/camera/util/
DCameraUtil.java713 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/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/Camera2/src/com/android/camera/
DFocusOverlayManager.java554 RectF rectF = new RectF(left, top, left + size, top + size); in computeCameraRectFromPreviewCoordinates() local
555 return CameraUtil.rectFToRect(mCoordinateTransformer.toCameraSpace(rectF)); in computeCameraRectFromPreviewCoordinates()