HomeSort by relevance Sort by last modified time
    Searched refs:ShortcutKey (Results 1 - 10 of 10) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
ShortcutKey.java 13 public class ShortcutKey extends ComponentKey {
15 public ShortcutKey(String packageName, UserHandle user, String id) {
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) {
ShortcutCache.java 39 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) {
DeepShortcutManager.java 106 public void unpinShortcut(final ShortcutKey key) {
128 public void pinShortcut(final ShortcutKey key) {
  /packages/apps/Launcher3/src/com/android/launcher3/model/
UserLockStateChangedTask.java 31 import com.android.launcher3.shortcuts.ShortcutKey;
56 HashMap<ShortcutKey, ShortcutInfoCompat> pinnedShortcuts = new HashMap<>();
62 pinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), shortcut);
80 ShortcutInfoCompat shortcut = pinnedShortcuts.get(ShortcutKey.fromItemInfo(si));
BgDataModel.java 35 import com.android.launcher3.shortcuts.ShortcutKey;
91 * Map of ShortcutKey to the number of times it is pinned.
93 public final Map<ShortcutKey, MutableInt> pinnedShortcutCounts = new HashMap<>();
260 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item);
291 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
ItemInfoMatcher.java 27 import com.android.launcher3.shortcuts.ShortcutKey;
98 public static ItemInfoMatcher ofShortcutKeys(final HashSet<ShortcutKey> keys) {
103 keys.contains(ShortcutKey.fromItemInfo(info));
  /packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
RequestPinItemTest.java 39 import com.android.launcher3.shortcuts.ShortcutKey;
139 ShortcutKey.fromItemInfo(info).getId().equals(mShortcutId);
  /packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java 43 import com.android.launcher3.shortcuts.ShortcutKey;
225 public static HashSet<ShortcutKey> getPendingShortcuts(Context context) {
226 HashSet<ShortcutKey> result = new HashSet<>();
237 result.add(ShortcutKey.fromIntent(decoder.launcherIntent, decoder.user));
LauncherModel.java 73 import com.android.launcher3.shortcuts.ShortcutKey;
    [all...]
Launcher.java 114 import com.android.launcher3.shortcuts.ShortcutKey;
    [all...]

Completed in 190 milliseconds