/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | DisplayCutoutTests.java | 206 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 …]
|
D | WindowInsetsTest.java | 20 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/ |
D | TestActivity.java | 19 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/ |
D | TestActivity.java | 19 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/ |
D | LightBarTestBase.java | 152 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout() local 153 if (displayCutout != null) { in loadCutout() 154 mCutouts.addAll(displayCutout.getBoundingRects()); in loadCutout()
|
D | WindowInsetsActivity.java | 225 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/ |
D | WindowMetricsTestHelper.java | 20 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/ |
D | ConfigurationScreenLayoutTest.java | 26 import static android.view.WindowInsets.Type.displayCutout; 140 insets = windowInsets.getInsets(systemBars() | displayCutout()); in computeScreenLayout()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | BitmapPixelChecker.java | 19 import static android.view.WindowInsets.Type.displayCutout; 197 .getInsets(displayCutout() | systemBars()); in getInsets()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestActivity.java | 20 import static android.view.WindowInsets.Type.displayCutout; 143 final var i = insets.getInsets(systemBars() | displayCutout()); in onCreate()
|
D | TestUtils.java | 22 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/ |
D | WindowPolicyTests.java | 185 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/ |
D | MainInteractionSession.java | 19 import static android.view.WindowInsets.Type.displayCutout; 152 windowInsets.getInsets(displayCutout()); in onShow()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/ |
D | DisplayCutoutTestActivity.java | 80 WindowInsets.Type.displayCutout(), Insets.NONE).build(); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | BubblesVerifierActivity.java | 948 | WindowInsets.Type.displayCutout()); in performTestAction()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | ActivityTransitionTests.java | 823 | WindowInsets.Type.displayCutout()); in getActivityTestableRegion()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 4039 WindowInsets.Type.navigationBars() | WindowInsets.Type.displayCutout()); in testGetWindowVisibleDisplayFrame()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 54375 method public static int displayCutout();
|