Searched refs:workspaceItems (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BaseLauncherBinder.java | 137 ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); in bindWorkspaceAllAtOnce() local 143 workspaceItems.addAll(mBgDataModel.workspaceItems); in bindWorkspaceAllAtOnce() 157 workspaceItems, appWidgets, extraItems, orderedScreenIds) in bindWorkspaceAllAtOnce() 217 ArrayList<ItemInfo> workspaceItems) { in sortWorkspaceItemsSpatially() argument 220 Collections.sort(workspaceItems, (lhs, rhs) -> { in sortWorkspaceItemsSpatially() 292 ArrayList<ItemInfo> workspaceItems, in UnifiedWorkspaceBinder() argument 301 mWorkspaceItems = workspaceItems; in UnifiedWorkspaceBinder() 420 List<ItemInfo> workspaceItems, int chunkCount, Executor executor) { in bindItemsInChunks() argument 422 int count = workspaceItems.size(); in bindItemsInChunks() 427 c -> c.bindItems(workspaceItems.subList(start, start + chunkSize), false), in bindItemsInChunks() [all …]
|
D | BgDataModel.java | 99 public final ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); field in BgDataModel 147 workspaceItems.clear(); in clear() 177 for (int i = 0; i < workspaceItems.size(); i++) { in dump() 178 writer.println(prefix + '\t' + workspaceItems.get(i).toString()); in dump() 228 workspaceItems.remove(item); in removeItem() 235 workspaceItems.remove(item); in removeItem() 264 workspaceItems.add(item); in addItem() 276 workspaceItems.add(item); in addItem() 430 ArrayList<ItemInfo> items = new ArrayList<>(workspaceItems.size() + appWidgets.size()); in getAllWorkspaceItems() 431 items.addAll(workspaceItems); in getAllWorkspaceItems()
|
D | FirstScreenBroadcast.java | 111 Set<String> workspaceItems = new HashSet<>(); in sendBroadcastToInstaller() local 136 workspaceItems.add(packageName); in sendBroadcastToInstaller() 142 printList(installerPackageName, "Workspace item", workspaceItems); in sendBroadcastToInstaller() 148 && workspaceItems.isEmpty() in sendBroadcastToInstaller() 157 .putStringArrayListExtra(WORKSPACE_ITEM_EXTRA, new ArrayList<>(workspaceItems)) in sendBroadcastToInstaller()
|
D | ModelWriter.java | 483 if (!mBgDataModel.workspaceItems.contains(modelItem)) { in updateItemArrays() 484 mBgDataModel.workspaceItems.add(modelItem); in updateItemArrays() 491 mBgDataModel.workspaceItems.remove(modelItem); in updateItemArrays()
|
D | LoaderTask.java | 643 mBgDataModel.workspaceItems.remove(mBgDataModel.collections.get(folderId)); in sanitizeFolders() 662 mBgDataModel.workspaceItems.remove(mBgDataModel.collections.get(id)); in sanitizeAppPairs()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | DefaultLayoutProviderTest.java | 72 assertEquals(1, mModelHelper.getBgDataModel().workspaceItems.size()); in testCustomProfileLoaded_with_icon_on_hotseat() 73 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_icon_on_hotseat() 87 assertEquals(1, mModelHelper.getBgDataModel().workspaceItems.size()); in testCustomProfileLoaded_with_folder() 88 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_folder() 102 assertEquals(1, mModelHelper.getBgDataModel().workspaceItems.size()); in testCustomProfileLoaded_with_folder_custom_title() 103 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_folder_custom_title() 139 assertEquals(1, mModelHelper.getBgDataModel().workspaceItems.size()); in testCustomProfileLoaded_with_shortcut_on_hotseat() 140 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_shortcut_on_hotseat() 155 assertEquals(1, mModelHelper.getBgDataModel().workspaceItems.size()); in testCustomProfileLoaded_with_shortcut_in_folder() 156 FolderInfo info = (FolderInfo) mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_shortcut_in_folder()
|
D | LoaderTaskTest.kt | 136 Truth.assertThat(workspaceItems.size).isAtLeast(25) in loadsDataProperly()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatPredictionModel.java | 47 ArrayList<ItemInfo> workspaceItems = dataModel.getAllWorkspaceItems(); in convertDataModelToAppTargetBundle() local 48 for (ItemInfo item : workspaceItems) { in convertDataModelToAppTargetBundle()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/ |
D | DevOptionsUiHelper.kt | 426 dataModel.workspaceItems.forEach { info -> in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 453 filterCurrentWorkspaceItems(currentScreenIds, dataModel.workspaceItems,
|