Searched refs:workspaceItems (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BgDataModel.java | 73 public final ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); field in BgDataModel 104 workspaceItems.clear(); in clear() 126 for (int i = 0; i < workspaceItems.size(); i++) { in dump() 127 writer.println(prefix + '\t' + workspaceItems.get(i).toString()); in dump() 182 for (int i = 0; i < workspaceItems.size(); i++) { in dumpProto() 183 ItemInfo info = workspaceItems.get(i); in dumpProto() 256 workspaceItems.remove(item); in removeItem() 271 workspaceItems.remove(item); in removeItem() 287 workspaceItems.add(item); in addItem() 310 workspaceItems.add(item); in addItem()
|
D | ModelWriter.java | 361 if (!mBgDataModel.workspaceItems.contains(modelItem)) { in updateItemArrays() 362 mBgDataModel.workspaceItems.add(modelItem); in updateItemArrays() 369 mBgDataModel.workspaceItems.remove(modelItem); in updateItemArrays()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 1260 sBgDataModel.workspaceItems.remove(sBgDataModel.folders.get(folderId)); in loadWorkspace() 1395 private void sortWorkspaceItemsSpatially(ArrayList<ItemInfo> workspaceItems) { in sortWorkspaceItemsSpatially() argument 1399 Collections.sort(workspaceItems, new Comparator<ItemInfo>() { in sortWorkspaceItemsSpatially() 1446 final ArrayList<ItemInfo> workspaceItems, in bindWorkspaceItems() argument 1451 int N = workspaceItems.size(); in bindWorkspaceItems() 1460 callbacks.bindItems(workspaceItems, start, start+chunkSize, in bindWorkspaceItems() 1501 ArrayList<ItemInfo> workspaceItems = new ArrayList<>(); in bindWorkspace() local 1506 workspaceItems.addAll(sBgDataModel.workspaceItems); in bindWorkspace() 1531 filterCurrentWorkspaceItems(currentScreenId, workspaceItems, currentWorkspaceItems, in bindWorkspace()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 1646 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()
|