Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java87 equalTo(new Rect[]{bound, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_left()
95 equalTo(new Rect[]{ZERO_RECT, bound, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_top()
103 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, bound, ZERO_RECT})); in testExtractBoundsFromList_right()
111 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, ZERO_RECT, bound})); in testExtractBoundsFromList_bottom()
128 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_nullBoundingRects()
134 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_nullSafeInsets()
508 ZERO_RECT, new Rect(50, 0, 75, 100), ZERO_RECT, ZERO_RECT, in testGetRotatedBounds_top_rot0()
511 ZERO_RECT, new Rect(50, 0, 75, 100), ZERO_RECT, ZERO_RECT, in testGetRotatedBounds_top_rot0()
524 ZERO_RECT, new Rect(50, 0, 75, 100), ZERO_RECT, ZERO_RECT, in testGetRotatedBounds_top_rot90()
534 ZERO_RECT, ZERO_RECT, ZERO_RECT, in testGetRotatedBounds_top_rot180()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DWmDisplayCutoutTest.java48 private static final Rect ZERO_RECT = new Rect(); field in WmDisplayCutoutTest
154 new Rect[] {ZERO_RECT, ZERO_RECT, ZERO_RECT, ZERO_RECT}, in computeSafeInsets_waterfall()
165 new Rect[] {ZERO_RECT, new Rect(80, 0, 120, 30), ZERO_RECT, ZERO_RECT}, in computeSafeInsets_cutoutTop_greaterThan_waterfallTop()
176 new Rect[] {ZERO_RECT, new Rect(80, 0, 120, 30), ZERO_RECT, ZERO_RECT}, in computeSafeInsets_cutoutTop_lessThan_waterfallTop()
187 new Rect[] {new Rect(0, 180, 30, 220), ZERO_RECT, ZERO_RECT, ZERO_RECT}, in computeSafeInsets_cutoutLeft_greaterThan_waterfallLeft()
198 new Rect[] {new Rect(0, 180, 30, 220), ZERO_RECT, ZERO_RECT, ZERO_RECT}, in computeSafeInsets_cutoutLeft_lessThan_waterfallLeft()
209 new Rect[] {ZERO_RECT, ZERO_RECT, ZERO_RECT, new Rect(80, 370, 120, 400)}, in computeSafeInsets_cutoutBottom_greaterThan_waterfallBottom()
220 new Rect[] {ZERO_RECT, ZERO_RECT, ZERO_RECT, new Rect(80, 370, 120, 400)}, in computeSafeInsets_cutoutBottom_lessThan_waterfallBottom()
231 new Rect[] {ZERO_RECT, ZERO_RECT, new Rect(170, 180, 200, 220), ZERO_RECT}, in computeSafeInsets_cutoutRight_greaterThan_waterfallRight()
242 new Rect[] {ZERO_RECT, ZERO_RECT, new Rect(170, 180, 200, 220), ZERO_RECT}, in computeSafeInsets_cutoutRight_lessThan_waterfallRight()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java79 private static final Rect ZERO_RECT = new Rect(); field in DisplayCutout
92 ZERO_RECT, Insets.NONE, ZERO_RECT, ZERO_RECT, ZERO_RECT, ZERO_RECT, EMPTY_PARSER_INFO,
525 return ZERO_RECT; in getCopyOrRef()
557 sortedBounds[i] = ZERO_RECT; in extractBoundsFromList()
599 return mSafeInsets.equals(ZERO_RECT); in isEmpty()
864 if (!bounds[i].equals(ZERO_RECT)) { in inset()
922 return new DisplayCutout(ZERO_RECT, Insets.NONE, bounds, null, false /* copyArguments */); in fromBoundingRect()
932 return new DisplayCutout(ZERO_RECT, waterfallInsets, bounds, info, in constructDisplayCutout()
942 return new DisplayCutout(ZERO_RECT, Insets.NONE, bounds, null /* cutoutPathParserInfo */, in fromBounds()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt59791 Landroid/view/DisplayCutout;->ZERO_RECT:Landroid/graphics/Rect;