Home
last modified time | relevance | path

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

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsControllerTests.java125 if (rootView.getRootWindowInsets().isVisible(types)) { in testHideInternal()
129 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testHideInternal()
143 if (rootView.getRootWindowInsets().isVisible(types)) { in testShowInternal()
147 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testShowInternal()
151 PollingCheck.waitFor(TIMEOUT, () -> rootView.getRootWindowInsets().isVisible(types)); in testShowInternal()
157 if (rootView.getRootWindowInsets().isVisible(statusBars())) { in testTopAppHidesStatusBarInternal()
162 () -> !rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal()
174 assertFalse(rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal()
219 PollingCheck.waitFor(TIMEOUT, () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide()
221 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide()
[all …]
DWindowInsetsLayoutTests.java90 final WindowInsets windowInsets = mainWindowRoot.getRootWindowInsets(); in testSetFitInsetsTypesInner()
136 final WindowInsets windowInsets = mainWindowRoot.getRootWindowInsets(); in testSetFitInsetsSidesInner()
DEnsureBarContrastTest.java290 final WindowInsets insets = getWindow().getDecorView().getRootWindowInsets();
298 final Insets insets = dv.getRootWindowInsets().getSystemWindowInsets();
DWindowMetricsTestHelper.java181 mOnLayoutInsets = v.getRootWindowInsets(); in onLayoutChange()
DKeyguardLockedTests.java393 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
412 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
DDialogFrameTests.java259 .getRootWindowInsets() in getActivitySystemInsets()
DWindowTest.java660 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_false()
672 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_defaultLegacy_sysuiFlags()
688 assertEquals(mActivity.getContentView().getRootWindowInsets().getSystemWindowInsets(), in testSetFitsContentForInsets_displayCutoutInsets_areApplied()
DWindowInsetsPolicyTest.java320 return getWindow().getDecorView().getRootWindowInsets();
DWindowInsetsAnimationTestBase.java109 return Insets.NONE != rootView.getRootWindowInsets().getInsetsIgnoringVisibility(types); in hasWindowInsets()
DDisplayCutoutTests.java597 return getWindow().getDecorView().getRootWindowInsets();
DWindowInsetsAnimationControllerTests.java204 != mRootView.getRootWindowInsets().getInsetsIgnoringVisibility(mType)); in assumeTestCompatibility()
/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.java158 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout()
DWindowInsetsBehaviorTests.java793 insets[0] = view.getRootWindowInsets().getSystemGestureInsets(); in assumeGestureNavigation()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeInsetsVisibilityTest.java122 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup()
143 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup()
171 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
192 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
220 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
241 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
393 TestUtils.waitOnMainUntil(() -> isInsetsVisible(panelView.getRootWindowInsets(), in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
DKeyboardVisibilityControlTest.java734 imeInsetsVisible.set(editTextRef.get().getRootWindowInsets().isVisible(ime())));
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DBarTestUtils.java119 insets[0] = rule.getActivity().getWindow().getDecorView().getRootWindowInsets(); in getInsets()
/cts/tests/tests/widget/src/android/widget/cts/
DSeekBarTest.java91 WindowInsets rootWindowInsets = mSeekBar.getRootWindowInsets(); in updateExclusionRects()
DMagnifierTest.java439 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft()
457 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()
785 final Insets systemInsets = view.getRootWindowInsets().getSystemWindowInsets(); in testSourceBounds_areAdjustedWhenInvalid()
DPopupWindowTest.java700 final WindowInsets windowInsets = upperAnchor.getRootWindowInsets(); in testShowAtLocation()
1334 final WindowInsets windowInsets = containerView.getRootWindowInsets(); in testUpdatePositionAndDimension()
1735 - parentWindowView.getRootWindowInsets().getSystemWindowInsetBottom()); in testVerticallyClippedBeforeAdjusted()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeLayoutInfo.java177 final WindowInsets windowInsets = v.getRootWindowInsets(); in fromLayoutListenerCallback()
DMockIme.java720 final WindowInsets rootWindowInsets = getRootWindowInsets(); in onApplyWindowInsets()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java98 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java1148 inset[0] = rootView[0].getRootWindowInsets();

12