Home
last modified time | relevance | path

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

/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/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/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/Launcher3/quickstep/src/com/android/quickstep/
DImageActionsApi.java128 public void shareImage(RectF rectF, ShortcutInfo shortcutInfo, AppTarget appTarget) { in shareImage() argument
129 ImageActionUtils.shareImage(mContext, mBitmapSupplier, rectF, shortcutInfo, appTarget, TAG); in shareImage()
DOrientationTouchTransformer.java409 OrientationRectF rectF = mSwipeTouchRegions.get(key); in dump() local
410 regions.append(rectF).append(" "); in dump()
/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/util/
DCameraUtil.java718 public static void inlineRectToRectF(RectF rectF, Rect rect) { in inlineRectToRectF() argument
719 rect.left = Math.round(rectF.left); in inlineRectToRectF()
720 rect.top = Math.round(rectF.top); in inlineRectToRectF()
721 rect.right = Math.round(rectF.right); in inlineRectToRectF()
722 rect.bottom = Math.round(rectF.bottom); in inlineRectToRectF()
725 public static Rect rectFToRect(RectF rectF) { in rectFToRect() argument
727 inlineRectToRectF(rectF, rect); in rectFToRect()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DImageActionUtils.java96 public static void shareImage(Context context, Supplier<Bitmap> bitmapSupplier, RectF rectF, in shareImage() argument
104 rectF.round(crop); in shareImage()
/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()