/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 | 30 import com.android.launcher3.shortcuts.ShortcutKey; 61 HashMap<ShortcutKey, ShortcutInfo> pinnedShortcuts = new HashMap<>(); in execute() 67 pinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), shortcut); in execute() 79 HashSet<ShortcutKey> removedKeys = new HashSet<>(); in execute() 85 ShortcutKey key = ShortcutKey.fromItemInfo(si); in execute()
|
D | ModelDelegate.java | 28 import com.android.launcher3.shortcuts.ShortcutKey; 89 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadAndBindWorkspaceItems() argument 95 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadAndBindAllAppsItems() argument
|
D | ItemInstallQueue.java | 52 import com.android.launcher3.shortcuts.ShortcutKey; 187 public Stream<ShortcutKey> getPendingShortcuts(UserHandle user) { in getPendingShortcuts() 191 .map(item -> ShortcutKey.fromIntent(item.intent, user)); in getPendingShortcuts() 260 intent = ShortcutKey.makeIntent(info); in PendingInstallShortcutInfo() 378 List<ShortcutInfo> si = ShortcutKey.fromIntent(intent, user) in decode()
|
D | ShortcutsChangedTask.java | 28 import com.android.launcher3.shortcuts.ShortcutKey; 124 .map(id -> new ShortcutKey(mPackageName, mUser, id)) in execute()
|
D | BgDataModel.java | 54 import com.android.launcher3.shortcuts.ShortcutKey; 338 .map(ShortcutKey::fromItemInfo), in updateShortcutPinnedState() 341 .collect(groupingBy(ShortcutKey::getPackageName, in updateShortcutPinnedState() 342 mapping(ShortcutKey::getId, Collectors.toSet()))); in updateShortcutPinnedState()
|
D | WorkspaceItemProcessor.kt | 46 import com.android.launcher3.shortcuts.ShortcutKey 69 private val shortcutKeyToPinnedShortcuts: Map<ShortcutKey, ShortcutInfo>, 266 val key = ShortcutKey.fromIntent(intent, c.user) in processAppOrDeepShortcut()
|
D | LoaderCursor.java | 54 import com.android.launcher3.shortcuts.ShortcutKey; 493 ShortcutKey.fromItemInfo(info); in checkAndAddItem()
|
D | LoaderTask.java | 90 import com.android.launcher3.shortcuts.ShortcutKey; 149 private Map<ShortcutKey, ShortcutInfo> mShortcutKeyToPinnedShortcuts; 542 mShortcutKeyToPinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), in queryPinnedShortcutsForUnlockedUsers()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ItemInfoMatcher.java | 27 import com.android.launcher3.shortcuts.ShortcutKey; 59 public static Predicate<ItemInfo> ofShortcutKeys(Set<ShortcutKey> keys) { in ofShortcutKeys() 61 && keys.contains(ShortcutKey.fromItemInfo(info)); in ofShortcutKeys()
|
D | ShortcutUtil.java | 24 import com.android.launcher3.shortcuts.ShortcutKey; 46 ? ShortcutKey.fromItemInfo(info).getId() : null; in getShortcutIdIfPinnedShortcut()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | QuickstepModelDelegate.java | 72 import com.android.launcher3.shortcuts.ShortcutKey; 132 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { in loadAndBindWorkspaceItems() argument 141 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { in loadAndBindAllAppsItems() argument 148 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, in loadAndBindItems() argument 536 private final Map<ShortcutKey, ShortcutInfo> mPinnedShortcuts; 543 PackageManagerHelper pmHelper, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, in WorkspaceItemFactory() argument 579 ShortcutKey key = ShortcutKey.fromIntent(intent, user); in createInfo()
|
D | PredictionHelper.java | 34 import com.android.launcher3.shortcuts.ShortcutKey; 63 ShortcutKey shortcutKey = ShortcutKey.fromItemInfo(info); in getAppTargetFromItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | WorkspaceItemInfo.java | 35 import com.android.launcher3.shortcuts.ShortcutKey; 179 intent = ShortcutKey.makeIntent(shortcutInfo); in updateFromDeepShortcutInfo() 217 ? getIntent().getStringExtra(ShortcutKey.EXTRA_SHORTCUT_ID) : null; in getDeepShortcutId()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | LauncherDbUtilsTest.java | 50 import com.android.launcher3.shortcuts.ShortcutKey; 136 ShortcutKey key = ShortcutKey.fromIntent( in migrateLegacyShortcuts_success()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | ShortcutCachingLogic.java | 37 import com.android.launcher3.shortcuts.ShortcutKey; 50 return ShortcutKey.fromInfo(info).componentName; in getComponent()
|
D | IconCache.java | 68 import com.android.launcher3.shortcuts.ShortcutKey; 273 BitmapInfo bitmapInfo = cacheLocked(ShortcutKey.fromInfo(si).componentName, in getShortcutIcon()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/util/ |
D | SplitSelectDataHolderTest.kt | 28 import com.android.launcher3.shortcuts.ShortcutKey 77 sampleShortcut.putExtra(ShortcutKey.EXTRA_SHORTCUT_ID, "sampleShortcut") in setup() 78 sampleShortcut2.putExtra(ShortcutKey.EXTRA_SHORTCUT_ID, "sampleShortcut2") in setup()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | TaplRequestPinItemTest.java | 39 import com.android.launcher3.shortcuts.ShortcutKey; 124 ShortcutKey.fromItemInfo(info).getId().equals(mShortcutId); in testPinShortcut()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | WorkspaceItemProcessorTest.kt | 53 import com.android.launcher3.shortcuts.ShortcutKey 98 private var mKeyToPinnedShortcutsMap: MutableMap<ShortcutKey, ShortcutInfo> = mutableMapOf() 119 putExtra(ShortcutKey.EXTRA_SHORTCUT_ID, "") in setup() 184 shortcutKeyToPinnedShortcuts: Map<ShortcutKey, ShortcutInfo> = mKeyToPinnedShortcutsMap, in createWorkspaceItemProcessorUnderTest() 374 val shortcutKey = ShortcutKey.fromIntent(intent, mockCursor.user) in When valid Pinned Deep Shortcut then mark restored() 438 val shortcutKey = ShortcutKey.fromIntent(intent, mockCursor.user) in When valid Pinned Deep Shortcut with null intent package then use targetPkg()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LauncherDbUtils.java | 44 import com.android.launcher3.shortcuts.ShortcutKey; 170 ShortcutKey.makeIntent(info.getId(), context.getPackageName()).toUri(0)); in migrateLegacyShortcuts()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitSelectDataHolder.kt | 33 import com.android.launcher3.shortcuts.ShortcutKey 203 val shortcutId = intent.getStringExtra(ShortcutKey.EXTRA_SHORTCUT_ID) ?: return null in getShortcutInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemClickHandler.java | 64 import com.android.launcher3.shortcuts.ShortcutKey; 351 .ofShortcutKeys(Collections.singleton(ShortcutKey in maybeCreateAlertDialogForShortcut()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/ |
D | DevOptionsUiHelper.kt | 70 import com.android.launcher3.shortcuts.ShortcutKey in <lambda>() 496 ShortcutKey.fromItemInfo(info).let { key -> in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 57 import com.android.launcher3.shortcuts.ShortcutKey; 460 Intent intent = ShortcutKey.makeIntent(shortcutId, packageName); in parseAndAdd()
|