Searched refs:fromContext (Results 1 – 21 of 21) sorted by relevance
105 mActivity = BaseDraggingActivity.fromContext(context); in TaskMenuView()164 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(taskView.getContext()); in showForTask()200 final BaseDraggingActivity activity = BaseDraggingActivity.fromContext(getContext()); in addMenuOptions()
215 final BaseActivity activity = BaseActivity.fromContext(view.getContext()); in openAppUsageSettings()
124 mActivity = BaseActivity.fromContext(context); in TaskThumbnailView()
192 mActivity = BaseDraggingActivity.fromContext(context); in TaskView()
326 mActivity = (T) BaseActivity.fromContext(context); in RecentsView()
277 public static <T extends BaseActivity> T fromContext(Context context) { in fromContext() method in BaseActivity281 return fromContext(((ContextWrapper) context).getBaseContext()); in fromContext()
124 BaseActivity.fromContext(getContext()).getUserEventDispatcher() in close()
543 mActivity = BaseActivity.fromContext(mCaller.getContext()); in PreviewLoadTask()
2602 return (Launcher) fromContext(context); in getLauncher()
24 static CloudEpgFlags fromContext(Context context) { in fromContext() method
62 FlagFeature.from(HasCloudEpgFlags::fromContext, CloudEpgFlags::supportedRegion),
56 final BaseDraggingActivity activity = BaseActivity.fromContext(taskView.getContext()); in getEnabledShortcuts()
140 BaseActivity.fromContext(v.getContext()).getDeviceProfile(), in getRecentsWindowAnimator()
40 mActivity = BaseActivity.fromContext(context); in RecentsRootView()
152 BaseActivity activity = BaseDraggingActivity.fromContext(mContext); in finishTouchTracking()
97 mActivity = BaseActivity.fromContext(context); in WidgetCell()
169 Intent.ShortcutIconResource.fromContext(mContext, R.mipmap.ic_launcher_settings)) in createResultIntent()
152 Intent.ShortcutIconResource.fromContext(mContext, R.mipmap.ic_launcher_settings)) in createResultIntent()
275 BaseDraggingActivity activity = BaseDraggingActivity.fromContext(ttv.getContext()); in fromTaskThumbnailView()
103 mViewCache = BaseActivity.fromContext(context).getViewCache(); in FolderPagedView()
181 mActivity = BaseActivity.fromContext(context); in IconRecentsView()