/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsControllerTests.java | 149 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 …]
|
D | WindowInsetsLayoutTests.java | 88 final WindowInsets windowInsets = overlayWindowRoot.getRootWindowInsets(); in testSetFitInsetsTypesInner() 126 final WindowInsets windowInsets = overlayWindowRoot.getRootWindowInsets(); in testSetFitInsetsSidesInner()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | FieldsNoPasswordActivity.java | 53 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in FieldsNoPasswordActivity 54 return mUsernameEditText.getRootWindowInsets(); in getRootWindowInsets()
|
D | AbstractAutoFillActivity.java | 194 public WindowInsets getRootWindowInsets() { in getRootWindowInsets() method in AbstractAutoFillActivity 195 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
|
/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 | 151 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/ |
D | LoginActivityTest.java | 158 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/ |
D | ImeInsetsVisibilityTest.java | 121 () -> 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()
|
D | ImeInsetsControllerTest.java | 215 final int navBarHeight = decorView.getRootWindowInsets()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowPolicyTests.java | 79 activity.mContentView.getRootWindowInsets(), in testWindowInsets() 183 activity.getWindow().getDecorView().getRootWindowInsets(); in testOptOutEdgeToEdgeAppBounds() 203 activity.getWindow().getDecorView().getRootWindowInsets(); in testOptOutEdgeToEdgeDisplayMetrics()
|
D | SnapshotTaskTests.java | 92 final int captionBarHeight = decor.getRootWindowInsets().getInsets(captionBar()).top; in testSetDisablePreviewScreenshots()
|
D | WindowTest.java | 684 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/ |
D | DisplayUtils.java | 51 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/ |
D | BarTestUtils.java | 107 insets[0] = rule.getActivity().getWindow().getDecorView().getRootWindowInsets(); in getInsets()
|
D | WindowMetricsTestHelper.java | 217 mOnLayoutInsets = v.getRootWindowInsets(); in onLayoutChange()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplayShapeTests.java | 107 final DisplayShape fromInsets = decorView.getRootWindowInsets().getDisplayShape(); in testDisplayShapeFromWindowInsets()
|
D | DialogFrameTests.java | 304 .getRootWindowInsets() in getActivitySystemInsets()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | EnsureBarContrastTest.java | 290 final WindowInsets insets = getWindow().getDecorView().getRootWindowInsets(); 298 final Insets insets = dv.getRootWindowInsets().getSystemWindowInsets();
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 101 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardLockedTests.java | 415 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap() 435 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowsAfterLockScreenOnEditorTap()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | BitmapPixelChecker.java | 196 .getRootWindowInsets() in getInsets()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SeekBarTest.java | 109 WindowInsets rootWindowInsets = mSeekBar.getRootWindowInsets(); in updateExclusionRects()
|
D | MagnifierTest.java | 448 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/ |
D | DisplayManagerTest.java | 247 .getRootWindowInsets() in getBoundsToCheck()
|