/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutKey.java | 15 public class ShortcutKey extends ComponentKey { class 20 public ShortcutKey(String packageName, UserHandle user, String id) { in ShortcutKey() method in ShortcutKey 25 public ShortcutKey(ComponentName componentName, UserHandle user) { in ShortcutKey() method in ShortcutKey 45 public static ShortcutKey fromInfo(ShortcutInfo shortcutInfo) { in fromInfo() 46 return new ShortcutKey(shortcutInfo.getPackage(), shortcutInfo.getUserHandle(), in fromInfo() 50 public static ShortcutKey fromIntent(Intent intent, UserHandle user) { in fromIntent() 52 return new ShortcutKey(intent.getPackage(), user, shortcutId); in fromIntent() 55 public static ShortcutKey fromItemInfo(ItemInfo info) { in fromItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | UserLockStateChangedTask.java | 27 import com.android.launcher3.shortcuts.ShortcutKey; 55 HashMap<ShortcutKey, ShortcutInfo> pinnedShortcuts = new HashMap<>(); in execute() 61 pinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), shortcut); in execute() 73 HashSet<ShortcutKey> removedKeys = new HashSet<>(); in execute() 79 ShortcutKey key = ShortcutKey.fromItemInfo(si); in execute()
|
D | ItemInstallQueue.java | 50 import com.android.launcher3.shortcuts.ShortcutKey; 181 public Stream<ShortcutKey> getPendingShortcuts(UserHandle user) { in getPendingShortcuts() 185 .map(item -> ShortcutKey.fromIntent(item.intent, user)); in getPendingShortcuts() 254 intent = ShortcutKey.makeIntent(info); in PendingInstallShortcutInfo() 367 List<ShortcutInfo> si = ShortcutKey.fromIntent(intent, user) in decode()
|
D | ModelDelegate.java | 27 import com.android.launcher3.shortcuts.ShortcutKey; 74 public void loadItems(UserManagerState ums, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadItems() argument
|
D | BgDataModel.java | 44 import com.android.launcher3.shortcuts.ShortcutKey; 292 .map(ShortcutKey::fromItemInfo), in updateShortcutPinnedState() 295 .collect(groupingBy(ShortcutKey::getPackageName, in updateShortcutPinnedState() 296 mapping(ShortcutKey::getId, Collectors.toSet()))); in updateShortcutPinnedState()
|
D | ShortcutsChangedTask.java | 25 import com.android.launcher3.shortcuts.ShortcutKey; 110 .map(id -> new ShortcutKey(mPackageName, mUser, id)) in execute()
|
D | LoaderTask.java | 84 import com.android.launcher3.shortcuts.ShortcutKey; 362 Map<ShortcutKey, ShortcutInfo> shortcutKeyToPinnedShortcuts = new HashMap<>(); in loadWorkspace() 399 shortcutKeyToPinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), in loadWorkspace() 543 ShortcutKey key = ShortcutKey.fromIntent(intent, c.user); in loadWorkspace()
|
D | LoaderCursor.java | 55 import com.android.launcher3.shortcuts.ShortcutKey; 401 ShortcutKey.fromItemInfo(info); in checkAndAddItem()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | QuickstepModelDelegate.java | 56 import com.android.launcher3.shortcuts.ShortcutKey; 102 public void loadItems(UserManagerState ums, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { in loadItems() argument 326 private final Map<ShortcutKey, ShortcutInfo> mPinnedShortcuts; 332 Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, int maxCount) { in WorkspaceItemFactory() argument 359 ShortcutKey key = ShortcutKey.fromIntent(intent, user); in createInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ItemInfoMatcher.java | 24 import com.android.launcher3.shortcuts.ShortcutKey; 81 static ItemInfoMatcher ofShortcutKeys(Set<ShortcutKey> keys) { in ofShortcutKeys() 83 keys.contains(ShortcutKey.fromItemInfo(info)); in ofShortcutKeys()
|
D | ShortcutUtil.java | 23 import com.android.launcher3.shortcuts.ShortcutKey; 45 ? ShortcutKey.fromItemInfo(info).getId() : null; in getShortcutIdIfPinnedShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | WorkspaceItemInfo.java | 32 import com.android.launcher3.shortcuts.ShortcutKey; 161 intent = ShortcutKey.makeIntent(shortcutInfo); in updateFromDeepShortcutInfo() 184 ? getIntent().getStringExtra(ShortcutKey.EXTRA_SHORTCUT_ID) : null; in getDeepShortcutId()
|
D | ItemInfo.java | 36 import static com.android.launcher3.shortcuts.ShortcutKey.EXTRA_SHORTCUT_ID;
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatPredictionModel.java | 34 import com.android.launcher3.shortcuts.ShortcutKey; 93 ShortcutKey shortcutKey = ShortcutKey.fromItemInfo(info); in getAppTargetFromInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | ShortcutCachingLogic.java | 36 import com.android.launcher3.shortcuts.ShortcutKey; 48 return ShortcutKey.fromInfo(info).componentName; in getComponent()
|
D | IconCache.java | 54 import com.android.launcher3.shortcuts.ShortcutKey; 224 bitmapInfo = cacheLocked(ShortcutKey.fromInfo(si).componentName, si.getUserHandle(), in getShortcutIcon()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 37 import com.android.launcher3.shortcuts.ShortcutKey; 124 ShortcutKey.fromItemInfo(info).getId().equals(mShortcutId); in testPinShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 84 import com.android.launcher3.shortcuts.ShortcutKey; 688 List<ShortcutInfo> si = ShortcutKey.fromItemInfo(info) in loadFullDrawableWithoutTheme()
|