HomeSort by relevance Sort by last modified time
    Searched refs:mLauncherApps (Results 1 - 25 of 25) sorted by null

  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
AppListFragment.java 33 return mLauncherApps.getActivityList(null, user);
40 && mLauncherApps.hasShortcutHostPermission()) {
48 if (mLauncherApps.getShortcuts(mQuery, ai.getUser()).size() > 0) {
61 mLauncherApps.startMainActivity(ai.getComponentName(), ai.getUser(), null, null);
ShortcutTemplateListFragment.java 35 return mLauncherApps.getShortcutConfigActivityList(null, user);
40 final IntentSender is = mLauncherApps.getShortcutConfigActivityIntent(ai);
56 final PinItemRequest req = mLauncherApps.getPinItemRequest(data);
PinShortcutConfirm.java 32 protected LauncherApps mLauncherApps;
43 mLauncherApps = getSystemService(LauncherApps.class);
57 final Drawable icon = mLauncherApps.getShortcutIconDrawable(mShortcutInfo, 0);
ShortcutListFragment.java 71 mLauncherApps = getActivity().getSystemService(LauncherApps.class);
76 if (!mLauncherApps.hasShortcutHostPermission()) {
104 for (ShortcutInfo si : mLauncherApps.getShortcuts(q, user)) {
112 mLauncherApps.pinShortcuts(packageName, pinned, selected.getUserHandle());
120 mLauncherApps.startShortcut(si.getPackage(), si.getId(), null, null,
131 if (!mLauncherApps.hasShortcutHostPermission()) {
150 final int numShortcuts = mLauncherApps.getShortcuts(mQuery, user).size();
165 list.addAll(mLauncherApps.getShortcuts(mQuery, user));
MyBaseListFragment.java 41 protected LauncherApps mLauncherApps;
69 mLauncherApps = getActivity().getSystemService(LauncherApps.class);
70 mLauncherApps.registerCallback(mLauncherCallback);
95 mLauncherApps.unregisterCallback(mLauncherCallback);
101 if (!mLauncherApps.hasShortcutHostPermission()) {
BaseActivityListFragment.java 98 mLauncherApps = mContext.getSystemService(LauncherApps.class);
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest1.java 652 mLauncherApps.getShortcutIconResId(
657 mLauncherApps.getShortcutIconResId(
662 mLauncherApps.getShortcutIconResId(
666 mLauncherApps.getShortcutIconResId(
670 mLauncherApps.getShortcutIconResId(
673 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd(
677 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd(
681 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd(
687 mLauncherApps.getShortcutIconResId(
690 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd
    [all...]
ShortcutManagerTest8.java 285 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue());
298 assertForLauncherCallbackNoThrow(mLauncherApps,
360 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue());
371 assertForLauncherCallbackNoThrow(mLauncherApps,
442 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue());
453 assertForLauncherCallbackNoThrow(mLauncherApps,
504 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue());
559 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue());
603 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0);
640 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue())
    [all...]
ShortcutManagerTest10.java 48 PinItemRequest request = mLauncherApps.getPinItemRequest(resultIntent);
84 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0);
107 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0);
171 assertNotNull(mLauncherApps.getShortcutConfigActivityIntent(info))
180 mLauncherApps.getShortcutConfigActivityIntent(info))
BaseShortcutManagerTest.java 558 protected LauncherAppsTestable mLauncherApps; // Current one
    [all...]
ShortcutManagerTest3.java 293 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0);
402 mLauncherApps.pinShortcuts(
477 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0);
ShortcutManagerTest9.java 129 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue());
ShortcutManagerTest7.java 299 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms2", "s2"), HANDLE_USER_10);
ShortcutManagerTest2.java     [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
LauncherAppsCompatVL.java 43 protected final LauncherApps mLauncherApps;
51 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE);
56 return mLauncherApps.getActivityList(packageName, user);
61 return mLauncherApps.resolveActivity(intent, user);
67 mLauncherApps.startMainActivity(component, user, sourceBounds, opts);
77 mLauncherApps.getActivityList(packageName, user);
99 mLauncherApps.startAppDetailsActivity(component, user, sourceBounds, opts);
108 mLauncherApps.registerCallback(wrappedCallback);
118 mLauncherApps.unregisterCallback(wrappedCallback);
124 return mLauncherApps.isPackageEnabled(packageName, user)
    [all...]
LauncherAppsCompatVO.java 55 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, flags, user);
82 mLauncherApps.getShortcutConfigActivityList(packageName, user);
  /cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
LauncherAppsTests.java 66 private LauncherApps mLauncherApps;
82 mLauncherApps = (LauncherApps) mInstrumentation.getContext().getSystemService(
99 mLauncherApps.getActivityList(null, mUser);
108 mLauncherApps.getActivityList(null, mUser);
122 mLauncherApps.getApplicationInfo(SIMPLE_APP_PACKAGE, /* flags= */ 0, mUser);
129 assertEquals(0, mLauncherApps.getActivityList(null, mUser).size());
131 mLauncherApps.getApplicationInfo(SIMPLE_APP_PACKAGE, /* flags= */ 0, mUser);
136 assertFalse(mLauncherApps.isPackageEnabled(SIMPLE_APP_PACKAGE, mUser));
139 assertNull(mLauncherApps.resolveActivity(intent, mUser));
143 final List<UserHandle> profiles = mLauncherApps.getProfiles()
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DeepShortcutManager.java 60 private final LauncherApps mLauncherApps;
64 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE);
116 mLauncherApps.pinShortcuts(packageName, pinnedIds, user);
138 mLauncherApps.pinShortcuts(packageName, pinnedIds, user);
152 mLauncherApps.startShortcut(packageName, id, sourceBounds,
166 Drawable icon = mLauncherApps.getShortcutIconDrawable(
218 shortcutInfos = mLauncherApps.getShortcuts(q, user);
241 return mLauncherApps.hasShortcutHostPermission();
  /packages/apps/Launcher3/src/com/android/launcher3/util/
PackageManagerHelper.java 47 private final LauncherAppsCompat mLauncherApps;
52 mLauncherApps = LauncherAppsCompat.getInstance(context);
60 ApplicationInfo info = mLauncherApps.getApplicationInfo(
70 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, 0, user);
79 List<LauncherActivityInfo> activities = mLauncherApps.getActivityList(pkg, user);
  /cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/
ShortcutManagerDeviceTestBase.java 41 private LauncherApps mLauncherApps;
56 mLauncherApps = getContext().getSystemService(LauncherApps.class);
73 return mLauncherApps;
  /development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/
ShortcutAdapter.java 47 private LauncherApps mLauncherApps;
55 mLauncherApps = mContext.getSystemService(LauncherApps.class);
181 if (!mLauncherApps.hasShortcutHostPermission()) {
185 image.setImageDrawable(mLauncherApps.getShortcutBadgedIconDrawable(si,
  /packages/apps/Launcher3/tests/src/com/android/launcher3/model/
LoaderCursorTest.java 67 private LauncherAppsCompat mLauncherApps;
86 mLauncherApps = LauncherAppsCompat.getInstance(mContext);
115 ComponentName cn = mLauncherApps.getActivityList(null, mLoaderCursor.user)
  /packages/apps/Launcher3/src/com/android/launcher3/
IconCache.java 95 private final LauncherAppsCompat mLauncherApps;
110 mLauncherApps = LauncherAppsCompat.getInstance(mContext);
219 for (LauncherActivityInfo app : mLauncherApps.getActivityList(packageName, user)) {
245 final List<LauncherActivityInfo> apps = mLauncherApps.getActivityList(null, user);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/model/
LoaderTask.java 96 private final LauncherAppsCompat mLauncherApps;
112 mLauncherApps = LauncherAppsCompat.getInstance(mApp.getContext());
360 mLauncherApps.isPackageEnabledForProfile(targetPkg, c.user);
367 if (mLauncherApps.isActivityEnabledForProfile(cn, c.user)) {
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherModel.java 153 private final LauncherApps mLauncherApps;
192 mLauncherApps = (LauncherApps) app.getSystemService(Context.LAUNCHER_APPS_SERVICE);
    [all...]

Completed in 736 milliseconds