/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListPopupWindowTest.java | 160 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessBackground() 174 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessAnimationStyle() 189 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessHeight() 232 mActivity.getWindow().getDecorView(), mPopupWindowBuilder::show); in testAccessWidth() 266 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in verifyAnchoring() 297 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoring() 310 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithHorizontalOffset() 323 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithVerticalOffset() 336 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithRightGravity() 349 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithEndGravity() [all …]
|
D | MediaControllerTest.java | 126 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 137 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 141 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 173 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent() 181 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent() 200 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent()
|
D | FilterTest.java | 86 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter1() 105 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter2()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsControllerTests.java | 114 final View rootView = activity.getWindow().getDecorView(); in testHide() 132 final View rootView = activity.getWindow().getDecorView(); in testShow() 179 final View rootView = activity.getWindow().getDecorView(); in testTopAppHidesStatusBarByMethod() 188 final View rootView = activity.getWindow().getDecorView(); in testTopAppHidesStatusBarByWindowFlag() 197 final View rootView = activity.getWindow().getDecorView(); in testTopAppHidesStatusBarBySystemUiFlag() 213 final View rootView = activity.getWindow().getDecorView(); in testImeShowAndHide() 230 final View rootView = activity.getWindow().getDecorView(); in testImeForceShowingNavigationBar() 248 final View rootView = activity.getWindow().getDecorView(); in testSetSystemBarsBehavior_default() 274 final View rootView = activity.getWindow().getDecorView(); in testSetSystemBarsBehavior_showTransientBarsBySwipe() 305 final View rootView = activity.getWindow().getDecorView(); in testSetSystemBarsBehavior_systemGesture_default() [all …]
|
D | WindowInsetsPolicyTest.java | 169 View decorView = fullscreenActivity.getDecorView(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents() 295 getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN 301 View getDecorView() { 302 return getWindow().getDecorView(); 314 return getWindow().getDecorView().getRootWindowInsets(); 327 getDecorView().setSystemUiVisibility( 328 getDecorView().getSystemUiVisibility() | View.SYSTEM_UI_FLAG_FULLSCREEN); 347 getDecorView().setSystemUiVisibility(
|
D | WindowInsetsLayoutTests.java | 67 final View mainWindowRoot = activity.getWindow().getDecorView(); in testSetFitInsetsTypes() 111 final View mainWindowRoot = activity.getWindow().getDecorView(); in testSetFitInsetsSides() 157 final View mainWindowRoot = activity.getWindow().getDecorView(); in testSetFitInsetsIgnoringVisibility() 236 final View rootView = getWindow().getDecorView(); in assertMatchesWindowBounds()
|
D | DisplayCutoutTests.java | 466 safeRect.bottom = getOnMainSync(() -> a.getDecorView().getHeight()) - safeRect.bottom; in getSafeRect() 467 safeRect.right = getOnMainSync(() -> a.getDecorView().getWidth()) - safeRect.right; in getSafeRect() 474 appBounds.right = a.getDecorView().getWidth(); in getAppBounds() 475 appBounds.bottom = a.getDecorView().getHeight(); in getAppBounds() 585 getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN 592 View getDecorView() { 593 return getWindow().getDecorView(); 597 return getWindow().getDecorView().getRootWindowInsets();
|
D | DecorInsetTestsBase.java | 71 getWindow().getDecorView().setOnApplyWindowInsetsListener((v, wi) -> { in onCreate() 104 Rect expectedContentRect = rectInWindow(activity.getWindow().getDecorView()); in assertContentViewLocationMatchesInsets()
|
D | LayoutTests.java | 99 activity.getWindow().getDecorView().getWindowVisibleDisplayFrame(visibleFrame)); in testLayoutAfterRemovingFocus() 131 activity.getWindow().getDecorView().getWindowVisibleDisplayFrame( in doTestLayoutAfterRemovingFocus() 279 getWindow().getDecorView().getViewTreeObserver().addOnGlobalLayoutListener(() -> { in onCreate()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarActivity.java | 50 int vis = getWindow().getDecorView().getSystemUiVisibility(); in setLightBarLegacy() 56 getWindow().getDecorView().setSystemUiVisibility(vis); in setLightBarLegacy() 69 getWindow().getDecorView().getWindowInsetsController(); in setLightBarAppearance()
|
D | WindowInsetsActivity.java | 75 new WindowInsetsPresenterDrawable(getWindow().getDecorView().getRootWindowInsets()); in onCreate() 80 getWindow().getDecorView().setOnApplyWindowInsetsListener(this::onApplyWindowInsets); in onCreate() 81 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in onCreate() 92 mContentWindowInsets = getWindow().getDecorView().getRootWindowInsets(); in onCreate() 162 mDecorBound = getViewBoundOnScreen(getWindow().getDecorView()); in onAttachedToWindow()
|
D | LightBarBaseActivity.java | 41 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AbstractContentCaptureActivity.java | 52 Log.d(mTag, "onCreate(): taskId=" + mRealTaskId + ", decorView=" + getDecorView()); in onCreate() 65 Log.d(mTag, "onResume(): decorViewId=" + getDecorView().getAutofillId()); in onResume() 88 public final View getDecorView() { in getDecorView() method in AbstractContentCaptureActivity 89 return getWindow().getDecorView(); in getDecorView()
|
D | CustomViewActivity.java | 122 final View decorView = getDecorView(); in assertJustInitialViewsAppeared() 134 assertDecorViewAppeared(events, 2, getDecorView()); in assertJustInitialViewsAppeared() 151 getDecorView().getAutofillId(), mCustomView.getAutofillId()); in assertInitialViewsDisappeared()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 120 getWindow().getDecorView().setSystemUiVisibility( in onCreate() 123 getWindow().getDecorView().setPointerIcon( in onCreate() 188 getWindow().getDecorView().setSystemUiVisibility( in onActivityResult() 249 getWindow().getDecorView().setSystemUiVisibility( in runTest() 259 Display display = getWindow().getDecorView().getDisplay(); in runTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/ |
D | DisplayCutoutTestActivity.java | 59 getWindow().getDecorView().getWindowInsetsController().hide(WindowInsets.Type.systemBars()); in onCreate() 60 getWindow().getDecorView().getWindowInsetsController().setSystemBarsBehavior( in onCreate() 76 getWindow().getDecorView().setOnApplyWindowInsetsListener((v, insets) -> { in onCreate()
|
/cts/tests/app/CantSaveState2/src/com/android/test/cantsavestate2/ |
D | CantSave2Activity.java | 27 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WindowUtil.java | 45 window.getDecorView()::hasWindowFocus); in waitForFocus()
|
D | CtsTouchUtils.java | 135 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateTapOnView() 184 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDoubleTapOnView() 275 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDragGesture() 335 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDragGesture() 776 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateLongPressOnScreen()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
D | OverlayingActivity.java | 44 getWindow().getDecorView().postDelayed(() -> OverlayingActivity.this.finish(), in onCreate()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionActivity.java | 180 getWindow().getDecorView().postDelayed(new Runnable() { in startTest() 209 getWindow().getDecorView().post(new Runnable() { in startTest() 257 getWindow().getDecorView().postDelayed(new Runnable() { in onRestart()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 156 final View view = mActivity.getWindow().getDecorView(); in testMotionEvent() 182 final View view = mActivity.getWindow().getDecorView(); in testMotionEventWithoutHmac() 205 final View view = mActivity.getWindow().getDecorView(); in testTamperedMotionEvent() 260 final View view = mActivity.getWindow().getDecorView(); in testDeviceIdBecomesVirtualForInjectedMotions()
|
/cts/tests/tests/view/src/android/view/inspector/cts/ |
D | WindowInspectorTest.java | 61 view, mActivity.getWindow().getDecorView()); in testGetGlobalWindowViews()
|
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/ |
D | CantSave1Activity.java | 37 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/ |
D | TestActivity.java | 47 getWindow().getDecorView().addOnLayoutChangeListener(this); in onCreate()
|