Home
last modified time | relevance | path

Searched refs:getRootWindowInsets (Results 1 – 25 of 44) sorted by relevance

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsControllerTests.java156 if (rootView.getRootWindowInsets().isVisible(types)) { in testHideInternal()
160 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testHideInternal()
176 if (rootView.getRootWindowInsets().isVisible(types)) { in testShowInternal()
180 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testShowInternal()
184 PollingCheck.waitFor(TIMEOUT, () -> rootView.getRootWindowInsets().isVisible(types)); in testShowInternal()
190 if (rootView.getRootWindowInsets().isVisible(statusBars())) { in testTopAppHidesStatusBarInternal()
195 () -> !rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal()
207 assertFalse(rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal()
259 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide()
261 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide()
[all …]
DWindowInsetsLayoutTests.java88 final WindowInsets windowInsets = overlayWindowRoot.getRootWindowInsets(); in testSetFitInsetsTypesInner()
126 final WindowInsets windowInsets = overlayWindowRoot.getRootWindowInsets(); in testSetFitInsetsSidesInner()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DFieldsNoPasswordActivity.java53 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in FieldsNoPasswordActivity
54 return mUsernameEditText.getRootWindowInsets(); in getRootWindowInsets()
DAbstractAutoFillActivity.java191 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in AbstractAutoFillActivity
192 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarBaseActivity.java44 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in LightBarBaseActivity
45 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
DWindowInsetsActivity.java75 new WindowInsetsPresenterDrawable(getWindow().getDecorView().getRootWindowInsets()); in onCreate()
92 mContentWindowInsets = getWindow().getDecorView().getRootWindowInsets(); in onCreate()
DLightBarTestBase.java102 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout()
/cts/tests/framework/base/windowmanager/testsdk35/src/android/server/wm/window/
DWindowPolicyTestsSdk35.java40 activity.getWindow().getDecorView().getRootWindowInsets(); in testOptOutEdgeToEdgeAppBounds()
59 activity.getWindow().getDecorView().getRootWindowInsets(); in testOptOutEdgeToEdgeDisplayMetrics()
/cts/tests/framework/base/windowmanager/testsdk34/src/android/server/wm/window/
DWindowSdk34Test.java90 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_false()
101 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_defaultLegacy_sysuiFlags()
118 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_displayCutoutInsets_areApplied()
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/
DLoginActivityTest.java125 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialogCustomIcon()
207 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testTextView_noFillResponse_clickTwice_showIme()
332 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog()
381 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog_v2()
564 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog_twoSuggestions_oneButton()
662 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog_switchToUnsupportedField_fallbackDropdown()
673 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testShowFillDialog_switchToUnsupportedField_fallbackDropdown()
714 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testFillDialog_fromUnsupportedFieldSwitchToSupported_noFillDialog()
722 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testFillDialog_fromUnsupportedFieldSwitchToSupported_noFillDialog()
860 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testHintsNotMatchLegacy()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeInsetsVisibilityTest.java119 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup()
131 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableChildPopup()
165 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
180 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
214 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
229 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
382 TestUtils.waitOnMainUntil(() -> isInsetsVisible(panelView.getRootWindowInsets(), in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
DImeInsetsControllerTest.java232 final int navBarHeight = decorView.getRootWindowInsets()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java51 return activity.getWindow().getDecorView().getRootWindowInsets() in getStatusBarHeight()
56 return activity.getWindow().getDecorView().getRootWindowInsets() in getNavBarHeight()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DBarTestUtils.java107 insets[0] = rule.getActivity().getWindow().getDecorView().getRootWindowInsets(); in getInsets()
DWindowMetricsTestHelper.java217 mOnLayoutInsets = v.getRootWindowInsets(); in onLayoutChange()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDisplayShapeTests.java107 final DisplayShape fromInsets = decorView.getRootWindowInsets().getDisplayShape(); in testDisplayShapeFromWindowInsets()
DDialogFrameTests.java306 .getRootWindowInsets() in getActivitySystemInsets()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DEnsureBarContrastTest.java290 final WindowInsets insets = getWindow().getDecorView().getRootWindowInsets();
298 final Insets insets = dv.getRootWindowInsets().getSystemWindowInsets();
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java101 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance()
/cts/tests/tests/widget/src/android/widget/cts/
DSeekBarTest.java110 WindowInsets rootWindowInsets = mSeekBar.getRootWindowInsets(); in updateExclusionRects()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DSnapshotTaskTests.java94 final int captionBarHeight = decor.getRootWindowInsets().getInsets(captionBar()).top; in testSetDisablePreviewScreenshots()
DWindowPolicyTests.java71 activity.getContentView().getRootWindowInsets(), in testWindowInsets()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DBitmapPixelChecker.java196 .getRootWindowInsets() in getInsets()
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardLockedTests.java479 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
503 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
/cts/tests/tests/display/src/android/display/cts/
DDisplayManagerTest.java298 .getRootWindowInsets() in getBoundsToCheck()

12