Searched defs:shortcutInfo (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DShortcutKey.java24 public static ShortcutKey fromInfo(ShortcutInfoCompat shortcutInfo) { argument
25 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(),
26 shortcutInfo.getId());
H A DShortcutInfoCompat.java44 public ShortcutInfoCompat(ShortcutInfo shortcutInfo) { argument
45 mShortcutInfo = shortcutInfo;
H A DDeepShortcutManager.java153 public Drawable getShortcutIconDrawable(ShortcutInfoCompat shortcutInfo, int density) { argument
157 shortcutInfo.getShortcutInfo(), density);
219 for (ShortcutInfo shortcutInfo : shortcutInfos) {
220 shortcutInfoCompats.add(new ShortcutInfoCompat(shortcutInfo));
H A DDeepShortcutsContainer.java664 public UnbadgedShortcutInfo(ShortcutInfoCompat shortcutInfo, Context context) { argument
665 super(shortcutInfo, context);
666 mDetail = shortcutInfo;
670 protected Bitmap getBadgedIcon(Bitmap unbadgedBitmap, ShortcutInfoCompat shortcutInfo, argument
/packages/apps/Launcher3/tests/src/com/android/launcher3/shortcuts/
H A DShortcutFilterTest.java114 public Shortcut(ShortcutInfo shortcutInfo) { argument
115 super(shortcutInfo);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutInfo.java221 public ShortcutInfo(ShortcutInfoCompat shortcutInfo, Context context) { argument
222 user = shortcutInfo.getUserHandle();
225 updateFromDeepShortcutInfo(shortcutInfo, context);
299 public void updateFromDeepShortcutInfo(ShortcutInfoCompat shortcutInfo, Context context) { argument
301 intent = shortcutInfo.makeIntent(context);
302 title = shortcutInfo.getShortLabel();
304 CharSequence label = shortcutInfo.getLongLabel();
306 label = shortcutInfo.getShortLabel();
310 if (shortcutInfo.isEnabled()) {
315 disabledMessage = shortcutInfo
330 getBadgedIcon(Bitmap unbadgedBitmap, ShortcutInfoCompat shortcutInfo, IconCache cache, Context context) argument
[all...]
H A DIconCache.java485 * Fill in {@param shortcutInfo} with the icon and label for {@param intent}. If the
488 public synchronized void getTitleAndIcon(ShortcutInfo shortcutInfo, Intent intent, argument
494 shortcutInfo.setIcon(getDefaultIcon(user));
495 shortcutInfo.title = "";
496 shortcutInfo.contentDescription = "";
497 shortcutInfo.usingFallbackIcon = true;
498 shortcutInfo.usingLowResIcon = false;
501 getTitleAndIcon(shortcutInfo, component, info, user, true, useLowResIcon);
506 * Fill in {@param shortcutInfo} with the icon and label for {@param info}
509 ShortcutInfo shortcutInfo, ComponentNam
508 getTitleAndIcon( ShortcutInfo shortcutInfo, ComponentName component, LauncherActivityInfoCompat info, UserHandleCompat user, boolean usePkgIcon, boolean useLowResIcon) argument
[all...]

Completed in 93 milliseconds