Searched refs:extractBoundsFromList (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DisplayCutoutTest.java | 20 import static android.view.DisplayCutout.extractBoundsFromList; 82 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left() 90 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top() 98 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right() 106 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_bottom() 115 assertThat(extractBoundsFromList(safeInsets, in testExtractBoundsFromList_top_and_bottom() 123 assertThat(extractBoundsFromList(safeInsets, null /* boundingRects */), in testExtractBoundsFromList_nullBoundingRects() 129 assertThat(extractBoundsFromList(null /* safeInsets */, Collections.emptyList()), in testExtractBoundsFromList_nullSafeInsets()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 412 this(safeInsets, Insets.NONE, extractBoundsFromList(safeInsets, boundingRects), null, in DisplayCutout() 490 public static Rect[] extractBoundsFromList(Rect safeInsets, List<Rect> boundingRects) { in extractBoundsFromList() method in DisplayCutout
|