Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
DShortcutsUpdateTaskTest.java94 final List<ShortcutInfo> pinnedShortcuts = Arrays.asList( in shortcutsUpdateTask() local
100 when(mShortcutManager.getPinnedShortcuts()).thenReturn(pinnedShortcuts); in shortcutsUpdateTask()
109 assertThat(pinnedShortcuts.get(2).getId()).isEqualTo(updates.get(0).getId()); in shortcutsUpdateTask()
110 assertThat(pinnedShortcuts.get(4).getId()).isEqualTo(updates.get(1).getId()); in shortcutsUpdateTask()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java102 public void loadItems(UserManagerState ums, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { in loadItems() argument
104 super.loadItems(ums, pinnedShortcuts); in loadItems()
107 mApp, ums, pinnedShortcuts, mIDP.numDatabaseAllAppsColumns); in loadItems()
113 new WorkspaceItemFactory(mApp, ums, pinnedShortcuts, mIDP.numDatabaseHotseatIcons); in loadItems()
332 Map<ShortcutKey, ShortcutInfo> pinnedShortcuts, int maxCount) { in WorkspaceItemFactory() argument
335 mPinnedShortcuts = pinnedShortcuts; in WorkspaceItemFactory()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DUserLockStateChangedTask.java55 HashMap<ShortcutKey, ShortcutInfo> pinnedShortcuts = new HashMap<>(); in execute() local
61 pinnedShortcuts.put(ShortcutKey.fromInfo(shortcut), shortcut); in execute()
80 ShortcutInfo shortcut = pinnedShortcuts.get(key); in execute()
DModelDelegate.java74 public void loadItems(UserManagerState ums, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadItems() argument
DLoaderTask.java395 QueryResult pinnedShortcuts = new ShortcutRequest(context, user) in loadWorkspace() local
397 if (pinnedShortcuts.wasSuccess()) { in loadWorkspace()
398 for (ShortcutInfo shortcut : pinnedShortcuts) { in loadWorkspace()
/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java131 final List<ShortcutInfo> pinnedShortcuts = shortcutManager.getPinnedShortcuts(); in refreshExistingShortcuts() local
133 for (ShortcutInfo info : pinnedShortcuts) { in refreshExistingShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java228 List<ShortcutInfo> pinnedShortcuts = new ShortcutRequest(context, user) in onAppIconChanged() local
230 if (!pinnedShortcuts.isEmpty()) { in onAppIconChanged()
231 enqueueModelUpdateTask(new ShortcutsChangedTask(packageName, pinnedShortcuts, user, in onAppIconChanged()