Searched refs:shortcutInfo (Results 1 – 5 of 5) sorted by relevance
69 public AppTarget(@NonNull AppTargetId id, @NonNull ShortcutInfo shortcutInfo, in AppTarget() argument72 mShortcutInfo = Preconditions.checkNotNull(shortcutInfo); in AppTarget()81 ShortcutInfo shortcutInfo, String className, int rank) { in AppTarget() argument83 mShortcutInfo = shortcutInfo; in AppTarget()
593 public ShareShortcutInfo(@NonNull ShortcutInfo shortcutInfo, in ShareShortcutInfo() argument595 if (shortcutInfo == null) { in ShareShortcutInfo()602 mShortcutInfo = shortcutInfo; in ShareShortcutInfo()
377 private void validateExistingShortcut(ShortcutInfo shortcutInfo) { in validateExistingShortcut() argument381 Preconditions.checkArgument(shortcutInfo.isEnabled(), in validateExistingShortcut()382 "Shortcut ID=" + shortcutInfo + " already exists but disabled."); in validateExistingShortcut() local
2785 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconResId() local2786 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()2787 ? shortcutInfo.getIconResourceId() : 0; in getShortcutIconResId()2812 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconFd() local2813 if (shortcutInfo == null || !shortcutInfo.hasIconFile()) { in getShortcutIconFd()2816 final String path = mShortcutBitmapSaver.getBitmapPathMayWaitLocked(shortcutInfo); in getShortcutIconFd()
1589 ShortcutInfo shortcutInfo = shareShortcut.getShortcutInfo();1591 extras.putString(Intent.EXTRA_SHORTCUT_ID, shortcutInfo.getId());1594 shortcutInfo.getShortLabel(),