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.java20 import static android.view.DisplayCutout.extractBoundsFromList;
77 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left()
85 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top()
93 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right()
101 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_bottom()
110 assertThat(extractBoundsFromList(safeInsets, in testExtractBoundsFromList_top_and_bottom()
118 assertThat(extractBoundsFromList(safeInsets, null /* boundingRects */), in testExtractBoundsFromList_nullBoundingRects()
124 assertThat(extractBoundsFromList(null /* safeInsets */, Collections.emptyList()), in testExtractBoundsFromList_nullSafeInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java271 this(safeInsets, extractBoundsFromList(safeInsets, boundingRects), in DisplayCutout()
316 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList() method in DisplayCutout