/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivity.java | 117 final View decorView = activity.getDecorView(); in assertJustInitialViewsAppeared() local 122 assertDecorViewAppeared(events, 2, decorView); in assertJustInitialViewsAppeared() 123 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared() 149 final View decorView = activity.getDecorView(); in assertInitialViewsAppeared() local 156 .assertDecorViewAppeared(decorView) in assertInitialViewsAppeared() 157 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in assertInitialViewsAppeared() 191 final View decorView = activity.getDecorView(); in assertInitialViewsDisappeared() local 214 decorView.getAutofillId(), in assertInitialViewsDisappeared() 228 final View decorView = activity.getDecorView(); in assertInitialViewsDisappeared() local 235 decorView.getAutofillId(), in assertInitialViewsDisappeared()
|
D | PartialNotImportantActivityTest.java | 143 final View decorView = container.getRootView(); in testAddAndRemoveImportantChild() local 144 final View root = decorView.findViewById(R.id.root_view); in testAddAndRemoveImportantChild() 145 final View notImportantParentView = decorView.findViewById(R.id.parent_not_important); in testAddAndRemoveImportantChild() 190 final View decorView = container.getRootView(); in testAddImportantChildAfterSessionStarted() local 191 final View root = decorView.findViewById(R.id.root_view); in testAddImportantChildAfterSessionStarted() 192 final View notImportantParentView = decorView.findViewById(R.id.parent_not_important); in testAddImportantChildAfterSessionStarted()
|
D | BlankWithTitleActivity.java | 39 final View decorView = getDecorView(); in assertDefaultEvents() local 48 .assertDecorViewAppeared(decorView) in assertDefaultEvents()
|
D | CustomViewActivity.java | 122 final View decorView = getDecorView(); in assertJustInitialViewsAppeared() local 125 + decorView.getAutofillId()); in assertJustInitialViewsAppeared() 135 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared()
|
D | CustomViewActivityTest.java | 132 final View decorView = activity.getDecorView(); in testSessionLifecycleEvents() local 136 + decorView.getAutofillId() + "customView=" + customViewId); in testSessionLifecycleEvents() 146 .assertDecorViewAppeared(decorView) in testSessionLifecycleEvents() 147 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testSessionLifecycleEvents() 197 final View decorView = activity.getDecorView(); in testVirtualView_wrongWay() local 201 + decorView.getAutofillId() + "customView=" + customViewId); in testVirtualView_wrongWay() 212 .assertDecorViewAppeared(decorView) in testVirtualView_wrongWay() 213 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testVirtualView_wrongWay()
|
D | LoginActivityTest.java | 239 final View decorView = activity.getDecorView(); in testSimpleLifecycle_rootViewSession() local 246 assertDecorViewAppeared(mainEvents, 2, decorView); in testSimpleLifecycle_rootViewSession() 247 assertViewAppeared(mainEvents, 3, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_rootViewSession() 255 decorView.getAutofillId(), in testSimpleLifecycle_rootViewSession() 373 final View decorView = activity.getDecorView(); in testSimpleLifecycle_changeContextOnCreate() local 382 assertDecorViewAppeared(events, 3, decorView); in testSimpleLifecycle_changeContextOnCreate() 383 assertViewAppeared(events, 4, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate() 945 final View decorView = activity.getDecorView(); in testAddChildren_afterAnimation() local 958 decorView.getAutofillId(), in testAddChildren_afterAnimation()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowCtsActivity.java | 77 View decorView = getWindow().getDecorView(); in getAppliedInsets() local 79 decorView.getWidth() - (location[0] + view.getWidth()), in getAppliedInsets() 80 decorView.getHeight() - (location[1] + view.getHeight())); in getAppliedInsets()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ImeInsetsControllerTest.java | 110 final View decorView = launchResult.second.getDecorView(); in testChangeSizeWhileControlling() local 151 assertEquals(getExpectedBottomInsets(INITIAL_KEYBOARD_HEIGHT, decorView), in testChangeSizeWhileControlling() 164 assertEquals(getExpectedBottomInsets(INITIAL_KEYBOARD_HEIGHT, decorView), in testChangeSizeWhileControlling() 181 assertEquals(getExpectedBottomInsets(newKeyboardHeight, decorView), in testChangeSizeWhileControlling() 213 private int getExpectedBottomInsets(int keyboardHeight, View decorView) { 215 final int navBarHeight = decorView.getRootWindowInsets()
|
D | KeyboardVisibilityControlTest.java | 1196 final View decorView = activity.getWindow().getDecorView(); in runImeVisibilityWhenImeTransitionBetweenActivities() 1197 decorView.setFitsSystemWindows(true); in runImeVisibilityWhenImeTransitionBetweenActivities() 1198 decorView.getWindowInsetsController().show(ime()); in runImeVisibilityWhenImeTransitionBetweenActivities() 1726 final View decorView = testActivity2.getWindow().getDecorView(); in testIMEVisibleInSplitScreenWithWindowInsetsApi() local 1727 return decorView.hasWindowFocus() && decorView.getVisibility() == VISIBLE; in testIMEVisibleInSplitScreenWithWindowInsetsApi()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplayShapeTests.java | 106 final View decorView = activity.getWindow().getDecorView(); in testDisplayShapeFromWindowInsets() local 107 final DisplayShape fromInsets = decorView.getRootWindowInsets().getDisplayShape(); in testDisplayShapeFromWindowInsets() 110 decorView.getLocationOnScreen(location); in testDisplayShapeFromWindowInsets()
|
/cts/tests/input/src/android/input/cts/ |
D | PointerIconTest.kt | 104 activity.window.decorView.rootView.setBackgroundColor(Color.WHITE) in setUp() 128 val view = activity.window.decorView.rootView in testCreateBitmapIcon() 140 val view = activity.window.decorView.rootView in testLoadBitmapIcon() 157 val view = activity.window.decorView.rootView in testLoadVectorIconNoShadow() 180 val view = activity.window.decorView.rootView in testLoadVectorIcon()
|
D | MultiTouchTest.kt | 89 val testPointer = getPositionInView(activity.window.decorView) in testMultiTouch() 90 val firstPointerInScreen = getViewPointerOnScreen(activity.window.decorView, testPointer) in testMultiTouch() 92 val secondPointerInScreen = getViewPointerOnScreen(activity.window.decorView, secondPointer) in testMultiTouch()
|
D | InputShellCommandTest.kt | 66 val (x, y) = getViewCenterOnScreen(activity.window.decorView) in testDefaultTapToolType() 77 val (x, y) = getViewCenterOnScreen(activity.window.decorView) in testTapToolType() 112 val (x, y) = getViewCenterOnScreen(activity.window.decorView) in testPointerScroll()
|
D | TouchModeTest.kt | 115 return activity.window.decorView.isInTouchMode in <lambda>() 134 val observer = activity.window.decorView.rootView.viewTreeObserver in <lambda>() 308 inTouch = it.window.decorView.isInTouchMode in <lambda>()
|
D | IncompleteMotionTest.kt | 103 val (x, y) = getViewCenterOnScreen(activity.window.decorView) in testIncompleteMotion()
|
D | PointerCancelTest.kt | 77 val pointerInDecorView = getViewCenterOnScreen(activity.window.decorView) in testPointerCancelMotion()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | SurfaceOOMTestActivity.java | 78 final View decorView = getWindow().getDecorView(); in onCreate() local 79 decorView.setSystemUiVisibility( in onCreate() 81 decorView.setPointerIcon( in onCreate()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | ASurfaceControlTestActivity.java | 94 final View decorView = getWindow().getDecorView(); in onCreate() local 95 decorView.setWindowInsetsAnimationCallback(mInsetsAnimationCallback); in onCreate() 96 decorView.setSystemUiVisibility( in onCreate() 99 decorView.setPointerIcon( in onCreate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsPolicyTest.java | 182 View decorView = fullscreenActivity.getDecorView(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents() local 183 View contentView = decorView.findViewById(android.R.id.content); in testNonAutomotiveFullScreenNotBlockedBySystemComponents() 184 boolean hasFullWidth = decorView.getMeasuredWidth() == contentView.getMeasuredWidth(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents() 185 boolean hasFullHeight = decorView.getMeasuredHeight() == contentView.getMeasuredHeight(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 84 window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION or in hashCode() 88 window.decorView.keepScreenOn = true in hashCode()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 143 final View decorView = mActivity.getWindow().getDecorView(); in testActionOutsideDoesNotContainedObscuredInformation() 144 final View contentView = decorView.findViewById(android.R.id.content); in testActionOutsideDoesNotContainedObscuredInformation()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 133 final View decorView = activity.getWindow().getDecorView(); in getCenterOfActivityOnScreen() local 135 decorView.getLocationOnScreen(location); in getCenterOfActivityOnScreen() 136 return new Point(location[0] + decorView.getWidth() / 2, in getCenterOfActivityOnScreen() 137 location[1] + decorView.getHeight() / 2); in getCenterOfActivityOnScreen()
|
D | WindowInputTests.java | 656 final View decorView = mActivity.getWindow().getDecorView(); in testInjectFromThread() local 657 decorView.getLocationOnScreen(decorViewLocation); in testInjectFromThread() 662 decorViewLocation[0] + decorView.getWidth() / 2, in testInjectFromThread() 663 decorViewLocation[1] + decorView.getHeight() / 2); in testInjectFromThread()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 83 window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION or in hashCode()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 615 View decorView = getStylusHandwritingWindow().getDecorView(); in onHandleCommand() 616 return decorView != null && decorView.isAttachedToWindow() in onHandleCommand() 617 && decorView.getVisibility() == View.VISIBLE; in onHandleCommand() 828 final View decorView = getWindow().getWindow().getDecorView(); in onCreate() local 829 decorView.post(() -> decorView.requestLayout()); in onCreate()
|