Searched refs:shortcutKey (Results 1 – 3 of 3) sorted by relevance
63 ShortcutKey shortcutKey = ShortcutKey.fromItemInfo(info); in getAppTargetFromItemInfo() local65 return new AppTarget.Builder(new AppTargetId("shortcut:" + shortcutKey.getId()), in getAppTargetFromItemInfo()66 shortcutKey.componentName.getPackageName(), shortcutKey.user).build(); in getAppTargetFromItemInfo()
768 final Key shortcutKey = keyboard.getKey(Constants.CODE_SHORTCUT); in updateShortcutKey() local769 if (shortcutKey == null) { in updateShortcutKey()772 shortcutKey.setEnabled(available); in updateShortcutKey()773 invalidateKey(shortcutKey); in updateShortcutKey()
374 val shortcutKey = ShortcutKey.fromIntent(intent, mockCursor.user) in When valid Pinned Deep Shortcut then mark restored() constant375 mKeyToPinnedShortcutsMap[shortcutKey] = expectedShortcutInfo 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() constant439 mKeyToPinnedShortcutsMap[shortcutKey] = expectedShortcutInfo in When valid Pinned Deep Shortcut with null intent package then use targetPkg()