Home
last modified time | relevance | path

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

123

/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
DFocusParkingViewTouchModeTest.java53 assertThat(mFpv.getRootView().findFocus()).isNull(); in testRestoreDefaultFocus_doesNothing()
59 .that(mFpv.getRootView().findFocus()).isNull(); in testRestoreDefaultFocus_doesNothing()
66 assertThat(mFpv.getRootView().findFocus()).isNull(); in testRequestFocus_doesNothing()
72 .that(mFpv.getRootView().findFocus()).isNull(); in testRequestFocus_doesNothing()
79 assertThat(mFpv.getRootView().findFocus()).isNull(); in testPerformActionRestoreDefaultFocus_exitsTouchMode()
86 .that(mFpv.getRootView().findFocus()).isNotNull(); in testPerformActionRestoreDefaultFocus_exitsTouchMode()
DFocusAreaTouchModeTest.java64 .that(mFocusArea2.getRootView().findFocus()).isNull(); in testOnRequestFocusInDescendants_doesNothing()
/packages/apps/Messaging/src/com/android/messaging/ui/
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()
DSnackBarInteraction.java58 final View rootView = snackBar.getRootView(); in animateOnSnackBarShow()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDepthController.java144 if (mLauncher.getRootView() != null && mOnAttachListener == null) { in ensureDependencies()
149 IBinder windowToken = mLauncher.getRootView().getWindowToken(); in ensureDependencies()
162 mLauncher.getRootView().addOnAttachStateChangeListener(mOnAttachListener); in ensureDependencies()
163 if (mLauncher.getRootView().isAttachedToWindow()) { in ensureDependencies()
260 IBinder windowToken = mLauncher.getRootView().getWindowToken(); in dispatchTransactionSurface()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
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()
DMessagePageFrameLayout.java63 TextView mStatusView = getRootView().findViewById(R.id.status_text); in onLayout()
64 View mContentView = getRootView().findViewById(R.id.message_content); in onLayout()
/packages/apps/Contacts/tests/src/com/android/contacts/test/
DIntegrationTestUtils.java139 return getTextViewsWithString(getRootView(activity), text);
163 public static View getRootView(Activity activity) {
164 return activity.findViewById(android.R.id.content).getRootView();
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
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()
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DStatefulActivity.java73 public final LauncherRootView getRootView() { in getRootView() method in StatefulActivity
114 getRootView().dispatchInsets(); in reapplyUi()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java530 View root = getRootView(); in maybeInitFocus()
540 View root = getRootView(); in maybeAdjustFocus()
727 View root = getRootView(); in maybeInitializeSpecifiedFocusAreas()
739 View root = getRootView(); in maybeInitializeSpecifiedShortcuts()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
DHomeCardFragment.java240 protected final View getRootView() { in getRootView() method in HomeCardFragment
246 mCardBackground = getRootView().findViewById(R.id.card_background); in getCardBackground()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DTutorialFragment.java277 mEdgeBackGestureHandler.setViewGroupParent(getRootView()); in onAttachedToWindow()
304 RootSandboxLayout getRootView() { in getRootView() method in TutorialFragment
DTutorialController.java97 RootSandboxLayout rootView = tutorialFragment.getRootView(); in TutorialController()
405 mTutorialFragment.getRootView().setBackground(AppCompatResources.getDrawable( in updateDrawables()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java146 mTaskView.getRootView().removeOnLayoutChangeListener(this); in onClick()
160 mTaskView.getRootView().addOnLayoutChangeListener( in onClick()
DRecentsActivity.java118 setContentView(getRootView()); in setupViews()
123 SYSUI_PROGRESS.set(getRootView().getSysUiScrim(), 0f); in setupViews()
/packages/apps/Settings/src/com/android/settings/widget/
DFilterTouchesRestrictedSwitchPreference.java55 final View rootView = switchView.getRootView(); in onBindViewHolder()
DFilterTouchesSwitchPreference.java53 final View rootView = switchView.getRootView(); in onBindViewHolder()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DOtherSettingIndicatorButton.java56 ViewGroup root = (ViewGroup) getRootView().findViewById(R.id.frame_layout); in initializePopup()
DIndicatorButton.java105 ViewGroup root = (ViewGroup) getRootView().findViewById(R.id.frame_layout); in initializePopup()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DScreenPinnedInputConsumer.java50 launcherActivity.getRootView().performHapticFeedback( in ScreenPinnedInputConsumer()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DSearchWidescreenController.java205 mTextView.getRootView().setOnApplyWindowInsetsListener(onApplyWindowInsetsListener); in initializeWindowInsetsListener()
210 mTextView.getRootView().setOnApplyWindowInsetsListener( in initializeWindowInsetsListener()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoUnusedAppsFragment.kt64 ViewUtils.hideFocus(getListView().getRootView()) in onActivityCreated()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DCommonUtils.java50 View v1 = activity.getWindow().getDecorView().getRootView(); in takeScreenshot()
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java60 mRootView = view.getRootView(); in onViewAttachedToWindow()

123