Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DDisplayCutoutTests.java206 final DisplayCutout displayCutout = in testConstructor() local
209 assertEquals(safeInsets.left, displayCutout.getSafeInsetLeft()); in testConstructor()
210 assertEquals(safeInsets.top, displayCutout.getSafeInsetTop()); in testConstructor()
211 assertEquals(safeInsets.right, displayCutout.getSafeInsetRight()); in testConstructor()
212 assertEquals(safeInsets.bottom, displayCutout.getSafeInsetBottom()); in testConstructor()
214 assertTrue(boundLeft.equals(displayCutout.getBoundingRectLeft())); in testConstructor()
215 assertTrue(boundTop.equals(displayCutout.getBoundingRectTop())); in testConstructor()
216 assertTrue(boundRight.equals(displayCutout.getBoundingRectRight())); in testConstructor()
217 assertTrue(boundBottom.equals(displayCutout.getBoundingRectBottom())); in testConstructor()
219 assertEquals(Insets.NONE, displayCutout.getWaterfallInsets()); in testConstructor()
[all …]
DWindowInsetsTest.java20 import static android.view.WindowInsets.Type.displayCutout;
125 assertEquals(getCutoutSafeInsets(insets), insets.getInsets(Type.displayCutout())); in testBuilder()
196 assertEquals(Insets.NONE, insets.getInsets(Type.displayCutout())); in testBuilder_emptyCutout()
227 assertEquals(getCutoutSafeInsets(insets), insets.getInsets(Type.displayCutout())); in testBuilder_producesImmutableWindowInsets()
246 .setInsets(displayCutout(), Insets.of(0, 5, 0, 0)) in testBuilder_typeMap()
256 assertEquals(Insets.of(0, 5, 0, 0), insets.getInsets(displayCutout())); in testBuilder_typeMap()
274 .setInsetsIgnoringVisibility(displayCutout(), Insets.of(0, 5, 0, 0)) in testBuilder_typeMapIgnoringVisibility()
286 assertEquals(Insets.of(0, 5, 0, 0), insets.getInsetsIgnoringVisibility(displayCutout())); in testBuilder_typeMapIgnoringVisibility()
319 .setBoundingRects(displayCutout(), List.of(new Rect(50, 0, 60, 10))) in testBuilder_boundingRectsTypeMap()
341 insets.getBoundingRects(displayCutout())); in testBuilder_boundingRectsTypeMap()
[all …]
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTestActivity.java19 import static android.view.WindowInsets.Type.displayCutout;
33 private static final int sTypeMask = systemBars() | displayCutout();
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestActivity.java19 import static android.view.WindowInsets.Type.displayCutout;
65 final var i = insets.getInsets(systemBars() | displayCutout()); in onCreate()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java152 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout() local
153 if (displayCutout != null) { in loadCutout()
154 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/
DWindowMetricsTestHelper.java20 import static android.view.WindowInsets.Type.displayCutout;
75 final int insetsType = statusBars() | navigationBars() | displayCutout(); in assertMetricsMatchesLayout()
198 return navigationBars() | displayCutout(); in configExcludedInsetsTypes()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java26 import static android.view.WindowInsets.Type.displayCutout;
140 insets = windowInsets.getInsets(systemBars() | displayCutout()); in computeScreenLayout()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DBitmapPixelChecker.java19 import static android.view.WindowInsets.Type.displayCutout;
197 .getInsets(displayCutout() | systemBars()); in getInsets()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestActivity.java20 import static android.view.WindowInsets.Type.displayCutout;
143 final var i = insets.getInsets(systemBars() | displayCutout()); in onCreate()
DTestUtils.java22 import static android.view.WindowInsets.Type.displayCutout;
637 bounds.inset(metrics.getWindowInsets().getInsetsIgnoringVisibility(displayCutout())); in injectNavBarToHomeGestureEvents()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowPolicyTests.java185 WindowInsets.Type.displayCutout() | WindowInsets.Type.navigationBars()); in testOptOutEdgeToEdgeAppBounds()
205 WindowInsets.Type.displayCutout() | WindowInsets.Type.navigationBars()); in testOptOutEdgeToEdgeDisplayMetrics()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java19 import static android.view.WindowInsets.Type.displayCutout;
152 windowInsets.getInsets(displayCutout()); in onShow()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/
DDisplayCutoutTestActivity.java80 WindowInsets.Type.displayCutout(), Insets.NONE).build(); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java948 | WindowInsets.Type.displayCutout()); in performTestAction()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java823 | WindowInsets.Type.displayCutout()); in getActivityTestableRegion()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4039 WindowInsets.Type.navigationBars() | WindowInsets.Type.displayCutout()); in testGetWindowVisibleDisplayFrame()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt54375 method public static int displayCutout();