Home
last modified time | relevance | path

Searched refs:getSafeInsetTop (Results 1 – 16 of 16) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java96 || displayCutout.getSafeInsetTop() > 0; in hasCutout()
118 bounds.op(0, 0, Integer.MAX_VALUE, displayCutout.getSafeInsetTop(), in boundsFromDirection()
128 bounds.op(0, displayCutout.getSafeInsetTop() + 1, Integer.MAX_VALUE, in boundsFromDirection()
147 } else if (displayCutout.getSafeInsetTop() > 0) { in localBounds()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java162 assertEquals(6, mCutoutNumbers.getSafeInsetTop()); in testGetSafeInsets()
259 assertEquals(0, cutout.getSafeInsetTop()); in inset_insets_withLeftCutout()
269 assertEquals(98, cutout.getSafeInsetTop()); in inset_insets_withTopCutout()
279 assertEquals(0, cutout.getSafeInsetTop()); in inset_insets_withRightCutout()
289 assertEquals(cutout.getSafeInsetTop(), 0); in inset_insets_withBottomCutout()
299 assertEquals(cutout.getSafeInsetTop(), 8); in inset_insets_withWaterfallCutout()
309 assertEquals(cutout.getSafeInsetTop(), 0); in inset_insets_consumeInset()
DInsetsStateTest.java486 assertEquals(1, cutout.getSafeInsetTop()); in testCalculateRelativeCutout()
/frameworks/base/core/java/com/android/internal/policy/
DSystemBarUtils.java47 final int safeInsetTop = cutout == null ? 0 : cutout.getSafeInsetTop(); in getStatusBarHeight()
/frameworks/base/core/java/android/view/
DInsetsState.java288 && insetTop >= raw.getSafeInsetTop() in calculateRelativeCutout()
556 if (cutout.getSafeInsetTop() > 0) { in getDisplayCutoutSafe()
557 outBounds.top = displayFrame.top + cutout.getSafeInsetTop(); in getDisplayCutoutSafe()
DDisplayCutout.java606 public int getSafeInsetTop() { in getSafeInsetTop() method in DisplayCutout
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java93 when(mCutout.getSafeInsetTop()).thenReturn(mCutoutInsetSize); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java199 ? info.displayCutout.getSafeInsetTop() : 0; in testAppBounds_RootConfigurationBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java397 outInsets.top += displayCutout.getSafeInsetTop(); in computeNonDecorInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java498 Math.max(cutout.getSafeInsetTop(), waterfall.top), in computeMargins()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java250 Math.max(headerPaddingTop, insets.getDisplayCutout().getSafeInsetTop()); in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java476 Math.max(cutout.getSafeInsetTop(), waterfall.top), in updateInsets()
/frameworks/base/config/
Dboot-profile.txt1008 Landroid/view/DisplayCutout;->getSafeInsetTop()I
Dboot-image-profile.txt16068 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
/frameworks/base/boot/
Dboot-image-profile.txt16005 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
/frameworks/base/core/api/
Dcurrent.txt47933 method public int getSafeInsetTop();