Searched refs:getRootView (Results 1 – 18 of 18) sorted by relevance
81 + " rootView=" + getRootView().getAutofillId() in onResume()100 public LinearLayout getRootView() { in getRootView() method in AbstractRootViewActivity
116 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertJustInitialViewsAppeared()124 final View rootView = activity.getRootView(); in assertJustInitialViewsAppeared()150 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsDisappeared()
260 activity.syncRunOnUiThread(() -> activity.getRootView().removeView(child)); in testAddAndRemoveNoImportantChild()295 final LinearLayout rootView = activity.getRootView(); in testAddAndRemoveImportantChild()344 final LinearLayout rootView = activity.getRootView(); in testAddImportantChildAfterSessionStarted()382 final LinearLayout rootView = activity.getRootView(); in testAddAndRemoveImportantChildOnDifferentSession()444 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessSiblingSessions()565 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in dinamicallyAddOneChildOnAnotherSessionTest()598 final AutofillId rootId = activity.getRootView().getAutofillId(); in dinamicallyAddOneChildOnAnotherSessionTest()620 final LinearLayout rootView = activity.getRootView(); in testDinamicallyManageSiblingSessions()788 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testNestedSessions_simplestScenario()857 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessNestedSessions()[all …]
169 assertSessionId(childSessionId, activity.getRootView()); in testContentCaptureSessionCache()205 assertSessionId(childSessionId, activity.getRootView()); in testSimpleLifecycle_rootViewSession()236 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_rootViewSession()273 assertViewAppeared(childEvents, 0, childSessionId, activity.getRootView(), in testSimpleLifecycle_rootViewSession()297 final View rootView = activity.getRootView(); in testSimpleLifecycle_changeContextAfterCreate()360 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_changeContextOnCreate()368 final View rootView = activity.getRootView(); in testSimpleLifecycle_changeContextOnCreate()892 final AutofillId rootId = activity.getRootView().getAutofillId(); in testAddChildren_rightAway()910 final LinearLayout rootView = activity.getRootView(); in testViewAppeared_withNewContext()926 final AutofillId rootId = activity.getRootView().getAutofillId(); in testViewAppeared_withNewContext()[all …]
453 mLayout.getRootView().getWidth() + mMagnifier.getWidth(), in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()454 mLayout.getRootView().getHeight() + mMagnifier.getHeight()); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()460 assertEquals(mLayout.getRootView().getWidth() in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()463 assertEquals(mLayout.getRootView().getHeight() in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()501 mLayout.getRootView().getWidth() + mMagnifier.getWidth(), in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()502 mLayout.getRootView().getHeight() + mMagnifier.getHeight()); in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()509 assertEquals(magnifiedViewPosition[0] + mLayout.getRootView().getWidth() in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()511 assertEquals(magnifiedViewPosition[1] + mLayout.getRootView().getHeight() in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()714 showMagnifier(2 * view.getRootView().getWidth(), 2 * view.getRootView().getHeight()); in testSourcePosition_respectsMaxInSurfaceBounds()718 sourcePosition.x < 2 * view.getRootView().getWidth() - mMagnifier.getSourceWidth()); in testSourcePosition_respectsMaxInSurfaceBounds()[all …]
368 mPopupWindow.getListView().getRootView().getLayoutParams(); in testSetWindowLayoutType()724 final View root = mPopupWindow.getListView().getRootView(); in testListSelectionWithDPad()794 final View root = mPopupWindow.getListView().getRootView(); in testListSelectionWithDPadEnter()
544 final View rootView = mActivity.findViewById(R.id.anchor_upper_left).getRootView(); in testShowAsDropDown_ClipToScreen_TooBig()1141 mPopupWindow.getContentView().getRootView().getLayoutParams(); in testUpdate()1641 ViewGroup.LayoutParams p = mPopupWindow.getContentView().getRootView().getLayoutParams(); in testSetWindowLayoutMode()1782 View popupRoot = mPopupWindow.getContentView().getRootView(); in testClipToScreenClipsToInsets()1836 mPopupWindow.getContentView().getRootView(), in testPositionAfterAnchorRemoval()1864 mPopupWindow.getContentView().getRootView(), in testPositionAfterAnchorRemoval()1973 subPopup.getContentView().getRootView(), in testAnchorInPopup()
91 return takeScreenshot(findViewById(android.R.id.content).getRootView()); in takeScreenshot()
238 assertNull(vg.getRootView().findFocus()); in testFocusHandling()240 assertSame(sub, vg.getRootView().findFocus()); in testFocusHandling()411 assertNull(layout.getRootView().findFocus()); in testSizeHandling()
1465 assertEquals(view, view.getRootView()); in testGetRootView()1468 assertEquals(mMockParent, view.getRootView()); in testGetRootView()
277 final View rootView = view.getRootView();
79 mContent.getRootView().setOnApplyWindowInsetsListener(this::onApplyWindowInsets); in onCreate()
280 mActivity.mPreInput.getRootView() in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
1145 mActivity.syncRunOnUiThread(() -> mActivity.mInput.getRootView() in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
415 mView = mTestActivity.findViewById(android.R.id.content).getRootView(); in verifyAssistStructure()
466 d.getWindow().getDecorView().getRootView().getLocationOnScreen(dialogLocation); in testTouchEvent()
489 final View rootView = activity.getWindow().getDecorView().getRootView(); in findViewByAutofillHint()
1640 name: "getRootView"