/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeLayoutInfo.java | 177 final WindowInsets windowInsets = v.getRootWindowInsets(); in fromLayoutListenerCallback() local 179 if (windowInsets != null && windowInsets.hasSystemWindowInsets()) { in fromLayoutListenerCallback() 181 windowInsets.getSystemWindowInsetLeft(), windowInsets.getSystemWindowInsetTop(), in fromLayoutListenerCallback() 182 windowInsets.getSystemWindowInsetRight(), in fromLayoutListenerCallback() 183 windowInsets.getSystemWindowInsetBottom()); in fromLayoutListenerCallback() 188 if (windowInsets != null && windowInsets.hasStableInsets()) { in fromLayoutListenerCallback() 190 windowInsets.getStableInsetLeft(), windowInsets.getStableInsetTop(), in fromLayoutListenerCallback() 191 windowInsets.getStableInsetRight(), windowInsets.getStableInsetBottom()); in fromLayoutListenerCallback()
|
/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 | 158 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout() local 159 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | BarTestUtils.java | 54 final WindowInsets windowInsets = metrics.getWindowInsets(); in assumeStatusBarContainsCutout() local 55 final Insets insetsCutout = windowInsets.getInsets(WindowInsets.Type.displayCutout()); in assumeStatusBarContainsCutout() 56 final Insets insetsStatusBar = windowInsets.getInsets(WindowInsets.Type.statusBars()); in assumeStatusBarContainsCutout()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 98 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance() local 99 if (!windowInsets.hasStableInsets() || windowInsets.getStableInsetBottom() <= 0) { in getInstance() 116 if (actualBottomInset != windowInsets.getStableInsetBottom()) { in getInstance()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsLayoutTests.java | 90 final WindowInsets windowInsets = mainWindowRoot.getRootWindowInsets(); in testSetFitInsetsTypesInner() local 91 final Insets insets = windowInsets.getInsets(types); in testSetFitInsetsTypesInner() 136 final WindowInsets windowInsets = mainWindowRoot.getRootWindowInsets(); in testSetFitInsetsSidesInner() local 137 final Insets insets = windowInsets.getInsets(types); in testSetFitInsetsSidesInner()
|
D | WindowMetricsTestHelper.java | 140 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout() local 142 windowInsets.getInsetsIgnoringVisibility(navigationBars() | displayCutout()); in getBoundsExcludingNavigationBarAndCutout()
|
D | WindowInsetsControllerTests.java | 597 for (WindowInsets windowInsets : windowInsetsList) { in testInsetsDispatch() 598 assertFalse(windowInsets.isVisible(statusBars())); in testInsetsDispatch() 599 assertFalse(windowInsets.isVisible(navigationBars())); in testInsetsDispatch()
|
D | WindowInputTests.java | 145 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in testMoveWindowAndTap() local 147 windowBounds.inset(windowInsets.getInsetsIgnoringVisibility(p.getFitInsetsTypes())); in testMoveWindowAndTap()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 700 final WindowInsets windowInsets = upperAnchor.getRootWindowInsets(); in testShowAtLocation() local 701 final int xOff = windowInsets.getSystemWindowInsetLeft() + 10; in testShowAtLocation() 702 final int yOff = windowInsets.getSystemWindowInsetTop() + 21; in testShowAtLocation() 1334 final WindowInsets windowInsets = containerView.getRootWindowInsets(); in testUpdatePositionAndDimension() local 1335 popupPos.set(windowInsets.getStableInsetLeft() + 20, windowInsets.getStableInsetTop() + 50); in testUpdatePositionAndDimension() 1349 popupPos.set(windowInsets.getStableInsetLeft() + 4, windowInsets.getStableInsetTop()); in testUpdatePositionAndDimension()
|