Home
last modified time | relevance | path

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

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsControllerTests.java149 if (rootView.getRootWindowInsets().isVisible(types)) { in testHideInternal()
153 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testHideInternal()
169 if (rootView.getRootWindowInsets().isVisible(types)) { in testShowInternal()
173 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testShowInternal()
177 PollingCheck.waitFor(TIMEOUT, () -> rootView.getRootWindowInsets().isVisible(types)); in testShowInternal()
183 if (rootView.getRootWindowInsets().isVisible(statusBars())) { in testTopAppHidesStatusBarInternal()
188 () -> !rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal()
200 assertFalse(rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal()
252 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide()
254 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.java194 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in AbstractAutoFillActivity
195 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarBaseActivity.java40 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in LightBarBaseActivity
41 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
DWindowInsetsActivity.java75 new WindowInsetsPresenterDrawable(getWindow().getDecorView().getRootWindowInsets()); in onCreate()
92 mContentWindowInsets = getWindow().getDecorView().getRootWindowInsets(); in onCreate()
DLightBarTestBase.java151 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout()
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/
DLoginActivityTest.java158 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialogCustomIcon()
239 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testTextView_withoutFillDialog_clickTwice_showIme()
316 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog()
431 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog_twoSuggestions_oneButton()
476 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testShowFillDialog_switchToUnsupportedField_fallbackDropdown()
487 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testShowFillDialog_switchToUnsupportedField_fallbackDropdown()
527 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testFillDialog_fromUnsupportedFieldSwitchToSupported_noFillDialog()
535 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testFillDialog_fromUnsupportedFieldSwitchToSupported_noFillDialog()
628 assertThat(isImeShowing(activity.getRootWindowInsets())).isTrue(); in testHintsNotMatch()
699 assertThat(isImeShowing(activity.getRootWindowInsets())).isFalse(); in testHintsConfigMatchAtLeastOneField()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeInsetsVisibilityTest.java121 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup()
133 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableChildPopup()
167 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
182 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
216 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
231 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
383 TestUtils.waitOnMainUntil(() -> isInsetsVisible(panelView.getRootWindowInsets(), in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
DImeInsetsControllerTest.java215 final int navBarHeight = decorView.getRootWindowInsets()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowPolicyTests.java79 activity.mContentView.getRootWindowInsets(), in testWindowInsets()
183 activity.getWindow().getDecorView().getRootWindowInsets(); in testOptOutEdgeToEdgeAppBounds()
203 activity.getWindow().getDecorView().getRootWindowInsets(); in testOptOutEdgeToEdgeDisplayMetrics()
DSnapshotTaskTests.java92 final int captionBarHeight = decor.getRootWindowInsets().getInsets(captionBar()).top; in testSetDisablePreviewScreenshots()
DWindowTest.java684 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_false()
696 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_defaultLegacy_sysuiFlags()
714 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_displayCutoutInsets_areApplied()
/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.java304 .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/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardLockedTests.java415 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
435 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DBitmapPixelChecker.java196 .getRootWindowInsets() in getInsets()
/cts/tests/tests/widget/src/android/widget/cts/
DSeekBarTest.java109 WindowInsets rootWindowInsets = mSeekBar.getRootWindowInsets(); in updateExclusionRects()
DMagnifierTest.java448 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft()
466 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()
795 final Insets systemInsets = view.getRootWindowInsets().getSystemWindowInsets(); in testSourceBounds_areAdjustedWhenInvalid()
/cts/tests/tests/display/src/android/display/cts/
DDisplayManagerTest.java247 .getRootWindowInsets() in getBoundsToCheck()

12