/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowMetricsTest.java | 46 final WindowInsets windowInsets = WindowInsets.CONSUMED; in testConstructor() local 48 final WindowMetrics windowMetrics = new WindowMetrics(bounds, windowInsets, density); in testConstructor() 51 assertThat(windowMetrics.getWindowInsets()).isEqualTo(windowInsets); in testConstructor()
|
D | WindowPolicyTests.java | 182 final WindowInsets windowInsets = in testOptOutEdgeToEdgeAppBounds() local 184 final Insets insets = windowInsets.getInsets( in testOptOutEdgeToEdgeAppBounds() 202 final WindowInsets windowInsets = in testOptOutEdgeToEdgeDisplayMetrics() local 204 final Insets insets = windowInsets.getInsets( in testOptOutEdgeToEdgeDisplayMetrics()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsActivity.java | 262 public Rect getActionBounds(Insets insets, WindowInsets windowInsets) { in getActionBounds() argument 263 return calculateBoundsWithInsets(insets, windowInsets, mContentBoundOnScreen); in getActionBounds() 267 public Rect getSystemGestureExclusionBounds(Insets insets, WindowInsets windowInsets) { in getSystemGestureExclusionBounds() argument 268 return calculateBoundsWithInsets(insets, windowInsets, mContentBoundInWindow); in getSystemGestureExclusionBounds() 282 private Rect calculateBoundsWithInsets(Insets insets, WindowInsets windowInsets, Rect refRect) { in calculateBoundsWithInsets() argument 288 final DisplayCutout cutout = windowInsets.getDisplayCutout(); in calculateBoundsWithInsets()
|
D | WindowInsetsPresenterDrawable.java | 104 public WindowInsetsPresenterDrawable(WindowInsets windowInsets) { in WindowInsetsPresenterDrawable() argument 106 mWindowInsets = windowInsets; in WindowInsetsPresenterDrawable() 175 public void setWindowInsets(WindowInsets windowInsets) { in setWindowInsets() argument 176 if (windowInsets != null) { in setWindowInsets() 177 mWindowInsets = new WindowInsets.Builder(windowInsets).build(); in setWindowInsets()
|
D | LightBarTestBase.java | 151 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout() local 152 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 101 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance() local 102 if (!windowInsets.hasStableInsets() || windowInsets.getStableInsetBottom() <= 0) { in getInstance() 119 if (actualBottomInset != windowInsets.getStableInsetBottom()) { in getInstance()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsLayoutTests.java | 88 final WindowInsets windowInsets = overlayWindowRoot.getRootWindowInsets(); in testSetFitInsetsTypesInner() local 89 final Insets insets = windowInsets.getInsets(types); in testSetFitInsetsTypesInner() 126 final WindowInsets windowInsets = overlayWindowRoot.getRootWindowInsets(); in testSetFitInsetsSidesInner() local 127 final Insets insets = windowInsets.getInsets(types); in testSetFitInsetsSidesInner()
|
D | WindowInsetsControllerTests.java | 770 for (WindowInsets windowInsets : windowInsetsList) { in testInsetsDispatch() 771 assertFalse(windowInsets.isVisible(statusBars())); in testInsetsDispatch() 772 assertFalse(windowInsets.isVisible(navigationBars())); in testInsetsDispatch()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationScreenLayoutTest.java | 138 final WindowInsets windowInsets = activity.getWindowManager().getCurrentWindowMetrics() in computeScreenLayout() local 140 insets = windowInsets.getInsets(systemBars() | displayCutout()); in computeScreenLayout()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 168 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingInsetsTypes() local 170 windowInsets.getInsetsIgnoringVisibility(excludingTypes); in getBoundsExcludingInsetsTypes()
|
/cts/tests/tests/assist/service/src/android/assist/service/ |
D | MainInteractionSession.java | 148 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in onShow() 150 windowInsets.getInsets(statusBars()); in onShow() 152 windowInsets.getInsets(displayCutout()); in onShow()
|
/cts/tests/input/src/android/input/cts/ |
D | TwoWindowsActivity.kt | 64 val insets = windowMetrics.windowInsets.getInsetsIgnoringVisibility( in launchTwoWindows()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 724 final WindowInsets windowInsets = upperAnchor.getRootWindowInsets(); in testShowAtLocation() local 725 final int xOff = windowInsets.getSystemWindowInsetLeft() + 10; in testShowAtLocation() 726 final int yOff = windowInsets.getSystemWindowInsetTop() + 21; in testShowAtLocation() 1358 final WindowInsets windowInsets = containerView.getRootWindowInsets(); in testUpdatePositionAndDimension() local 1359 popupPos.set(windowInsets.getStableInsetLeft() + 20, windowInsets.getStableInsetTop() + 50); in testUpdatePositionAndDimension() 1373 popupPos.set(windowInsets.getStableInsetLeft() + 4, windowInsets.getStableInsetTop()); in testUpdatePositionAndDimension()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowInputTests.java | 216 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in testMoveWindowAndTap() local 221 var insets = windowInsets.getInsetsIgnoringVisibility(lp.getFitInsetsTypes()); in testMoveWindowAndTap()
|