Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java82 Rect boundTop = null; in oldMethodParsingSpec() local
125 boundTop = new Rect(); in oldMethodParsingSpec()
126 toRectAndAddToRegion(p, r, boundTop); in oldMethodParsingSpec()
127 safeInset.top = boundTop.bottom; in oldMethodParsingSpec()
/frameworks/base/core/java/android/view/
DDisplayCutout.java403 @Nullable Rect boundTop, @Nullable Rect boundRight, @Nullable Rect boundBottom) { in DisplayCutout() argument
404 this(safeInsets.toRect(), Insets.NONE, boundLeft, boundTop, boundRight, boundBottom, null, in DisplayCutout()
429 @Nullable Rect boundTop, @Nullable Rect boundRight, @Nullable Rect boundBottom, in DisplayCutout() argument
431 this(safeInsets.toRect(), waterfallInsets, boundLeft, boundTop, boundRight, boundBottom, in DisplayCutout()
454 @Nullable Rect boundTop, @Nullable Rect boundRight, @Nullable Rect boundBottom, in DisplayCutout() argument
456 this(safeInsets.toRect(), waterfallInsets, boundLeft, boundTop, boundRight, boundBottom, in DisplayCutout()
497 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Rect boundLeft, Rect boundTop, in DisplayCutout() argument
502 mBounds = new Bounds(boundLeft, boundTop, boundRight, boundBottom, copyArguments); in DisplayCutout()
1121 final Rect boundTop = cutoutSpec.getTopBound(); in pathAndDisplayCutoutFromSpec() local
1139 safeInset, waterfallInsets, boundLeft, boundTop, boundRight, boundBottom, in pathAndDisplayCutoutFromSpec()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java117 Rect boundTop = new Rect(0, 0, 120, 10); in testExtractBoundsFromList_top_and_bottom() local
120 Arrays.asList(new Rect[]{boundTop, boundBottom})), in testExtractBoundsFromList_top_and_bottom()
121 equalTo(new Rect[]{ZERO_RECT, boundTop, ZERO_RECT, boundBottom})); in testExtractBoundsFromList_top_and_bottom()
578 Rect boundTop = new Rect(50, 0, 75, 100); in createCutoutWithInsets() local
580 safeInset, null /* boundLeft */, boundTop, null /* boundRight */, in createCutoutWithInsets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestDisplayContent.java156 Rect boundTop = top != 0 ? new Rect(0, 0, cutoutFillerSize, top) : null; in setCutout() local
165 boundLeft, boundTop, boundRight, boundBottom); in setCutout()
/frameworks/base/core/java/android/widget/
DAbsListView.java7867 final int boundTop = boundChild.getTop();
7874 } else if (scrollBy > 0 && boundTop - absScroll < paddedTop) {
7876 scrollBy = Math.min(0, boundTop - paddedTop);