Home
last modified time | relevance | path

Searched refs:getSafeInsetTop (Results 1 – 18 of 18) 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.java137 assertEquals(6, mCutoutNumbers.getSafeInsetTop()); in testGetSafeInsets()
174 assertEquals(0, cutout.getSafeInsetTop()); in inset_insets_withLeftCutout()
184 assertEquals(98, cutout.getSafeInsetTop()); in inset_insets_withTopCutout()
194 assertEquals(0, cutout.getSafeInsetTop()); in inset_insets_withRightCutout()
204 assertEquals(cutout.getSafeInsetTop(), 0); in inset_insets_withBottomCutout()
214 assertEquals(cutout.getSafeInsetTop(), 0); in inset_insets_consumeInset()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java180 if (c.getSafeInsetTop() > 0) { in onBeginLayout()
181 mDisplayCutoutSafe.top = mRestrictedOverscan.top + c.getSafeInsetTop(); in onBeginLayout()
DDisplayPolicy.java2888 height -= displayCutout.getSafeInsetTop() + displayCutout.getSafeInsetBottom(); in getNonDecorDisplayHeight()
2920 statusBarHeight = Math.max(0, statusBarHeight - displayCutout.getSafeInsetTop()); in getConfigDisplayHeight()
2997 outInsets.top += displayCutout.getSafeInsetTop(); in getNonDecorInsetsLw()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java93 && frame.top >= mInner.getSafeInsetTop() in calculateRelativeTo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java175 ? info.displayCutout.getSafeInsetTop() : 0; in testAppBounds_RootConfigurationBounds()
DWindowFrameTests.java445 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetTop(), 50); in testDisplayCutout()
472 assertEquals(w.getWmDisplayCutout().getDisplayCutout().getSafeInsetTop(), 50); in testDisplayCutout_tempDisplayedBounds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java93 when(mCutout.getSafeInsetTop()).thenReturn(mCutoutInsetSize); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java365 ? insets.getDisplayCutout().getSafeInsetTop() in getExpandedY()
DStackAnimationController.java464 ? insets.getDisplayCutout().getSafeInsetTop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java821 mCutoutHeight = displayCutout == null || displayCutout.getSafeInsetTop() < 0
822 ? 0 : displayCutout.getSafeInsetTop();
/frameworks/base/core/java/android/view/
DDisplayCutout.java361 public int getSafeInsetTop() { in getSafeInsetTop() method in DisplayCutout
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java1117 || displayCutout.getSafeInsetTop() > 0; in hasCutout()
1175 } else if (displayCutout.getSafeInsetTop() > 0) { in getGravity()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java231 mHeaderPaddingTop = insets.getDisplayCutout().getSafeInsetTop(); in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleStackView.java1532 ? insets.getDisplayCutout().getSafeInsetTop() in getStatusBarHeight()
/frameworks/base/config/
Dboot-image-profile.txt16121 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
/frameworks/base/non-updatable-api/
Dcurrent.txt50022 method public int getSafeInsetTop();
/frameworks/base/api/
Dcurrent.txt50166 method public int getSafeInsetTop();