Searched refs:ShortcutKey (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DShortcutKey.java13 public class ShortcutKey extends ComponentKey { class in inherits:ComponentKey
15 public ShortcutKey(String packageName, UserHandleCompat user, String id) { method in class:ShortcutKey
24 public static ShortcutKey fromInfo(ShortcutInfoCompat shortcutInfo) {
25 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(),
29 public static ShortcutKey fromIntent(Intent intent, UserHandleCompat user) {
32 return new ShortcutKey(intent.getPackage(), user, shortcutId);
35 public static ShortcutKey fromShortcutInfo(ShortcutInfo info) {
H A DShortcutCache.java39 private LruCache<ShortcutKey, ShortcutInfoCompat> mCachedShortcuts;
41 private HashMap<ShortcutKey, ShortcutInfoCompat> mPinnedShortcuts;
57 ShortcutKey key = ShortcutKey.fromInfo(shortcut);
63 public ShortcutInfoCompat get(ShortcutKey key) {
70 public void put(ShortcutKey key, ShortcutInfoCompat shortcut) {
H A DDeepShortcutManager.java98 public void unpinShortcut(final ShortcutKey key) {
120 public void pinShortcut(final ShortcutKey key) {
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DItemInfoMatcher.java25 import com.android.launcher3.shortcuts.ShortcutKey;
56 public static ItemInfoMatcher ofShortcutKeys(final HashSet<ShortcutKey> keys) {
61 keys.contains(ShortcutKey.fromShortcutInfo((ShortcutInfo) info));
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherModel.java67 import com.android.launcher3.shortcuts.ShortcutKey;
189 static final Map<ShortcutKey, MutableInt> sBgPinnedShortcutCounts = new HashMap<>();
936 ShortcutKey.fromShortcutInfo((ShortcutInfo) item),
1006 decrementPinnedShortcutCount(ShortcutKey.fromShortcutInfo(
1028 private static void decrementPinnedShortcutCount(final ShortcutKey pinnedShortcut) {
1043 private static void incrementPinnedShortcutCount(ShortcutKey pinnedShortcut, boolean shouldPin) {
1707 Map<ShortcutKey, ShortcutInfoCompat> shortcutKeyToPinnedShortcuts = new HashMap<>();
1766 shortcutKeyToPinnedShortcuts.put(ShortcutKey.fromInfo(shortcut),
1963 ShortcutKey key = ShortcutKey
[all...]
H A DLauncher.java116 import com.android.launcher3.shortcuts.ShortcutKey;
4150 HashSet<ShortcutKey> removedDeepShortcuts = new HashSet<>();
4154 removedDeepShortcuts.add(ShortcutKey.fromShortcutInfo(si));

Completed in 175 milliseconds