Searched refs:shortcutManager (Results 1 – 8 of 8) sorted by relevance
99 ShortcutManager shortcutManager = getShortcutManager(context); in refresh() local104 shortcutManager.removeAllDynamicShortcuts(); in refresh()112 shortcutManager.getMaxShortcutCountPerActivity() in refresh()113 - shortcutManager.getManifestShortcuts().size()); in refresh()133 List<ShortcutInfo> oldDynamicShortcuts = new ArrayList<>(shortcutManager.getDynamicShortcuts()); in refresh()153 ShortcutManager shortcutManager = getShortcutManager(context); in updateIcons() local156 shortcutManager.getMaxShortcutCountPerActivity() in updateIcons()157 - shortcutManager.getManifestShortcuts().size(); in updateIcons()161 for (ShortcutInfo oldInfo : shortcutManager.getDynamicShortcuts()) { in updateIcons()168 shortcutManager.setDynamicShortcuts(newShortcuts); in updateIcons()[all …]
97 ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in refresh() local98 for (ShortcutInfo shortcutInfo : shortcutManager.getPinnedShortcuts()) { in refresh()151 ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in applyDelta() local155 shortcutManager.disableShortcuts(delta.shortcutIdsToDisable, shortcutDisabledMessage); in applyDelta()160 if (!shortcutManager.updateShortcuts( in applyDelta()
96 ShortcutManager shortcutManager = in doInBackground() local102 shortcutManager.reportShortcutUsed(lookupKey); in doInBackground()
129 final ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in refreshExistingShortcuts() local130 final List<ShortcutInfo> pinnedShortcuts = shortcutManager.getPinnedShortcuts(); in refreshExistingShortcuts()143 shortcutManager.updateShortcuts(updates); in refreshExistingShortcuts()
324 ShortcutManager shortcutManager) {325 return createDynamicShortcuts(resolver, shortcutManager, mock(JobScheduler.class));329 ShortcutManager shortcutManager, JobScheduler jobScheduler) {331 shortcutManager, jobScheduler);
124 ShortcutManager shortcutManager, JobScheduler jobScheduler) { in DynamicShortcuts() argument127 mShortcutManager = shortcutManager; in DynamicShortcuts()549 final ShortcutManager shortcutManager = (ShortcutManager) context in reportShortcutUsed()551 shortcutManager.reportShortcutUsed(lookupKey); in reportShortcutUsed()
2241 final ShortcutManager shortcutManager = (ShortcutManager) in createLauncherShortcutWithContact() local2252 shortcutManager.requestPinShortcut(shortcutInfo, null); in createLauncherShortcutWithContact()