Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java105 mActivity = BaseDraggingActivity.fromContext(context); in TaskMenuView()
164 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); in showForTask()
200 final BaseDraggingActivity activity = BaseDraggingActivity.fromContext(getContext()); in addMenuOptions()
DDigitalWellBeingToast.java215 final BaseActivity activity = BaseActivity.fromContext(view.getContext()); in openAppUsageSettings()
DTaskThumbnailView.java124 mActivity = BaseActivity.fromContext(context); in TaskThumbnailView()
DTaskView.java192 mActivity = BaseDraggingActivity.fromContext(context); in TaskView()
DRecentsView.java326 mActivity = (T) BaseActivity.fromContext(context); in RecentsView()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseActivity.java277 public static <T extends BaseActivity> T fromContext(Context context) { in fromContext() method in BaseActivity
281 return fromContext(((ContextWrapper) context).getBaseContext()); in fromContext()
DAbstractFloatingView.java124 BaseActivity.fromContext(getContext()).getUserEventDispatcher() in close()
DWidgetPreviewLoader.java543 mActivity = BaseActivity.fromContext(mCaller.getContext()); in PreviewLoadTask()
DLauncher.java2602 return (Launcher) fromContext(context); in getLauncher()
/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/
DTaskOverlayFactory.java56 final BaseDraggingActivity activity = BaseActivity.fromContext(taskView.getContext()); in getEnabledShortcuts()
DTaskViewUtils.java140 BaseActivity.fromContext(v.getContext()).getDeviceProfile(), in getRecentsWindowAnimator()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DRecentsRootView.java40 mActivity = BaseActivity.fromContext(context); in RecentsRootView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOverviewWithoutFocusInputConsumer.java152 BaseActivity activity = BaseDraggingActivity.fromContext(mContext); in finishTouchTracking()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java97 mActivity = BaseActivity.fromContext(context); in WidgetCell()
/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.java152 Intent.ShortcutIconResource.fromContext(mContext, R.mipmap.ic_launcher_settings)) in createResultIntent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java275 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(ttv.getContext()); in fromTaskThumbnailView()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java103 mViewCache = BaseActivity.fromContext(context).getViewCache(); in FolderPagedView()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java181 mActivity = BaseActivity.fromContext(context); in IconRecentsView()