Lines Matching refs:shortcutInfo
485 * Fill in {@param shortcutInfo} with the icon and label for {@param intent}. If the
488 public synchronized void getTitleAndIcon(ShortcutInfo shortcutInfo, Intent intent,
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, ComponentName component, LauncherActivityInfoCompat info,
512 shortcutInfo.setIcon(getNonNullIcon(entry, user));
513 shortcutInfo.title = Utilities.trim(entry.title);
514 shortcutInfo.contentDescription = entry.contentDescription;
515 shortcutInfo.usingFallbackIcon = isDefaultIcon(entry.icon, user);
516 shortcutInfo.usingLowResIcon = entry.isLowResIcon;