Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/prediction/
DAppTarget.java69 public AppTarget(@NonNull AppTargetId id, @NonNull ShortcutInfo shortcutInfo, in AppTarget() argument
72 mShortcutInfo = Preconditions.checkNotNull(shortcutInfo); in AppTarget()
81 ShortcutInfo shortcutInfo, String className, int rank) { in AppTarget() argument
83 mShortcutInfo = shortcutInfo; in AppTarget()
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java593 public ShareShortcutInfo(@NonNull ShortcutInfo shortcutInfo, in ShareShortcutInfo() argument
595 if (shortcutInfo == null) { in ShareShortcutInfo()
602 mShortcutInfo = shortcutInfo; in ShareShortcutInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java377 private void validateExistingShortcut(ShortcutInfo shortcutInfo) { in validateExistingShortcut() argument
381 Preconditions.checkArgument(shortcutInfo.isEnabled(), in validateExistingShortcut()
382 "Shortcut ID=" + shortcutInfo + " already exists but disabled."); in validateExistingShortcut() local
DShortcutService.java2785 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconResId() local
2786 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()
2787 ? shortcutInfo.getIconResourceId() : 0; in getShortcutIconResId()
2812 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconFd() local
2813 if (shortcutInfo == null || !shortcutInfo.hasIconFile()) { in getShortcutIconFd()
2816 final String path = mShortcutBitmapSaver.getBitmapPathMayWaitLocked(shortcutInfo); in getShortcutIconFd()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1835 ShortcutInfo shortcutInfo = matchingShortcuts.get(i).getShortcutInfo();
1844 int rankIndex = scoreList.indexOf(shortcutInfo.getRank());
1849 extras.putString(Intent.EXTRA_SHORTCUT_ID, shortcutInfo.getId());
1850 ChooserTarget chooserTarget = new ChooserTarget(shortcutInfo.getShortLabel(),