Home
last modified time | relevance | path

Searched refs:workspaceItems (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLoaderResults.java90 ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); in bindWorkspace() local
95 workspaceItems.addAll(mBgDataModel.workspaceItems); in bindWorkspace()
122 filterCurrentWorkspaceItems(currentScreenId, workspaceItems, currentWorkspaceItems, in bindWorkspace()
219 protected void sortWorkspaceItemsSpatially(ArrayList<ItemInfo> workspaceItems) { in sortWorkspaceItemsSpatially() argument
223 Collections.sort(workspaceItems, new Comparator<ItemInfo>() { in sortWorkspaceItemsSpatially()
255 protected void bindWorkspaceItems(final ArrayList<ItemInfo> workspaceItems, in bindWorkspaceItems() argument
258 int N = workspaceItems.size(); in bindWorkspaceItems()
263 c -> c.bindItems(workspaceItems.subList(start, start + chunkSize), false), in bindWorkspaceItems()
DBgDataModel.java80 public final ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); field in BgDataModel
121 workspaceItems.clear(); in clear()
153 for (int i = 0; i < workspaceItems.size(); i++) { in dump()
154 writer.println(prefix + '\t' + workspaceItems.get(i).toString()); in dump()
207 for (int i = 0; i < workspaceItems.size(); i++) { in dumpProto()
208 ItemInfo info = workspaceItems.get(i); in dumpProto()
281 workspaceItems.remove(item); in removeItem()
296 workspaceItems.remove(item); in removeItem()
312 workspaceItems.add(item); in addItem()
335 workspaceItems.add(item); in addItem()
DFirstScreenBroadcast.java104 Set<String> workspaceItems = new HashSet<>(); in sendBroadcastToInstaller() local
130 workspaceItems.add(packageName); in sendBroadcastToInstaller()
136 printList(installerPackageName, "Workspace item", workspaceItems); in sendBroadcastToInstaller()
144 .putStringArrayListExtra(WORKSPACE_ITEM_EXTRA, new ArrayList<>(workspaceItems)) in sendBroadcastToInstaller()
DModelWriter.java448 if (!mBgDataModel.workspaceItems.contains(modelItem)) { in updateItemArrays()
449 mBgDataModel.workspaceItems.add(modelItem); in updateItemArrays()
456 mBgDataModel.workspaceItems.remove(modelItem); in updateItemArrays()
DLoaderTask.java152 allItems.addAll(mBgDataModel.workspaceItems); in sendFirstScreenActiveInstallsBroadcast()
742 mBgDataModel.workspaceItems.remove(mBgDataModel.folders.get(folderId)); in loadWorkspace()