Searched refs:getSafeInsetTop (Results 1 – 16 of 16) sorted by relevance
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 96 || 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/ |
D | DisplayCutoutTest.java | 162 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()
|
D | InsetsStateTest.java | 486 assertEquals(1, cutout.getSafeInsetTop()); in testCalculateRelativeCutout()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | SystemBarUtils.java | 47 final int safeInsetTop = cutout == null ? 0 : cutout.getSafeInsetTop(); in getStatusBarHeight()
|
/frameworks/base/core/java/android/view/ |
D | InsetsState.java | 288 && insetTop >= raw.getSafeInsetTop() in calculateRelativeCutout() 556 if (cutout.getSafeInsetTop() > 0) { in getDisplayCutoutSafe() 557 outBounds.top = displayFrame.top + cutout.getSafeInsetTop(); in getDisplayCutoutSafe()
|
D | DisplayCutout.java | 606 public int getSafeInsetTop() { in getSafeInsetTop() method in DisplayCutout
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayoutTestCase.java | 93 when(mCutout.getSafeInsetTop()).thenReturn(mCutoutInsetSize); in setUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowConfigurationTests.java | 199 ? info.displayCutout.getSafeInsetTop() : 0; in testAppBounds_RootConfigurationBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 397 outInsets.top += displayCutout.getSafeInsetTop(); in computeNonDecorInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayView.java | 498 Math.max(cutout.getSafeInsetTop(), waterfall.top), in computeMargins()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 250 Math.max(headerPaddingTop, insets.getDisplayCutout().getSafeInsetTop()); in onApplyWindowInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 476 Math.max(cutout.getSafeInsetTop(), waterfall.top), in updateInsets()
|
/frameworks/base/config/ |
D | boot-profile.txt | 1008 Landroid/view/DisplayCutout;->getSafeInsetTop()I
|
D | boot-image-profile.txt | 16068 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 16005 HSPLandroid/view/DisplayCutout;->getSafeInsetTop()I
|
/frameworks/base/core/api/ |
D | current.txt | 47933 method public int getSafeInsetTop();
|