Home
last modified time | relevance | path

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

12345

/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
H A DFocusParkingViewTouchModeTest.java52 View root = view1.getRootView(); in setUp()
58 assertThat(mFpv.getRootView().findFocus()).isNull(); in testRestoreDefaultFocus_doesNothing()
63 .that(mFpv.getRootView().findFocus()).isNull(); in testRestoreDefaultFocus_doesNothing()
68 assertThat(mFpv.getRootView().findFocus()).isNull(); in testRequestFocus_doesNothing()
73 .that(mFpv.getRootView().findFocus()).isNull(); in testRequestFocus_doesNothing()
78 assertThat(mFpv.getRootView().findFocus()).isNull(); in testPerformActionRestoreDefaultFocus_exitsTouchMode()
85 .that(mFpv.getRootView().findFocus()).isNotNull(); in testPerformActionRestoreDefaultFocus_exitsTouchMode()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSnackBarManager.java162 final View rootView = snackBar.getRootView(); in show()
249 final View rootView = snackBar.getRootView(); in dismiss()
282 mCurrentSnackBar.getRootView().setOnTouchListener(mDismissOnTouchListener); in makeCurrentSnackBarDismissibleOnTouch()
287 final View rootView = snackBar.getRootView(); in measureSnackBar()
300 final View rootView = snackBar.getRootView(); in placeSnackBarOffScreen()
311 final View rootView = snackBar.getRootView(); in animateSnackBarOffScreen()
368 snackBar.getParentView().getRootView().getWindowVisibleDisplayFrame(displayRect); in getScreenBottomOffset()
380 return -snackBar.getRootView().getMeasuredHeight() - anchorView.getHeight(); in getRelativeOffset()
H A DSnackBarInteraction.java58 final View rootView = snackBar.getRootView(); in animateOnSnackBarShow()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DGuidanceRelativeLayout.java61 TextView titleView = getRootView().findViewById(R.id.guidance_title); in onLayout()
62 TextView descriptionView = getRootView().findViewById(R.id.guidance_description); in onLayout()
63 ImageView iconView = getRootView().findViewById(R.id.guidance_icon); in onLayout()
H A DMessagePageFrameLayout.java63 TextView mStatusView = getRootView().findViewById(R.id.status_text); in onLayout()
64 View mContentView = getRootView().findViewById(R.id.message_content); in onLayout()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
H A DDepthController.java174 if (mLauncher.getRootView() != null && mOnAttachListener == null) { in ensureDependencies()
179 IBinder windowToken = mLauncher.getRootView().getWindowToken(); in ensureDependencies()
192 mLauncher.getRootView().addOnAttachStateChangeListener(mOnAttachListener); in ensureDependencies()
193 if (mLauncher.getRootView().isAttachedToWindow()) { in ensureDependencies()
314 IBinder windowToken = mLauncher.getRootView().getWindowToken(); in dispatchTransactionSurface()
341 mLauncher.getRootView().getRootSurfaceControl(); in dispatchTransactionSurface()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/test/
H A DIntegrationTestUtils.java139 return getTextViewsWithString(getRootView(activity), text);
163 public static View getRootView(Activity activity) {
164 return activity.findViewById(android.R.id.content).getRootView();
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
H A DStatefulActivity.java77 public final LauncherRootView getRootView() { in getRootView() method in StatefulActivity
118 getRootView().dispatchInsets(); in reapplyUi()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DLayout.java174 appCompatActionBar = bar.getRootView(); in Layout()
188 frameworkActionBar = bar.getRootView(); in Layout()
317 actionBar.getRootView().setLayoutParams(layoutParams); in createActionBar()
318 actionBar.getRootView().setId(getId(id)); in createActionBar()
383 ViewRootImpl root = AttachInfo_Accessor.getRootView(this); in requestFitSystemWindows()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DSysUiScrim.java200 if (Utilities.ATLEAST_Q && mActivity.getRootView() != null in hasBottomNavButtons()
201 && mActivity.getRootView().getRootWindowInsets() != null) { in hasBottomNavButtons()
202 WindowInsets windowInsets = mActivity.getRootView().getRootWindowInsets(); in hasBottomNavButtons()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
H A DFragmentService.java103 View root = view.getRootView(); in getFragmentHostManager()
113 final FragmentHostState state = mHosts.remove(view.getRootView()); in removeAndDestroy()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
H A DHomeCardFragment.java240 protected final View getRootView() { in getRootView() method in HomeCardFragment
246 mCardBackground = getRootView().findViewById(R.id.card_background); in getCardBackground()
253 mCardBackgroundImage = getRootView().findViewById(R.id.card_background_image); in getCardBackgroundImage()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DRequestFocusTest.java123 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
166 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
H A DLinearLayoutGrid.java36 public ViewGroup getRootView() { in getRootView() method in LinearLayoutGrid
H A DLinearLayoutGridTest.java42 mRootView = getActivity().getRootView(); in setUp()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
H A DSwipeUpGestureTutorialController.java82 int height = mTutorialFragment.getRootView().getFullscreenHeight();
83 int width = mTutorialFragment.getRootView().getWidth();
113 int height = mTutorialFragment.getRootView().getFullscreenHeight(); in SwipeUpGestureTutorialController()
114 int width = mTutorialFragment.getRootView().getWidth(); in SwipeUpGestureTutorialController()
/aosp12/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java120 View rootView = getRootView(in); in handleChunk()
183 private View getRootView(ByteBuffer in) { in getRootView() method in DdmHandleViewDebug
187 return WindowManagerGlobal.getInstance().getRootView(viewRootName); in getRootView()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardMessageArea.java76 mContainer = getRootView().findViewById(R.id.keyguard_message_area_container); in onAttachedToWindow()
161 messageArea = v.getRootView().findViewById(R.id.keyguard_message_area); in findSecurityMessageDisplay()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
H A DTaskbarUIController.java59 public View getRootView() { in getRootView() method in TaskbarUIController
/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DFilterTouchesRestrictedSwitchPreference.java55 final View rootView = switchView.getRootView(); in onBindViewHolder()
H A DFilterTouchesSwitchPreference.java53 final View rootView = switchView.getRootView(); in onBindViewHolder()
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DAttachInfo_Accessor.java55 public static ViewRootImpl getRootView(View view) { in getRootView() method in AttachInfo_Accessor
/aosp12/frameworks/base/packages/SettingsLib/AppPreference/src/com/android/settingslib/widget/
H A DAppSwitchPreference.java57 final View rootView = switchView.getRootView(); in onBindViewHolder()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
H A DFocusAreaHelper.java511 View root = mFocusArea.getRootView(); in maybeInitFocus()
521 View root = mFocusArea.getRootView(); in maybeAdjustFocus()
702 View root = mFocusArea.getRootView(); in maybeInitializeSpecifiedFocusAreas()
714 View root = mFocusArea.getRootView(); in maybeInitializeSpecifiedShortcuts()
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DOtherSettingIndicatorButton.java56 ViewGroup root = (ViewGroup) getRootView().findViewById(R.id.frame_layout); in initializePopup()

12345