Home
last modified time | relevance | path

Searched refs:shortcutKey (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DPredictionHelper.java63 ShortcutKey shortcutKey = ShortcutKey.fromItemInfo(info); in getAppTargetFromItemInfo() local
65 return new AppTarget.Builder(new AppTargetId("shortcut:" + shortcutKey.getId()), in getAppTargetFromItemInfo()
66 shortcutKey.componentName.getPackageName(), shortcutKey.user).build(); in getAppTargetFromItemInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java768 final Key shortcutKey = keyboard.getKey(Constants.CODE_SHORTCUT); in updateShortcutKey() local
769 if (shortcutKey == null) { in updateShortcutKey()
772 shortcutKey.setEnabled(available); in updateShortcutKey()
773 invalidateKey(shortcutKey); in updateShortcutKey()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DWorkspaceItemProcessorTest.kt374 val shortcutKey = ShortcutKey.fromIntent(intent, mockCursor.user) in When valid Pinned Deep Shortcut then mark restored() constant
375 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() constant
439 mKeyToPinnedShortcutsMap[shortcutKey] = expectedShortcutInfo in When valid Pinned Deep Shortcut with null intent package then use targetPkg()