Home
last modified time | relevance | path

Searched refs:mLauncherApps (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVL.java43 protected final LauncherApps mLauncherApps; field in LauncherAppsCompatVL
51 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in LauncherAppsCompatVL()
56 return mLauncherApps.getActivityList(packageName, user); in getActivityList()
61 return mLauncherApps.resolveActivity(intent, user); in resolveActivity()
67 mLauncherApps.startMainActivity(component, user, sourceBounds, opts); in startActivityForProfile()
77 mLauncherApps.getActivityList(packageName, user); in getApplicationInfo()
99 mLauncherApps.startAppDetailsActivity(component, user, sourceBounds, opts); in showAppDetailsForProfile()
108 mLauncherApps.registerCallback(wrappedCallback); in addOnAppsChangedCallback()
118 mLauncherApps.unregisterCallback(wrappedCallback); in removeOnAppsChangedCallback()
124 return mLauncherApps.isPackageEnabled(packageName, user); in isPackageEnabledForProfile()
[all …]
DLauncherAppsCompatVO.java55 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, flags, user); in getApplicationInfo()
82 mLauncherApps.getShortcutConfigActivityList(packageName, user); in getCustomShortcutActivityList()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutManager.java60 private final LauncherApps mLauncherApps; field in DeepShortcutManager
64 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in DeepShortcutManager()
116 mLauncherApps.pinShortcuts(packageName, pinnedIds, user); in unpinShortcut()
138 mLauncherApps.pinShortcuts(packageName, pinnedIds, user); in pinShortcut()
152 mLauncherApps.startShortcut(packageName, id, sourceBounds, in startShortcut()
166 Drawable icon = mLauncherApps.getShortcutIconDrawable( in getShortcutIconDrawable()
218 shortcutInfos = mLauncherApps.getShortcuts(q, user); in query()
241 return mLauncherApps.hasShortcutHostPermission(); in hasHostPermission()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java47 private final LauncherAppsCompat mLauncherApps; field in PackageManagerHelper
52 mLauncherApps = LauncherAppsCompat.getInstance(context); in PackageManagerHelper()
60 ApplicationInfo info = mLauncherApps.getApplicationInfo( in isAppOnSdcard()
70 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, 0, user); in isAppSuspended()
79 List<LauncherActivityInfo> activities = mLauncherApps.getActivityList(pkg, user); in getAppLaunchIntent()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java96 private final LauncherAppsCompat mLauncherApps; field in LoaderTask
112 mLauncherApps = LauncherAppsCompat.getInstance(mApp.getContext()); in LoaderTask()
360 mLauncherApps.isPackageEnabledForProfile(targetPkg, c.user); in loadWorkspace()
367 if (mLauncherApps.isActivityEnabledForProfile(cn, c.user)) { in loadWorkspace()
804 final List<LauncherActivityInfo> apps = mLauncherApps.getActivityList(null, user); in loadAllApps()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java67 private LauncherAppsCompat mLauncherApps; field in LoaderCursorTest
86 mLauncherApps = LauncherAppsCompat.getInstance(mContext); in setup()
115 ComponentName cn = mLauncherApps.getActivityList(null, mLoaderCursor.user) in getAppShortcutInfo_dontAllowMissing_validComponent()
/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java95 private final LauncherAppsCompat mLauncherApps; field in IconCache
110 mLauncherApps = LauncherAppsCompat.getInstance(mContext); in IconCache()
219 for (LauncherActivityInfo app : mLauncherApps.getActivityList(packageName, user)) { in updateIconsForPkg()
245 final List<LauncherActivityInfo> apps = mLauncherApps.getActivityList(null, user); in updateDbIcons()
843 return mLauncherApps.resolveActivity(mIntent, mUser); in get()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java153 private final LauncherApps mLauncherApps; field in LauncherModel
192 mLauncherApps = (LauncherApps) app.getSystemService(Context.LAUNCHER_APPS_SERVICE); in LauncherModel()
1920 apps = mLauncherApps.getActivityList(null, user); in loadAllAppsByBatch()
2210 LauncherActivityInfo lai = mLauncherApps.resolveActivity(intent, user); in getShortcutInfo()