Home
last modified time | relevance | path

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

/frameworks/opt/bitmap/src/com/android/bitmap/util/
DRectUtils.java60 final RectF rectF = new RectF(rect); in rotateRect() local
63 matrix.mapRect(rectF); in rotateRect()
64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom); in rotateRect()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java95 RectF rectF = new RectF(); in displayCutoutForRotation() local
97 rectF.set(0, DISPLAY_HEIGHT / 4, DISPLAY_CUTOUT_HEIGHT, DISPLAY_HEIGHT * 3 / 4); in displayCutoutForRotation()
99 rectF.set(DISPLAY_WIDTH / 4, 0, DISPLAY_WIDTH * 3 / 4, DISPLAY_CUTOUT_HEIGHT); in displayCutoutForRotation()
104 m.mapRect(rectF); in displayCutoutForRotation()
122 return DisplayCutout.fromBoundingRect((int) rectF.left, (int) rectF.top, in displayCutoutForRotation()
123 (int) rectF.right, (int) rectF.bottom, pos); in displayCutoutForRotation()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java90 RectF rectF = new RectF(rect); in mapRect() local
91 transform.mapRect(rectF); in mapRect()
92 return createRect(rectF); in mapRect()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java73 final RectF rectF = new RectF(); in toRectAndAddToRegion() local
74 p.computeBounds(rectF, false /* unused */); in toRectAndAddToRegion()
75 rectF.round(inoutRect); in toRectAndAddToRegion()