/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsControllerTests.java | 125 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 …]
|
D | WindowInsetsLayoutTests.java | 90 final WindowInsets windowInsets = mainWindowRoot.getRootWindowInsets(); in testSetFitInsetsTypesInner() 136 final WindowInsets windowInsets = mainWindowRoot.getRootWindowInsets(); in testSetFitInsetsSidesInner()
|
D | EnsureBarContrastTest.java | 290 final WindowInsets insets = getWindow().getDecorView().getRootWindowInsets(); 298 final Insets insets = dv.getRootWindowInsets().getSystemWindowInsets();
|
D | WindowMetricsTestHelper.java | 181 mOnLayoutInsets = v.getRootWindowInsets(); in onLayoutChange()
|
D | KeyguardLockedTests.java | 393 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap() 412 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
|
D | DialogFrameTests.java | 259 .getRootWindowInsets() in getActivitySystemInsets()
|
D | WindowTest.java | 660 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()
|
D | WindowInsetsPolicyTest.java | 320 return getWindow().getDecorView().getRootWindowInsets();
|
D | WindowInsetsAnimationTestBase.java | 109 return Insets.NONE != rootView.getRootWindowInsets().getInsetsIgnoringVisibility(types); in hasWindowInsets()
|
D | DisplayCutoutTests.java | 597 return getWindow().getDecorView().getRootWindowInsets();
|
D | WindowInsetsAnimationControllerTests.java | 204 != mRootView.getRootWindowInsets().getInsetsIgnoringVisibility(mType)); in assumeTestCompatibility()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarBaseActivity.java | 40 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in LightBarBaseActivity 41 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
|
D | WindowInsetsActivity.java | 75 new WindowInsetsPresenterDrawable(getWindow().getDecorView().getRootWindowInsets()); in onCreate() 92 mContentWindowInsets = getWindow().getDecorView().getRootWindowInsets(); in onCreate()
|
D | LightBarTestBase.java | 158 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout()
|
D | WindowInsetsBehaviorTests.java | 793 insets[0] = view.getRootWindowInsets().getSystemGestureInsets(); in assumeGestureNavigation()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ImeInsetsVisibilityTest.java | 122 () -> 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()
|
D | KeyboardVisibilityControlTest.java | 734 imeInsetsVisible.set(editTextRef.get().getRootWindowInsets().isVisible(ime())));
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | BarTestUtils.java | 119 insets[0] = rule.getActivity().getWindow().getDecorView().getRootWindowInsets(); in getInsets()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SeekBarTest.java | 91 WindowInsets rootWindowInsets = mSeekBar.getRootWindowInsets(); in updateExclusionRects()
|
D | MagnifierTest.java | 439 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()
|
D | PopupWindowTest.java | 700 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/ |
D | ImeLayoutInfo.java | 177 final WindowInsets windowInsets = v.getRootWindowInsets(); in fromLayoutListenerCallback()
|
D | MockIme.java | 720 final WindowInsets rootWindowInsets = getRootWindowInsets(); in onApplyWindowInsets()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 98 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 1148 inset[0] = rootView[0].getRootWindowInsets();
|