Home
last modified time | relevance | path

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

123

/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()
296 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoring()
309 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithHorizontalOffset()
322 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithVerticalOffset()
335 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActivity.getWindow().getDecorView(), in testAnchoringWithRightGravity()
348 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/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.java123 final View decorView = activity.getDecorView(); in assertJustInitialViewsAppeared()
151 final View decorView = activity.getDecorView(); in assertInitialViewsDisappeared()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsPolicyTest.java248 getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
254 View getDecorView() {
255 return getWindow().getDecorView();
259 return getWindow().getDecorView().getRootWindowInsets();
272 getDecorView().setSystemUiVisibility(
273 getDecorView().getSystemUiVisibility() | View.SYSTEM_UI_FLAG_FULLSCREEN);
DDisplayCutoutTests.java249 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasInsets()
269 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasBounds()
308 safeRect.bottom = getOnMainSync(() -> a.getDecorView().getHeight()) - safeRect.bottom; in getSafeRect()
309 safeRect.right = getOnMainSync(() -> a.getDecorView().getWidth()) - safeRect.right; in getSafeRect()
386 getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
391 View getDecorView() {
392 return getWindow().getDecorView();
396 return getWindow().getDecorView().getRootWindowInsets();
DLayoutTests.java96 activity.getWindow().getDecorView().getWindowVisibleDisplayFrame(visibleFrame)); in testLayoutAfterRemovingFocus()
127 activity.getWindow().getDecorView().getWindowVisibleDisplayFrame( in doTestLayoutAfterRemovingFocus()
227 getWindow().getDecorView().getViewTreeObserver().addOnGlobalLayoutListener(() -> { in onCreate()
DEnsureBarContrastTest.java259 getWindow().getDecorView();
289 final WindowInsets insets = getWindow().getDecorView().getRootWindowInsets();
296 final View dv = getWindow().getDecorView();
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarActivity.java35 int vis = getWindow().getDecorView().getSystemUiVisibility(); in setLightBar()
41 getWindow().getDecorView().setSystemUiVisibility(vis); in setLightBar()
DWindowInsetsActivity.java74 new WindowInsetsPresenterDrawable(getWindow().getDecorView().getRootWindowInsets()); in onCreate()
79 getWindow().getDecorView().setOnApplyWindowInsetsListener(this::onApplyWindowInsets); in onCreate()
80 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in onCreate()
91 mContentWindowInsets = getWindow().getDecorView().getRootWindowInsets(); in onCreate()
153 mDecorBound = getViewBound(getWindow().getDecorView()); in onAttachedToWindow()
DLightBarBaseActivity.java41 return getWindow().getDecorView().getRootWindowInsets(); in getRootWindowInsets()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java103 getWindow().getDecorView().setSystemUiVisibility( in onCreate()
106 getWindow().getDecorView().setPointerIcon( in onCreate()
167 getWindow().getDecorView().setSystemUiVisibility( in onActivityResult()
224 getWindow().getDecorView().setSystemUiVisibility( in runTest()
234 Display display = getWindow().getDecorView().getDisplay(); in runTest()
240 View decorView = getWindow().getDecorView(); in runTest()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWidgetTestUtils.java225 activityTestRule.getActivity().getWindow().getDecorView()
232 activityTestRule.getActivity().getWindow().getDecorView()
262 activityTestRule.getActivity().getWindow().getDecorView(), runner, forceLayout);
DCtsTouchUtils.java103 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateTapOnView()
152 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDoubleTapOnView()
208 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDragGesture()
267 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDragGesture()
609 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateLongPressOnScreen()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWidgetTestUtils.java225 activityTestRule.getActivity().getWindow().getDecorView()
232 activityTestRule.getActivity().getWindow().getDecorView()
262 activityTestRule.getActivity().getWindow().getDecorView(), runner, forceLayout);
DCtsTouchUtils.java104 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateTapOnView()
153 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDoubleTapOnView()
209 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDragGesture()
268 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateDragGesture()
610 activityTestRule.getActivity().getWindow().getDecorView(), null); in emulateLongPressOnScreen()
/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/app/CantSaveState1/src/com/android/test/cantsavestate2/
DCantSave1Activity.java27 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/tests/app/CantSaveState2/src/com/android/test/cantsavestate2/
DCantSave2Activity.java27 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java28 window.getDecorView().getWindowVisibleDisplayFrame(rect); in getStatusBarHeight()
DActivityLaunchUtils.java79 mTempActivity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivityAndWaitForItToBeOnscreen()
90 mTempActivity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivityAndWaitForItToBeOnscreen()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DOverlayingActivity.java44 getWindow().getDecorView().postDelayed(() -> OverlayingActivity.this.finish(), in onCreate()
/cts/tests/tests/view/src/android/view/inspector/cts/
DWindowInspectorTest.java61 view, mActivity.getWindow().getDecorView()); in testGetGlobalWindowViews()

123