Home
last modified time | relevance | path

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

1234

/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java160 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 …]
DMediaControllerTest.java126 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()
DFilterTest.java86 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter1()
105 mActivityRule.getActivity().getWindow().getDecorView(), in testFilter2()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsControllerTests.java114 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 …]
DWindowInsetsPolicyTest.java169 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(
DWindowInsetsLayoutTests.java67 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()
DDisplayCutoutTests.java466 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();
DDecorInsetTestsBase.java71 getWindow().getDecorView().setOnApplyWindowInsetsListener((v, wi) -> { in onCreate()
104 Rect expectedContentRect = rectInWindow(activity.getWindow().getDecorView()); in assertContentViewLocationMatchesInsets()
DLayoutTests.java99 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/
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/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()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java120 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/
DDisplayCutoutTestActivity.java59 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/
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()
DCtsTouchUtils.java135 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/
DOverlayingActivity.java44 getWindow().getDecorView().postDelayed(() -> OverlayingActivity.this.finish(), in onCreate()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java180 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/
DVerifyInputEventTest.java156 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/
DWindowInspectorTest.java61 view, mActivity.getWindow().getDecorView()); in testGetGlobalWindowViews()
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/
DCantSave1Activity.java37 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DTestActivity.java47 getWindow().getDecorView().addOnLayoutChangeListener(this); in onCreate()

1234