Searched refs:shortcutInfo (Results 1 – 2 of 2) sorted by relevance
375 private void validateExistingShortcut(ShortcutInfo shortcutInfo) { in validateExistingShortcut() argument379 Preconditions.checkArgument(shortcutInfo.isEnabled(), in validateExistingShortcut()380 "Shortcut ID=" + shortcutInfo + " already exists but disabled."); in validateExistingShortcut() local
2568 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconResId() local2569 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()2570 ? shortcutInfo.getIconResourceId() : 0; in getShortcutIconResId()2595 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconFd() local2596 if (shortcutInfo == null || !shortcutInfo.hasIconFile()) { in getShortcutIconFd()2599 final String path = mShortcutBitmapSaver.getBitmapPathMayWaitLocked(shortcutInfo); in getShortcutIconFd()