Home
last modified time | relevance | path

Searched refs:getRootView (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivity.java110 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertJustInitialViewsAppeared()
118 final View rootView = activity.getRootView(); in assertJustInitialViewsAppeared()
146 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsAppeared()
150 final View rootView = activity.getRootView(); in assertInitialViewsAppeared()
190 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsDisappeared()
227 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsDisappeared()
DAbstractRootViewActivity.java81 + " rootView=" + getRootView().getAutofillId() in onResume()
100 public LinearLayout getRootView() { in getRootView() method in AbstractRootViewActivity
DLoginActivityTest.java170 assertSessionId(childSessionId, activity.getRootView()); in testContentCaptureSessionCache()
206 assertSessionId(childSessionId, activity.getRootView()); in testSimpleLifecycle_rootViewSession()
240 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_rootViewSession()
277 assertViewAppeared(childEvents, 0, childSessionId, activity.getRootView(), in testSimpleLifecycle_rootViewSession()
301 final View rootView = activity.getRootView(); in testSimpleLifecycle_changeContextAfterCreate()
366 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_changeContextOnCreate()
374 final View rootView = activity.getRootView(); in testSimpleLifecycle_changeContextOnCreate()
873 final AutofillId rootId = activity.getRootView().getAutofillId(); in testAddChildren_rightAway()
891 final LinearLayout rootView = activity.getRootView(); in testViewAppeared_withNewContext()
904 final AutofillId rootId = activity.getRootView().getAutofillId(); in testViewAppeared_withNewContext()
[all …]
DChildlessActivityTest.java273 activity.syncRunOnUiThread(() -> activity.getRootView().removeView(child)); in testAddAndRemoveNoImportantChild()
308 final LinearLayout rootView = activity.getRootView(); in testAddAndRemoveImportantChild()
357 final LinearLayout rootView = activity.getRootView(); in testAddImportantChildAfterSessionStarted()
399 final LinearLayout rootView = activity.getRootView(); in testAddAndRemoveImportantChildOnDifferentSession()
469 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessSiblingSessions()
590 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in dinamicallyAddOneChildOnAnotherSessionTest()
623 final AutofillId rootId = activity.getRootView().getAutofillId(); in dinamicallyAddOneChildOnAnotherSessionTest()
645 final LinearLayout rootView = activity.getRootView(); in testDinamicallyManageSiblingSessions()
817 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testNestedSessions_simplestScenario()
886 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessNestedSessions()
[all …]
DPartialNotImportantActivityTest.java143 final View decorView = container.getRootView(); in testAddAndRemoveImportantChild()
190 final View decorView = container.getRootView(); in testAddImportantChildAfterSessionStarted()
/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java462 mLayout.getRootView().getWidth() + mMagnifier.getWidth(), in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()
463 mLayout.getRootView().getHeight() + mMagnifier.getHeight()); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()
469 assertEquals(mLayout.getRootView().getWidth() in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()
472 assertEquals(mLayout.getRootView().getHeight() in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()
510 mLayout.getRootView().getWidth() + mMagnifier.getWidth(), in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()
511 mLayout.getRootView().getHeight() + mMagnifier.getHeight()); in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()
518 assertEquals(magnifiedViewPosition[0] + mLayout.getRootView().getWidth() in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()
520 assertEquals(magnifiedViewPosition[1] + mLayout.getRootView().getHeight() in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()
723 showMagnifier(2 * view.getRootView().getWidth(), 2 * view.getRootView().getHeight()); in testSourcePosition_respectsMaxInSurfaceBounds()
727 sourcePosition.x < 2 * view.getRootView().getWidth() - mMagnifier.getSourceWidth()); in testSourcePosition_respectsMaxInSurfaceBounds()
[all …]
DPopupWindowTest.java571 final View rootView = mActivity.findViewById(R.id.anchor_upper_left).getRootView(); in testShowAsDropDown_ClipToScreen_TooBig()
1168 mPopupWindow.getContentView().getRootView().getLayoutParams(); in testUpdate()
1672 ViewGroup.LayoutParams p = mPopupWindow.getContentView().getRootView().getLayoutParams(); in testSetWindowLayoutMode()
1817 View popupRoot = mPopupWindow.getContentView().getRootView(); in testClipToScreenClipsToInsets()
1872 mPopupWindow.getContentView().getRootView(), in testPositionAfterAnchorRemoval()
1900 mPopupWindow.getContentView().getRootView(), in testPositionAfterAnchorRemoval()
2009 subPopup.getContentView().getRootView(), in testAnchorInPopup()
DListPopupWindowTest.java384 mPopupWindow.getListView().getRootView().getLayoutParams(); in testSetWindowLayoutType()
768 final View root = mPopupWindow.getListView().getRootView(); in testListSelectionWithDPad()
838 final View root = mPopupWindow.getListView().getRootView(); in testListSelectionWithDPadEnter()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeInsetsVisibilityTest.java129 () -> childWindow.getRootView().setVisibility(View.VISIBLE)); in testImeVisibilityWhenImeFocusableChildPopup()
173 childWindow.getRootView().setBackgroundColor(Color.RED); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
174 childWindow.getRootView().setVisibility(View.VISIBLE); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
222 childWindow.getRootView().setBackgroundColor(Color.RED); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
223 childWindow.getRootView().setVisibility(View.VISIBLE); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
355 lp.setMargins(0, 0, 0, editText.getRootView().getMeasuredHeight() in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
454 View getRootView() { in getRootView() method in ChildWindowHolder
DKeyboardVisibilityControlTest.java1361 editText.getRootView().setOnApplyWindowInsetsListener( in testImeInsetsInvisibleAfterBackingFromImeHiddenActivity()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewCtsActivity.java47 return (FrameLayout) findViewById(android.R.id.content).getRootView(); in getRootLayout()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractAutoFillActivity.java92 return takeScreenshot(findViewById(android.R.id.content).getRootView()); in takeScreenshot()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DPinchToZoomTestPlayerListener.java108 mActivity.getWindow().getDecorView().getRootView().getLocationOnScreen(loc); in setInputRegionSize()
/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java249 assertNull(vg.getRootView().findFocus()); in testFocusHandling()
251 assertSame(sub, vg.getRootView().findFocus()); in testFocusHandling()
422 assertNull(layout.getRootView().findFocus()); in testSizeHandling()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWidgetTestUtils.java319 final View rootView = view.getRootView();
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsActivity.java79 mContent.getRootView().setOnApplyWindowInsetsListener(this::onApplyWindowInsets); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DPreSimpleSaveActivityTest.java277 mActivity.mPreInput.getRootView() in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
DSimpleSaveActivityTest.java1189 mActivity.syncRunOnUiThread(() -> mActivity.mInput.getRootView() in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java1882 layoutNode.setQueryFromAppProcessEnabled(layoutView.getRootView(), true); in testDirectAccessibilityConnection_NavigateHierarchy()
1895 assertThat(rootNode).isEqualTo(layoutView.getRootView().createAccessibilityNodeInfo()); in testDirectAccessibilityConnection_NavigateHierarchy()
1933 buttonNode.setQueryFromAppProcessEnabled(button.getRootView(), true); in testDirectAccessibilityConnection_CanPerformAction()
1947 layoutNode.setQueryFromAppProcessEnabled(layoutView.getRootView(), true); in testDirectAccessibilityConnection_CanDisable()
1950 layoutNode.setQueryFromAppProcessEnabled(layoutView.getRootView(), false); in testDirectAccessibilityConnection_CanDisable()
1976 layoutNode.setQueryFromAppProcessEnabled(layoutView.getRootView(), true); in testDirectAccessibilityConnection_AccessibilityManagerEnabled()
1980 layoutNode.setQueryFromAppProcessEnabled(layoutView.getRootView(), false); in testDirectAccessibilityConnection_AccessibilityManagerEnabled()
DAccessibilityFocusAndInputFocusSyncTest.java393 View testActivityRootView = mActivity.getWindow().getDecorView().getRootView(); in isBitmapDifferent()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DVirtualContainerActivityTest.java131 .getRootView() in getActivityRule()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java441 mView = mTestActivity.findViewById(android.R.id.content).getRootView(); in verifyAssistStructure()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java667 mView.getRootView().getWindowInsetsController().show(captionBar()); in onHandleCommand()
669 mView.getRootView().getWindowInsetsController().hide(captionBar()); in onHandleCommand()
/cts/tests/app/src/android/app/cts/
DDialogTest.java471 d.getWindow().getDecorView().getRootView().getLocationOnScreen(dialogLocation); in testTouchEvent()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java518 final View rootView = activity.getWindow().getDecorView().getRootView(); in findViewByAutofillHint()

12