HomeSort by relevance Sort by last modified time
    Searched refs:cutout (Results 1 - 3 of 3) sorted by null

  /cts/tests/framework/base/windowmanager/src/android/server/wm/
DisplayCutoutTests.java 119 assertThat("cutout must be contained within system bars in default mode",
137 assertThat("Display.getCutout() must equal view root cutout",
146 assertThat("must not layout in cutout area in never mode", displayCutout, nullValue());
176 private void commonAsserts(TestActivity activity, WindowInsets insets, DisplayCutout cutout) {
177 assertSafeInsetsValid(cutout);
179 + "cutout safe insets",
180 safeInsets(cutout), insetsLessThanOrEqualTo(systemWindowInsets(insets)));
181 assertOnlyShortEdgeHasInsets(activity, cutout);
182 assertOnlyShortEdgeHasBounds(activity, insets, cutout);
183 assertCutoutsAreWithinSafeInsets(activity, cutout);
    [all...]
  /cts/tests/tests/systemui/src/android/systemui/cts/
WindowInsetsActivity.java 258 final DisplayCutout cutout = windowInsets.getDisplayCutout(); local
259 if (cutout != null) {
261 if (cutout.getSafeInsetLeft() > 0) {
262 left = Math.max(left, cutout.getSafeInsetLeft() + slack);
264 if (cutout.getSafeInsetTop() > 0) {
265 top = Math.max(top, cutout.getSafeInsetTop() + slack);
267 if (cutout.getSafeInsetRight() > 0) {
268 right = Math.max(right, cutout.getSafeInsetRight() + slack);
270 if (cutout.getSafeInsetBottom() > 0) {
271 bottom = Math.max(bottom, cutout.getSafeInsetBottom() + slack)
    [all...]
LightBarTestBase.java 226 for (Rect cutout : mCutouts) {
227 if (cutout.contains(x, y)) {

Completed in 957 milliseconds