/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 | 29 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() 83 ShortcutKey key = ShortcutKey.fromItemInfo(si); in execute()
|
D | ModelDelegate.java | 28 import com.android.launcher3.shortcuts.ShortcutKey; 72 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadAndBindWorkspaceItems() argument 78 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadAndBindAllAppsItems() argument
|
D | ItemInstallQueue.java | 56 import com.android.launcher3.shortcuts.ShortcutKey; 190 public Stream<ShortcutKey> getPendingShortcuts(UserHandle user) { in getPendingShortcuts() 194 .map(item -> ShortcutKey.fromIntent(item.intent, user)); in getPendingShortcuts() 259 intent = ShortcutKey.makeIntent(info); in PendingInstallShortcutInfo() 378 List<ShortcutInfo> si = ShortcutKey.fromIntent(intent, user) in decode()
|
D | ShortcutsChangedTask.kt | 25 import com.android.launcher3.shortcuts.ShortcutKey in <lambda>() 103 .map { id: String? -> ShortcutKey(packageName, user, id) } in <lambda>()
|
D | BgDataModel.java | 56 import com.android.launcher3.shortcuts.ShortcutKey; 263 .map(ShortcutKey::fromItemInfo), in updateShortcutPinnedState() 266 .collect(groupingBy(ShortcutKey::getPackageName, in updateShortcutPinnedState() 267 mapping(ShortcutKey::getId, Collectors.toSet()))); in updateShortcutPinnedState()
|
D | WorkspaceItemProcessor.kt | 48 import com.android.launcher3.shortcuts.ShortcutKey 73 private val shortcutKeyToPinnedShortcuts: Map<ShortcutKey, ShortcutInfo>, 299 val key = ShortcutKey.fromIntent(intent, c.user) in processAppOrDeepShortcut() 412 private fun retryDeepShortcutById(key: ShortcutKey): ShortcutInfo? { in retryDeepShortcutById()
|
/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()
|
D | LayoutImportExportHelper.kt | 39 import com.android.launcher3.shortcuts.ShortcutKey in <lambda>() 115 ShortcutKey.fromItemInfo(info).let { key -> in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | QuickstepModelDelegate.java | 76 import com.android.launcher3.shortcuts.ShortcutKey; 151 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { in loadAndBindWorkspaceItems() argument 160 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { in loadAndBindAllAppsItems() argument 167 @NonNull Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, in loadAndBindItems() argument 552 private final Map<ShortcutKey, ShortcutInfo> mPinnedShortcuts; 561 PackageManagerHelper pmHelper, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, in WorkspaceItemFactory() argument 599 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/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ItemInfoMatcherTest.kt | 28 import com.android.launcher3.shortcuts.ShortcutKey 114 fun `ofShortcutKeys returns Predicate for Deep Shortcut Info containing given ShortcutKey`() { in ofShortcutKeys returns Predicate for Deep Shortcut Info containing given ShortcutKey() 135 val expectedShortcutKey = ShortcutKey.fromItemInfo(expectedItemInfo) in ofShortcutKeys returns Predicate for Deep Shortcut Info containing given ShortcutKey() 164 val expectedShortcutKey = ShortcutKey.fromItemInfo(expectedChildInfo) in forFolderMatch returns Predicate to match against children within Folder ItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | WorkspaceItemInfo.java | 36 import com.android.launcher3.shortcuts.ShortcutKey; 186 intent = ShortcutKey.makeIntent(shortcutInfo); in updateFromDeepShortcutInfo() 235 ? 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/tests/src/com/android/launcher3/model/ |
D | WorkspaceItemProcessorExtraTest.kt | 46 import com.android.launcher3.shortcuts.ShortcutKey 89 private var mKeyToPinnedShortcutsMap: MutableMap<ShortcutKey, ShortcutInfo> = mutableMapOf() 109 putExtra(ShortcutKey.EXTRA_SHORTCUT_ID, "") in setup() 270 shortcutKeyToPinnedShortcuts: Map<ShortcutKey, ShortcutInfo> = mKeyToPinnedShortcutsMap,
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | CacheableShortcutInfo.kt | 32 import com.android.launcher3.shortcuts.ShortcutKey in <lambda>() 98 ShortcutKey.fromInfo(info.shortcutInfo).componentName in getComponent()
|
/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/multivalentTests/src/com/android/launcher3/model/ |
D | WorkspaceItemProcessorTest.kt | 54 import com.android.launcher3.shortcuts.ShortcutKey 109 private var mKeyToPinnedShortcutsMap: MutableMap<ShortcutKey, ShortcutInfo> = mutableMapOf() 135 putExtra(ShortcutKey.EXTRA_SHORTCUT_ID, "") in setup() 176 shortcutKeyToPinnedShortcuts: Map<ShortcutKey, ShortcutInfo> = mKeyToPinnedShortcutsMap, in createWorkspaceItemProcessorUnderTest() 370 val shortcutKey = ShortcutKey.fromIntent(mIntent, mockCursor.user) in When valid Pinned Deep Shortcut then mark restored() 530 val shortcutKey = ShortcutKey.fromIntent(mIntent, mockCursor.user) in When valid Pinned Deep Shortcut with null intent package then use targetPkg()
|
D | ShortcutsChangedTaskTest.kt | 39 import com.android.launcher3.shortcuts.ShortcutKey in <lambda>() 84 putExtra(ShortcutKey.EXTRA_SHORTCUT_ID, expectedShortcutId) in <lambda>()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 46 import com.android.launcher3.shortcuts.ShortcutKey; 140 && ShortcutKey.fromItemInfo(info).getId().equals(mShortcutId); in testPinShortcut()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/icons/ |
D | IconCacheTest.java | 68 import com.android.launcher3.shortcuts.ShortcutKey; 189 ShortcutKey cacheKey = ShortcutKey.fromInfo(si.getShortcutInfo()); in shortcutInfo_not_cached_in_memory()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LauncherDbUtils.kt | 43 import com.android.launcher3.shortcuts.ShortcutKey in <lambda>() 239 ShortcutKey.makeIntent(info.id, context.packageName).toUri(0), in <lambda>()
|
/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 | 63 import com.android.launcher3.shortcuts.ShortcutKey; 332 .ofShortcutKeys(Collections.singleton(ShortcutKey in maybeCreateAlertDialogForShortcut()
|