Searched refs:pinnedShortcuts (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/ |
D | ShortcutsUpdateTaskTest.java | 94 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/ |
D | QuickstepModelDelegate.java | 102 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/ |
D | UserLockStateChangedTask.java | 55 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()
|
D | ModelDelegate.java | 74 public void loadItems(UserManagerState ums, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { } in loadItems() argument
|
D | LoaderTask.java | 395 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/ |
D | SettingsInitialize.java | 131 final List<ShortcutInfo> pinnedShortcuts = shortcutManager.getPinnedShortcuts(); in refreshExistingShortcuts() local 133 for (ShortcutInfo info : pinnedShortcuts) { in refreshExistingShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 228 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()
|