Searched refs:shortcutManager (Results 1 – 3 of 3) sorted by relevance
78 ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in addDynamicShortcuts() local79 shortcutManager.addDynamicShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()80 shortcutManager.updateShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()85 ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in removeAllDynamicShortcuts() local86 shortcutManager.removeAllDynamicShortcuts(); in removeAllDynamicShortcuts()
440 final ShortcutManager shortcutManager = mContext.getSystemService(ShortcutManager.class); in testShortcutChangeTheme() local441 assumeTrue(launcherApps != null && shortcutManager != null); in testShortcutChangeTheme()454 shortcutManager.addDynamicShortcuts(Collections.singletonList(shortcut)); in testShortcutChangeTheme()458 shortcutManager.removeDynamicShortcuts(Collections.singletonList(shortCutId)); in testShortcutChangeTheme()
316 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in updateViewForCompletionSummary() local317 shortcutManager.removeAllDynamicShortcuts(); in updateViewForCompletionSummary()995 ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); in createShortcuts() local996 shortcutManager.addDynamicShortcuts(mShortcuts); in createShortcuts()