Searched refs:ShortcutKey (Results 1 - 11 of 11) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
H A D | ShortcutKey.java | 13 public class ShortcutKey extends ComponentKey { class in inherits:ComponentKey 15 public ShortcutKey(String packageName, UserHandle 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, UserHandle user) { 32 return new ShortcutKey(intent.getPackage(), user, shortcutId); 35 public static ShortcutKey fromItemInfo(ItemInfo info) {
|
H A D | ShortcutCache.java | 35 private final LruCache<ShortcutKey, ShortcutInfoCompat> mCachedShortcuts; 37 private final ArrayMap<ShortcutKey, ShortcutInfoCompat> mPinnedShortcuts; 53 ShortcutKey key = ShortcutKey.fromInfo(shortcut); 59 public ShortcutInfoCompat get(ShortcutKey key) { 66 public void put(ShortcutKey key, ShortcutInfoCompat shortcut) {
|
H A D | DeepShortcutManager.java | 108 public void unpinShortcut(final ShortcutKey key) { 130 public void pinShortcut(final ShortcutKey key) {
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | ShortcutsChangedTask.java | 29 import com.android.launcher3.shortcuts.ShortcutKey; 62 HashSet<ShortcutKey> removedKeys = new HashSet<>(); 63 MultiHashMap<ShortcutKey, ShortcutInfo> keyToShortcutInfo = new MultiHashMap<>(); 70 keyToShortcutInfo.addToList(ShortcutKey.fromItemInfo(si), si); 82 ShortcutKey key = ShortcutKey.fromInfo(fullDetails);
|
H A D | UserLockStateChangedTask.java | 30 import com.android.launcher3.shortcuts.ShortcutKey; 57 HashMap<ShortcutKey, ShortcutInfoCompat> pinnedShortcuts = new HashMap<>(); 63 pinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), shortcut); 75 HashSet<ShortcutKey> removedKeys = new HashSet<>(); 82 ShortcutKey key = ShortcutKey.fromItemInfo(si);
|
H A D | BgDataModel.java | 37 import com.android.launcher3.shortcuts.ShortcutKey; 89 * Map of ShortcutKey to the number of times it is pinned. 91 public final Map<ShortcutKey, MutableInt> pinnedShortcutCounts = new HashMap<>(); 268 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item); 299 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item);
|
H A D | LoaderTask.java | 63 import com.android.launcher3.shortcuts.ShortcutKey; 261 Map<ShortcutKey, ShortcutInfoCompat> shortcutKeyToPinnedShortcuts = new HashMap<>(); 297 shortcutKeyToPinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), 457 ShortcutKey key = ShortcutKey.fromIntent(intent, c.user); 710 HashSet<ShortcutKey> pendingShortcuts = 712 for (ShortcutKey key : shortcutKeyToPinnedShortcuts.keySet()) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | ItemInfoMatcher.java | 28 import com.android.launcher3.shortcuts.ShortcutKey; 125 public static ItemInfoMatcher ofShortcutKeys(final HashSet<ShortcutKey> keys) { 130 keys.contains(ShortcutKey.fromItemInfo(info));
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
H A D | RequestPinItemTest.java | 36 import com.android.launcher3.shortcuts.ShortcutKey; 137 ShortcutKey.fromItemInfo(info).getId().equals(mShortcutId);
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | DragView.java | 64 import com.android.launcher3.shortcuts.ShortcutKey; 330 ShortcutKey key = ShortcutKey.fromItemInfo(info);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InstallShortcutReceiver.java | 44 import com.android.launcher3.shortcuts.ShortcutKey; 236 public static HashSet<ShortcutKey> getPendingShortcuts(Context context) { 237 HashSet<ShortcutKey> result = new HashSet<>(); 248 result.add(ShortcutKey.fromIntent(decoder.launcherIntent, decoder.user));
|
Completed in 7649 milliseconds