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/
DBgDataModel.java71 public final ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); field in BgDataModel
112 workspaceItems.clear(); in clear()
134 for (int i = 0; i < workspaceItems.size(); i++) { in dump()
135 writer.println(prefix + '\t' + workspaceItems.get(i).toString()); in dump()
190 for (int i = 0; i < workspaceItems.size(); i++) { in dumpProto()
191 ItemInfo info = workspaceItems.get(i); in dumpProto()
264 workspaceItems.remove(item); in removeItem()
279 workspaceItems.remove(item); in removeItem()
295 workspaceItems.add(item); in addItem()
318 workspaceItems.add(item); in addItem()
DLoaderResults.java93 ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); in bindWorkspace() local
98 workspaceItems.addAll(mBgDataModel.workspaceItems); in bindWorkspace()
123 filterCurrentWorkspaceItems(currentScreenId, workspaceItems, currentWorkspaceItems, in bindWorkspace()
258 private void sortWorkspaceItemsSpatially(ArrayList<ItemInfo> workspaceItems) { in sortWorkspaceItemsSpatially() argument
262 Collections.sort(workspaceItems, new Comparator<ItemInfo>() { in sortWorkspaceItemsSpatially()
294 private void bindWorkspaceItems(final ArrayList<ItemInfo> workspaceItems, in bindWorkspaceItems() argument
299 int N = workspaceItems.size(); in bindWorkspaceItems()
308 callbacks.bindItems(workspaceItems.subList(start, start+chunkSize), false); in bindWorkspaceItems()
DModelWriter.java361 if (!mBgDataModel.workspaceItems.contains(modelItem)) { in updateItemArrays()
362 mBgDataModel.workspaceItems.add(modelItem); in updateItemArrays()
369 mBgDataModel.workspaceItems.remove(modelItem); in updateItemArrays()
DLoaderTask.java699 mBgDataModel.workspaceItems.remove(mBgDataModel.folders.get(folderId)); in loadWorkspace()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java1646 private void sortWorkspaceItemsSpatially(ArrayList<ItemInfo> workspaceItems) { in sortWorkspaceItemsSpatially() argument
1648 Collections.sort(workspaceItems, new Comparator<ItemInfo>() { in sortWorkspaceItemsSpatially()
1665 final ArrayList<ItemInfo> workspaceItems, in bindWorkspaceItems() argument
1673 int N = workspaceItems.size(); in bindWorkspaceItems()
1682 callbacks.bindItems(workspaceItems, start, start+chunkSize); in bindWorkspaceItems()
1753 ArrayList<ItemInfo> workspaceItems = new ArrayList<ItemInfo>(); in bindWorkspace() local
1759 workspaceItems.addAll(sBgWorkspaceItems); in bindWorkspace()
1775 filterCurrentWorkspaceItems(currentScreen, workspaceItems, currentWorkspaceItems, in bindWorkspace()