Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java103 mActivity = BaseDraggingActivity.fromContext(context); in TaskMenuView()
162 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); in showForTask()
198 final BaseDraggingActivity activity = BaseDraggingActivity.fromContext(getContext()); in addMenuOptions()
DDigitalWellBeingToast.java215 final BaseActivity activity = BaseActivity.fromContext(view.getContext()); in openAppUsageSettings()
DTaskThumbnailView.java119 mActivity = BaseActivity.fromContext(context); in TaskThumbnailView()
DTaskView.java193 mActivity = BaseDraggingActivity.fromContext(context); in TaskView()
DRecentsView.java322 mActivity = (T) BaseActivity.fromContext(context); in RecentsView()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseActivity.java276 public static <T extends BaseActivity> T fromContext(Context context) { in fromContext() method in BaseActivity
280 return fromContext(((ContextWrapper) context).getBaseContext()); in fromContext()
DAbstractFloatingView.java124 BaseActivity.fromContext(getContext()).getUserEventDispatcher() in close()
DWidgetPreviewLoader.java551 mActivity = BaseActivity.fromContext(mCaller.getContext());
DLauncher.java2574 return (Launcher) fromContext(context); in getLauncher()
/packages/apps/TV/common/src/com/android/tv/common/flags/has/
DHasConcurrentDvrPlaybackFlags.java24 static ConcurrentDvrPlaybackFlags fromContext(Context context) { in fromContext() method
DHasCloudEpgFlags.java24 static CloudEpgFlags fromContext(Context context) { in fromContext() method
/packages/apps/TV/common/src/com/android/tv/common/feature/
DCommonFeatures.java60 FlagFeature.from(HasCloudEpgFlags::fromContext, CloudEpgFlags::supportedRegion),
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskOverlayFactory.java55 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/TV/src/com/android/tv/dvr/ui/browse/
DCurrentRecordingDetailsFragment.java84 mConcurrentDvrPlaybackFlags = HasConcurrentDvrPlaybackFlags.fromContext(context); in onAttach()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java95 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/UnifiedEmail/src/com/android/mail/ui/
DFolderSelectionActivity.java275 Intent.ShortcutIconResource.fromContext(this, in onFolderChanged()
/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.java261 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(ttv.getContext()); in fromTaskThumbnailView()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java181 mActivity = BaseActivity.fromContext(context); in IconRecentsView()