Home
last modified time | relevance | path

Searched refs:shortcutInfo (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsAndShortcutNameComparator.java79 ResolveInfo shortcutInfo = (ResolveInfo) o; in getComponentKey() local
80 ComponentName cn = new ComponentName(shortcutInfo.activityInfo.packageName, in getComponentKey()
81 shortcutInfo.activityInfo.name); in getComponentKey()
95 ResolveInfo shortcutInfo = (ResolveInfo) o; in getLabel() local
97 return Utilities.trim(shortcutInfo.loadLabel(mPackageManager)); in getLabel()
/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java478 public synchronized void getTitleAndIcon(ShortcutInfo shortcutInfo, Intent intent, in getTitleAndIcon() argument
484 shortcutInfo.setIcon(getDefaultIcon(user)); in getTitleAndIcon()
485 shortcutInfo.title = ""; in getTitleAndIcon()
486 shortcutInfo.usingFallbackIcon = true; in getTitleAndIcon()
487 shortcutInfo.usingLowResIcon = false; in getTitleAndIcon()
490 getTitleAndIcon(shortcutInfo, component, info, user, true, useLowResIcon); in getTitleAndIcon()
498 ShortcutInfo shortcutInfo, ComponentName component, LauncherActivityInfoCompat info, in getTitleAndIcon() argument
501 shortcutInfo.setIcon(getNonNullIcon(entry, user)); in getTitleAndIcon()
502 shortcutInfo.title = Utilities.trim(entry.title); in getTitleAndIcon()
503 shortcutInfo.usingFallbackIcon = isDefaultIcon(entry.icon, user); in getTitleAndIcon()
[all …]