Home
last modified time | relevance | path

Searched refs:extractBoundsFromList (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java22 import static android.view.DisplayCutout.extractBoundsFromList;
88 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left()
96 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top()
104 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right()
112 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_bottom()
121 assertThat(extractBoundsFromList(safeInsets, in testExtractBoundsFromList_top_and_bottom()
129 assertThat(extractBoundsFromList(safeInsets, null /* boundingRects */), in testExtractBoundsFromList_nullBoundingRects()
135 assertThat(extractBoundsFromList(null /* safeInsets */, Collections.emptyList()), in testExtractBoundsFromList_nullSafeInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java526 new Bounds(extractBoundsFromList(safeInsets, boundingRects), true), null, null); in DisplayCutout()
606 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList() method in DisplayCutout