Searched refs:shortcutManager (Results 1 – 7 of 7) 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 …]
98 ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in refresh() local99 for (ShortcutInfo shortcutInfo : shortcutManager.getPinnedShortcuts()) { in refresh()144 ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in applyDelta() local148 shortcutManager.disableShortcuts(delta.shortcutIdsToDisable, shortcutDisabledMessage); in applyDelta()153 if (!shortcutManager.updateShortcuts( in applyDelta()
96 ShortcutManager shortcutManager = in doInBackground() local102 shortcutManager.reportShortcutUsed(lookupKey); in doInBackground()
323 ShortcutManager shortcutManager) {324 return createDynamicShortcuts(resolver, shortcutManager, mock(JobScheduler.class));328 ShortcutManager shortcutManager, JobScheduler jobScheduler) {330 shortcutManager, jobScheduler);
125 ShortcutManager shortcutManager, JobScheduler jobScheduler) { in DynamicShortcuts() argument128 mShortcutManager = shortcutManager; in DynamicShortcuts()562 final ShortcutManager shortcutManager = (ShortcutManager) context in reportShortcutUsed()564 shortcutManager.reportShortcutUsed(lookupKey); in reportShortcutUsed()
815 final DeepShortcutManager shortcutManager = DeepShortcutManager.getInstance(context); in loadWorkspace() local883 shortcutManager.queryForPinnedShortcuts(null, user); in loadWorkspace()884 if (shortcutManager.wasLastCallSuccess()) { in loadWorkspace()1278 shortcutManager.unpinShortcut(key); in loadWorkspace()1787 DeepShortcutManager shortcutManager = DeepShortcutManager.getInstance(mContext); in loadDeepShortcuts() local1788 mHasShortcutHostPermission = shortcutManager.hasHostPermission(); in loadDeepShortcuts()1793 shortcutManager.queryForAllShortcuts(user); in loadDeepShortcuts()
2651 final ShortcutManager shortcutManager = (ShortcutManager) in createLauncherShortcutWithContact()2655 shortcutManager.requestPinShortcut( in createLauncherShortcutWithContact()