Home
last modified time | relevance | path

Searched refs:getDecorView (Results 1 – 25 of 135) sorted by relevance

123456

/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java176 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 …]
DMediaControllerTest.java140 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()
DFilterTest.java94 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter1()
113 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter2()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarActivity.java50 int vis = getWindow().getDecorView().getSystemUiVisibility(); in setLightBarLegacy()
56 getWindow().getDecorView().setSystemUiVisibility(vis); in setLightBarLegacy()
69 getWindow().getDecorView().getWindowInsetsController(); in setLightBarAppearance()
DWindowInsetsActivity.java75 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()
DLightBarBaseActivity.java41 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsControllerTests.java142 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 …]
DWindowInsetsPolicyTest.java182 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(
DWindowInsetsLayoutTests.java66 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()
DDecorInsetTestsBase.java71 getWindow().getDecorView().setOnApplyWindowInsetsListener((v, wi) -> { in onCreate()
116 Rect expectedContentRect = rectInWindow(activity.getWindow().getDecorView()); in assertContentViewLocationMatchesInsets()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureActivity.java52 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()
DCustomViewActivity.java122 final View decorView = getDecorView(); in assertJustInitialViewsAppeared()
134 assertDecorViewAppeared(events, 2, getDecorView()); in assertJustInitialViewsAppeared()
151 getDecorView().getAutofillId(), mCustomView.getAutofillId()); in assertInitialViewsDisappeared()
DLoginActivity.java117 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()
DBlankWithTitleActivity.java39 final View decorView = getDecorView(); in assertDefaultEvents()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMetricsActivity.java48 getWindow().getDecorView().addOnLayoutChangeListener(mListener); in onCreate()
59 getWindow().getDecorView().removeOnLayoutChangeListener(mListener); in onDestroy()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTrustedPresentationListenerTest.java130 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/
DCantSave2Activity.java27 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWindowUtil.java45 window.getDecorView()::hasWindowFocus); in waitForFocus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/
DDisplayCutoutTestActivity.java60 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/
DMainActivity.java37 .getDecorView() in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DOverlayingActivity.java47 getWindow().getDecorView().postDelayed(() -> OverlayingActivity.this.finish(), in onCreate()
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/
DCantSave1Activity.java37 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperOverlayTestActivity.java53 IBinder windowToken = window.getDecorView().getWindowToken(); in sendWallpaperCommand()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DCloseOnOutsideTestActivity.java42 View contentView = getWindow().getDecorView().findViewById(android.R.id.content); in setupWindowSize()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DLayoutTests.java110 .getDecorView() in testLayoutAfterRemovingFocus()
149 .getDecorView() in doTestLayoutAfterRemovingFocus()
317 .getDecorView() in onCreate()

123456