Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskOverlayFactory.java61 final BaseDraggingActivity activity = BaseActivity.fromContext(taskView.getContext()); in getEnabledShortcuts()
138 mActionsView = BaseActivity.fromContext(mThumbnailView.getContext()).findViewById( in getActionsView()
DTaskViewUtils.java146 DeviceProfile dp = BaseActivity.fromContext(context).getDeviceProfile(); in createRecentsWindowAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseActivity.java342 public static <T extends BaseActivity> T fromContext(Context context) { in fromContext() method in BaseActivity
346 return fromContext(((ContextWrapper) context).getBaseContext()); in fromContext()
DLauncherRootView.java36 mActivity = StatefulActivity.fromContext(context); in LauncherRootView()
DLauncherState.java230 BaseDraggingActivity.fromContext(context).getDeviceProfile().isMultiWindowMode); in getDepth()
DAbstractFloatingView.java128 BaseActivity.fromContext(getContext()).getUserEventDispatcher() in close()
DWidgetPreviewLoader.java613 mActivity = BaseActivity.fromContext(mCaller.getContext()); in PreviewLoadTask()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java101 mActivity = BaseDraggingActivity.fromContext(context); in TaskMenuView()
177 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); in showForTask()
DDigitalWellBeingToast.java215 final BaseActivity activity = BaseActivity.fromContext(view.getContext()); in openAppUsageSettings()
DTaskThumbnailView.java127 mActivity = BaseActivity.fromContext(context); in TaskThumbnailView()
/packages/apps/TV/common/src/com/android/tv/common/flags/has/
DHasCloudEpgFlags.java24 static CloudEpgFlags fromContext(Context context) { in fromContext() method
/packages/apps/TV/common/src/com/android/tv/common/feature/
DCommonFeatures.java62 FlagFeature.from(HasCloudEpgFlags::fromContext, CloudEpgFlags::supportedRegion),
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOverviewWithoutFocusInputConsumer.java84 BaseActivity activity = BaseDraggingActivity.fromContext(mContext); in onSwipeUp()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java57 mActivity = BaseDraggingActivity.fromContext(context); in ArrowTipView()
DSnackbar.java56 mActivity = BaseDraggingActivity.fromContext(context); in Snackbar()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java95 mActivity = BaseActivity.fromContext(context); in WidgetCell()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java79 mLauncher = BaseDraggingActivity.fromContext(context); in AppsSearchContainerLayout()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java144 mLauncher = BaseDraggingActivity.fromContext(context); in AlphabeticalAppsList()
DAllAppsRecyclerView.java103 DeviceProfile grid = BaseDraggingActivity.fromContext(getContext()).getDeviceProfile(); in updatePoolSize()
DFloatingHeaderView.java398 DeviceProfile grid = BaseDraggingActivity.fromContext(getContext()).getDeviceProfile(); in setInsets()
DAllAppsContainerView.java123 mLauncher = BaseDraggingActivity.fromContext(context); in AllAppsContainerView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/shortcut/
DCreateShortcutPreferenceController.java169 Intent.ShortcutIconResource.fromContext(mContext, R.mipmap.ic_launcher_settings)) in createResultIntent()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java155 Intent.ShortcutIconResource.fromContext(mContext, R.mipmap.ic_launcher_settings)) in createResultIntent()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java89 mLauncher = BaseDraggingActivity.fromContext(context); in ArrowPopup()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java107 mViewCache = BaseActivity.fromContext(context).getViewCache(); in FolderPagedView()

12