Lines Matching refs:ShortcutInfo
24 import android.content.pm.ShortcutInfo;
60 public static List<ShortcutInfo> parseShortcuts(ShortcutService service,
71 List<ShortcutInfo> result = null;
99 private static List<ShortcutInfo> parseShortcutsOneFile(
102 List<ShortcutInfo> result) throws IOException, XmlPullParserException {
125 // We instantiate ShortcutInfo at <shortcut>, but we add it to the list at </shortcut>,
127 ShortcutInfo currentShortcut = null;
144 final ShortcutInfo si = currentShortcut;
206 final ShortcutInfo si = parseShortcutAttributes(
287 private static ShortcutInfo parseShortcutAttributes(ShortcutService service,
331 private static ShortcutInfo createShortcutFromManifest(ShortcutService service,
337 (enabled ? ShortcutInfo.FLAG_MANIFEST : ShortcutInfo.FLAG_DISABLED)
338 | ShortcutInfo.FLAG_IMMUTABLE
339 | ((iconResId != 0) ? ShortcutInfo.FLAG_HAS_ICON_RES : 0);
343 return new ShortcutInfo(