Home
last modified time | relevance | path

Searched refs:displayCutout (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayCutoutTests.java134 final DisplayCutout displayCutout = in testConstructor() local
137 assertEquals(safeInsets.left, displayCutout.getSafeInsetLeft()); in testConstructor()
138 assertEquals(safeInsets.top, displayCutout.getSafeInsetTop()); in testConstructor()
139 assertEquals(safeInsets.right, displayCutout.getSafeInsetRight()); in testConstructor()
140 assertEquals(safeInsets.bottom, displayCutout.getSafeInsetBottom()); in testConstructor()
142 assertTrue(boundLeft.equals(displayCutout.getBoundingRectLeft())); in testConstructor()
143 assertTrue(boundTop.equals(displayCutout.getBoundingRectTop())); in testConstructor()
144 assertTrue(boundRight.equals(displayCutout.getBoundingRectRight())); in testConstructor()
145 assertTrue(boundBottom.equals(displayCutout.getBoundingRectBottom())); in testConstructor()
147 assertEquals(Insets.NONE, displayCutout.getWaterfallInsets()); in testConstructor()
[all …]
DWindowInsetsTest.java20 import static android.view.WindowInsets.Type.displayCutout;
99 assertEquals(getCutoutSafeInsets(insets), insets.getInsets(Type.displayCutout())); in testBuilder()
158 assertEquals(Insets.NONE, insets.getInsets(Type.displayCutout())); in testBuilder_emptyCutout()
182 assertEquals(getCutoutSafeInsets(insets), insets.getInsets(Type.displayCutout())); in testBuilder_producesImmutableWindowInsets()
193 .setInsets(displayCutout(), Insets.of(0, 5, 0, 0)) in testBuilder_typeMap()
202 assertEquals(Insets.of(0, 5, 0, 0), insets.getInsets(displayCutout())); in testBuilder_typeMap()
216 .setInsetsIgnoringVisibility(displayCutout(), Insets.of(0, 5, 0, 0)) in testBuilder_typeMapIgnoringVisibility()
230 insets.getInsetsIgnoringVisibility(displayCutout())); in testBuilder_typeMapIgnoringVisibility()
343 assertEquals(Insets.NONE, consumed.getInsets(Type.displayCutout())); in testConsume_systemWindowInsets()
379 insets.getInsets(Type.displayCutout()), consumed.getInsets(Type.displayCutout())); in testConsume_displayCutout()
[all …]
DWindowMetricsTestHelper.java20 import static android.view.WindowInsets.Type.displayCutout;
62 final int insetsType = statusBars() | navigationBars() | displayCutout(); in assertMetricsMatchesLayout()
142 windowInsets.getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getBoundsExcludingNavigationBarAndCutout()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java159 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout() local
160 if (displayCutout != null) { in loadCutout()
161 mCutouts.addAll(displayCutout.getBoundingRects()); in loadCutout()
DWindowInsetsActivity.java225 DisplayCutout displayCutout = display.getCutout(); in showInfoInTextView() local
226 if (displayCutout != null) { in showInfoInTextView()
227 sb.append("displayCutout = ").append(displayCutout.toString()).append("\n"); in showInfoInTextView()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DBarTestUtils.java55 final Insets insetsCutout = windowInsets.getInsets(WindowInsets.Type.displayCutout()); in assumeStatusBarContainsCutout()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java920 | WindowInsets.Type.displayCutout()); in performTestAction()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3905 WindowInsets.Type.navigationBars() | WindowInsets.Type.displayCutout()); in testGetWindowVisibleDisplayFrame()