/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListPopupWindowTest.java | 176 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessBackground() 190 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessAnimationStyle() 205 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAccessHeight() 248 mActivity.getWindow().getDecorView(), mPopupWindowBuilder::show); in testAccessWidth() 282 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in verifyAnchoring() 313 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoring() 326 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithHorizontalOffset() 339 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithVerticalOffset() 352 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithRightGravity() 365 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithEndGravity() [all …]
|
D | MediaControllerTest.java | 140 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 151 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 155 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 160 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testShow() 223 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent() 231 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent() 250 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testOnTrackballEvent()
|
D | FilterTest.java | 94 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter1() 113 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter2()
|
/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/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsControllerTests.java | 142 final View rootView = activity.getWindow().getDecorView(); in testHide() 162 final View rootView = activity.getWindow().getDecorView(); in testShow() 211 final View rootView = activity.getWindow().getDecorView(); in testTopAppHidesStatusBarByMethod() 222 final View rootView = activity.getWindow().getDecorView(); in testTopAppHidesStatusBarByWindowFlag() 233 final View rootView = activity.getWindow().getDecorView(); in testTopAppHidesStatusBarBySystemUiFlag() 249 final View rootView = activity.getWindow().getDecorView(); in testImeShowAndHide() 272 final View rootView = activity.getWindow().getDecorView(); in testImeForceShowingNavigationBar() 313 final View rootView = activity.getWindow().getDecorView(); in testSetSystemBarsAppearance() 351 final View rootView = activity.getWindow().getDecorView(); in testSetSystemBarsBehavior_default() 381 final View rootView = activity.getWindow().getDecorView(); in testSetSystemBarsBehavior_showTransientBarsBySwipe() [all …]
|
D | WindowInsetsPolicyTest.java | 182 View decorView = fullscreenActivity.getDecorView(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents() 310 getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN 316 View getDecorView() { 317 return getWindow().getDecorView(); 329 return getWindow().getDecorView().getRootWindowInsets(); 342 getDecorView().setSystemUiVisibility( 343 getDecorView().getSystemUiVisibility() | View.SYSTEM_UI_FLAG_FULLSCREEN); 362 getDecorView().setSystemUiVisibility(
|
D | WindowInsetsLayoutTests.java | 66 final View mainWindowRoot = activity.getWindow().getDecorView(); in testSetFitInsetsTypes() 102 final View mainWindowRoot = activity.getWindow().getDecorView(); in testSetFitInsetsSides() 151 final View mainWindowRoot = activity.getWindow().getDecorView(); in testSetFitInsetsIgnoringVisibility() 236 final View rootView = getWindow().getDecorView(); in assertMatchesWindowBounds()
|
D | DecorInsetTestsBase.java | 71 getWindow().getDecorView().setOnApplyWindowInsetsListener((v, wi) -> { in onCreate() 116 Rect expectedContentRect = rectInWindow(activity.getWindow().getDecorView()); in assertContentViewLocationMatchesInsets()
|
/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()
|
D | LoginActivity.java | 117 final View decorView = activity.getDecorView(); in assertJustInitialViewsAppeared() 149 final View decorView = activity.getDecorView(); in assertInitialViewsAppeared() 191 final View decorView = activity.getDecorView(); in assertInitialViewsDisappeared() 228 final View decorView = activity.getDecorView(); in assertInitialViewsDisappeared()
|
D | BlankWithTitleActivity.java | 39 final View decorView = getDecorView(); in assertDefaultEvents()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | MetricsActivity.java | 48 getWindow().getDecorView().addOnLayoutChangeListener(mListener); in onCreate() 59 getWindow().getDecorView().removeOnLayoutChangeListener(mListener); in onDestroy()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | TrustedPresentationListenerTest.java | 130 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, Runnable::run, in testAddTrustedPresentationListenerOnWindow() 140 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, Runnable::run, in testRemoveTrustedPresentationListenerOnWindow() 178 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, in testAddDuplicateListenerUpdatesThresholds() 190 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, in testAddDuplicateThresholds() 196 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, in testAddDuplicateThresholds() 237 scvh.setView(embeddedView, mActivity.getWindow().getDecorView().getWidth(), in testAddListenerToScvh() 238 mActivity.getWindow().getDecorView().getHeight()); in testAddListenerToScvh()
|
/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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/ |
D | DisplayCutoutTestActivity.java | 60 getWindow().getDecorView().getWindowInsetsController().hide(WindowInsets.Type.systemBars()); in onCreate() 61 getWindow().getDecorView().getWindowInsetsController().setSystemBarsBehavior( in onCreate() 78 getWindow().getDecorView().setOnApplyWindowInsetsListener((v, insets) -> { in onCreate()
|
/cts/tests/tests/gameservice/CtsGameServiceTakeScreenshotVerifier/src/android/service/games/cts/takescreenshotverifier/ |
D | MainActivity.java | 37 .getDecorView() in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
D | OverlayingActivity.java | 47 getWindow().getDecorView().postDelayed(() -> OverlayingActivity.this.finish(), in onCreate()
|
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/ |
D | CantSave1Activity.java | 37 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperOverlayTestActivity.java | 53 IBinder windowToken = window.getDecorView().getWindowToken(); in sendWallpaperCommand()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | CloseOnOutsideTestActivity.java | 42 View contentView = getWindow().getDecorView().findViewById(android.R.id.content); in setupWindowSize()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | LayoutTests.java | 110 .getDecorView() in testLayoutAfterRemovingFocus() 149 .getDecorView() in doTestLayoutAfterRemovingFocus() 317 .getDecorView() in onCreate()
|