Searched refs:shortcutKey (Results 1 – 3 of 3) sorted by relevance
112 for (ShortcutKey shortcutKey : shortcutKeys) { in handleWorkerMessage()113 WorkspaceItemInfo workspaceItemInfo = loadShortcutWorker(shortcutKey); in handleWorkerMessage()115 shortcutKeyAndInfos.put(shortcutKey, workspaceItemInfo); in handleWorkerMessage()169 private WorkspaceItemInfo loadShortcutWorker(ShortcutKey shortcutKey) { in loadShortcutWorker() argument170 List<ShortcutInfo> details = shortcutKey.buildRequest(mContext).query(ShortcutRequest.ALL); in loadShortcutWorker()177 Log.d(TAG, "No shortcut found: " + shortcutKey.toString()); in loadShortcutWorker()
104 ShortcutKey shortcutKey = ShortcutKey.fromItemInfo(info); in getAppTargetFromInfo() local106 return new AppTarget.Builder(new AppTargetId("shortcut:" + shortcutKey.getId()), in getAppTargetFromInfo()107 shortcutKey.componentName.getPackageName(), shortcutKey.user).build(); in getAppTargetFromInfo()
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()