Home
last modified time | relevance | path

Searched refs:shortcutManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDynamicShortcuts.java99 ShortcutManager shortcutManager = getShortcutManager(context); in refresh() local
104 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() local
156 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 …]
DPinnedShortcuts.java98 ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in refresh() local
99 for (ShortcutInfo shortcutInfo : shortcutManager.getPinnedShortcuts()) { in refresh()
144 ShortcutManager shortcutManager = context.getSystemService(ShortcutManager.class); in applyDelta() local
148 shortcutManager.disableShortcuts(delta.shortcutIdsToDisable, shortcutDisabledMessage); in applyDelta()
153 if (!shortcutManager.updateShortcuts( in applyDelta()
DShortcutUsageReporter.java96 ShortcutManager shortcutManager = in doInBackground() local
102 shortcutManager.reportShortcutUsed(lookupKey); in doInBackground()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java323 ShortcutManager shortcutManager) {
324 return createDynamicShortcuts(resolver, shortcutManager, mock(JobScheduler.class));
328 ShortcutManager shortcutManager, JobScheduler jobScheduler) {
330 shortcutManager, jobScheduler);
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java125 ShortcutManager shortcutManager, JobScheduler jobScheduler) { in DynamicShortcuts() argument
128 mShortcutManager = shortcutManager; in DynamicShortcuts()
562 final ShortcutManager shortcutManager = (ShortcutManager) context in reportShortcutUsed()
564 shortcutManager.reportShortcutUsed(lookupKey); in reportShortcutUsed()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java815 final DeepShortcutManager shortcutManager = DeepShortcutManager.getInstance(context); in loadWorkspace() local
883 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() local
1788 mHasShortcutHostPermission = shortcutManager.hasHostPermission(); in loadDeepShortcuts()
1793 shortcutManager.queryForAllShortcuts(user); in loadDeepShortcuts()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2651 final ShortcutManager shortcutManager = (ShortcutManager) in createLauncherShortcutWithContact()
2655 shortcutManager.requestPinShortcut( in createLauncherShortcutWithContact()