Home
last modified time | relevance | path

Searched refs:windowInsets (Results 1 – 6 of 6) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeLayoutInfo.java177 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/
DWindowInsetsPresenterDrawable.java104 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()
DLightBarTestBase.java216 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout() local
217 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout()
DWindowInsetsActivity.java252 public Rect getOperationArea(Insets insets, WindowInsets windowInsets) { in getOperationArea() argument
258 final DisplayCutout cutout = windowInsets.getDisplayCutout(); in getOperationArea()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java100 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance() local
101 if (!windowInsets.hasStableInsets() || windowInsets.getStableInsetBottom() <= 0) { in getInstance()
118 if (actualBottomInset != windowInsets.getStableInsetBottom()) { in getInstance()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java654 final WindowInsets windowInsets = upperAnchor.getRootWindowInsets(); in testShowAtLocation() local
655 final int xOff = windowInsets.getSystemWindowInsetLeft() + 10; in testShowAtLocation()
656 final int yOff = windowInsets.getSystemWindowInsetTop() + 21; in testShowAtLocation()
1288 final WindowInsets windowInsets = containerView.getRootWindowInsets(); in testUpdatePositionAndDimension() local
1289 popupPos.set(windowInsets.getStableInsetLeft() + 20, windowInsets.getStableInsetTop() + 50); in testUpdatePositionAndDimension()
1303 popupPos.set(windowInsets.getStableInsetLeft() + 4, windowInsets.getStableInsetTop()); in testUpdatePositionAndDimension()