Home
last modified time | relevance | path

Searched refs:boundTop (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/
DDisplayCutout.java253 @Nullable Rect boundTop, @Nullable Rect boundRight, @Nullable Rect boundBottom) { in DisplayCutout() argument
254 this(safeInsets.toRect(), boundLeft, boundTop, boundRight, boundBottom, true); in DisplayCutout()
284 private DisplayCutout(Rect safeInsets, Rect boundLeft, Rect boundTop, Rect boundRight, in DisplayCutout() argument
287 mBounds = new Bounds(boundLeft, boundTop, boundRight, boundBottom, copyArguments); in DisplayCutout()
681 Rect boundTop = new Rect(); in pathAndDisplayCutoutFromSpec() local
682 toRectAndAddToRegion(p, r, boundTop); in pathAndDisplayCutoutFromSpec()
683 final int topInset = boundTop.bottom; in pathAndDisplayCutoutFromSpec()
708 safeInset, null /* boundLeft */, boundTop, null /* boundRight */, boundBottom, in pathAndDisplayCutoutFromSpec()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java108 Rect boundTop = new Rect(80, 0, 120, 10); in testExtractBoundsFromList_top_and_bottom() local
111 Arrays.asList(new Rect[]{boundTop, boundBottom})), in testExtractBoundsFromList_top_and_bottom()
112 equalTo(new Rect[]{ZERO_RECT, boundTop, ZERO_RECT, boundBottom})); in testExtractBoundsFromList_top_and_bottom()
361 Rect boundTop = new Rect(50, 0, 75, 100); in createCutoutWithInsets() local
363 safeInset, null /* boundLeft */, boundTop, null /* boundRight */, in createCutoutWithInsets()
/frameworks/base/core/java/android/widget/
DAbsListView.java7638 final int boundTop = boundChild.getTop();
7645 } else if (scrollBy > 0 && boundTop - absScroll < paddedTop) {
7647 scrollBy = Math.min(0, boundTop - paddedTop);