/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutKey.java | 14 public class ShortcutKey extends ComponentKey { class 19 public ShortcutKey(String packageName, UserHandle user, String id) { in ShortcutKey() method in ShortcutKey 24 public ShortcutKey(ComponentName componentName, UserHandle user) { in ShortcutKey() method in ShortcutKey 32 public static ShortcutKey fromInfo(ShortcutInfo shortcutInfo) { in fromInfo() 33 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(), in fromInfo() 37 public static ShortcutKey fromIntent(Intent intent, UserHandle user) { in fromIntent() 39 return new ShortcutKey(intent.getPackage(), user, shortcutId); in fromIntent() 42 public static ShortcutKey fromItemInfo(ItemInfo info) { in fromItemInfo()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | DynamicItemCache.java | 39 import com.android.launcher3.shortcuts.ShortcutKey; 75 private final Map<ShortcutKey, WorkspaceItemInfo> mShortcuts; 89 public void cacheItems(List<ShortcutKey> shortcutKeys, List<String> pkgNames) { in cacheItems() 103 List<ShortcutKey> shortcutKeys = msg.obj != null ? in handleWorkerMessage() 104 (List<ShortcutKey>) msg.obj : Collections.EMPTY_LIST; in handleWorkerMessage() 105 Map<ShortcutKey, WorkspaceItemInfo> shortcutKeyAndInfos = new ArrayMap<>(); in handleWorkerMessage() 106 for (ShortcutKey shortcutKey : shortcutKeys) { in handleWorkerMessage() 139 mShortcuts.putAll((Map<ShortcutKey, WorkspaceItemInfo>) msg.obj); in handleUiMessage() 163 private WorkspaceItemInfo loadShortcutWorker(ShortcutKey shortcutKey) { in loadShortcutWorker() 239 public WorkspaceItemInfo getShortcutInfo(ShortcutKey key) { in getShortcutInfo()
|
D | PredictionUiStateManager.java | 40 import com.android.launcher3.shortcuts.ShortcutKey; 233 key = ShortcutKey.fromInfo(appTarget.getShortcutInfo()); in parseLastState() 252 List<ShortcutKey> shortcutsToLoad = new ArrayList<>(); in updateDependencies() 260 } else if (mapper.getComponentKey() instanceof ShortcutKey) { in updateDependencies() 261 shortcutsToLoad.add((ShortcutKey) mapper.getComponentKey()); in updateDependencies()
|
D | ComponentKeyMapper.java | 26 import com.android.launcher3.shortcuts.ShortcutKey; 64 } else if (componentKey instanceof ShortcutKey) { in getApp() 65 return mCache.getShortcutInfo((ShortcutKey) componentKey); in getApp()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ShortcutsChangedTask.java | 29 import com.android.launcher3.shortcuts.ShortcutKey; 61 HashSet<ShortcutKey> removedKeys = new HashSet<>(); in execute() 62 MultiHashMap<ShortcutKey, WorkspaceItemInfo> keyToShortcutInfo = new MultiHashMap<>(); in execute() 69 keyToShortcutInfo.addToList(ShortcutKey.fromItemInfo(si), si); in execute() 81 ShortcutKey key = ShortcutKey.fromInfo(fullDetails); in execute()
|
D | UserLockStateChangedTask.java | 32 import com.android.launcher3.shortcuts.ShortcutKey; 59 HashMap<ShortcutKey, ShortcutInfo> pinnedShortcuts = new HashMap<>(); in execute() 65 pinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), shortcut); in execute() 77 HashSet<ShortcutKey> removedKeys = new HashSet<>(); in execute() 84 ShortcutKey key = ShortcutKey.fromItemInfo(si); in execute()
|
D | BgDataModel.java | 38 import com.android.launcher3.shortcuts.ShortcutKey; 88 public final Map<ShortcutKey, MutableInt> pinnedShortcutCounts = new HashMap<>(); 278 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item); in removeItem() 309 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item); in addItem()
|
D | LoaderTask.java | 70 import com.android.launcher3.shortcuts.ShortcutKey; 288 Map<ShortcutKey, ShortcutInfo> shortcutKeyToPinnedShortcuts = new HashMap<>(); in loadWorkspace() 324 shortcutKeyToPinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), in loadWorkspace() 474 ShortcutKey key = ShortcutKey.fromIntent(intent, c.user); in loadWorkspace() 734 HashSet<ShortcutKey> pendingShortcuts = in loadWorkspace() 736 for (ShortcutKey key : shortcutKeyToPinnedShortcuts.keySet()) { in loadWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ItemInfoMatcher.java | 27 import com.android.launcher3.shortcuts.ShortcutKey; 103 static ItemInfoMatcher ofShortcutKeys(HashSet<ShortcutKey> keys) { in ofShortcutKeys() 105 keys.contains(ShortcutKey.fromItemInfo(info)); in ofShortcutKeys()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WorkspaceItemInfo.java | 27 import com.android.launcher3.shortcuts.ShortcutKey; 164 intent = ShortcutKey.makeIntent(shortcutInfo); in updateFromDeepShortcutInfo() 183 getIntent().getStringExtra(ShortcutKey.EXTRA_SHORTCUT_ID) : null; in getDeepShortcutId()
|
D | InstallShortcutReceiver.java | 48 import com.android.launcher3.shortcuts.ShortcutKey; 268 public static HashSet<ShortcutKey> getPendingShortcuts(Context context) { in getPendingShortcuts() 269 HashSet<ShortcutKey> result = new HashSet<>(); in getPendingShortcuts() 280 result.add(ShortcutKey.fromIntent(decoder.launcherIntent, decoder.user)); in getPendingShortcuts() 384 launchIntent = ShortcutKey.makeIntent(info); in PendingInstallShortcutInfo() 543 ShortcutKey.EXTRA_SHORTCUT_ID)), in decode()
|
D | Utilities.java | 75 import com.android.launcher3.shortcuts.ShortcutKey; 678 ShortcutKey key = ShortcutKey.fromItemInfo(info); in getFullDrawable()
|
/packages/apps/Launcher3/go/src/com/android/launcher3/shortcuts/ |
D | DeepShortcutManager.java | 86 public void unpinShortcut(final ShortcutKey key) { in unpinShortcut() 93 public void pinShortcut(final ShortcutKey key) { in pinShortcut()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 38 import com.android.launcher3.shortcuts.ShortcutKey; 121 ShortcutKey.fromItemInfo(info).getId().equals(mShortcutId); in testPinShortcut()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/ |
D | DeepShortcutManager.java | 102 public void unpinShortcut(final ShortcutKey key) { in unpinShortcut() 121 public void pinShortcut(final ShortcutKey key) { in pinShortcut()
|