Home
last modified time | relevance | path

Searched refs:itemsIdMap (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java81 public final IntSparseArrayMap<ItemInfo> itemsIdMap = new IntSparseArrayMap<>(); field in BgDataModel
126 itemsIdMap.clear(); in clear()
136 for (ItemInfo item: itemsIdMap) { in collectWorkspaceScreens()
163 for (int i = 0; i< itemsIdMap.size(); i++) { in dump()
164 writer.println(prefix + '\t' + itemsIdMap.valueAt(i).toString()); in dump()
187 for (ItemInfo info : itemsIdMap) { in removeItem()
212 itemsIdMap.remove(item.id); in removeItem()
218 itemsIdMap.put(item.id, item); in addItem()
393 for (ItemInfo info : itemsIdMap) { in forAllWorkspaceItemInfos()
DModelWriter.java116 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
263 deleteItemsFromDatabase(StreamSupport.stream(mBgDataModel.itemsIdMap.spliterator(), false) in deleteItemsFromDatabase()
445 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in updateItemArrays()
DAddWorkspaceItemsTask.java239 for (ItemInfo item : dataModel.itemsIdMap) { in shortcutExists()
276 for (ItemInfo info : dataModel.itemsIdMap) { in findSpaceForItem()
DLoaderTask.java854 for (ItemInfo info : mBgDataModel.itemsIdMap) { in setIgnorePackages()
885 mBgDataModel.itemsIdMap.remove(folderId); in sanitizeData()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java147 IntSparseArrayMap<ItemInfo> itemsIdMap; in modelLoadComplete() local
149 itemsIdMap = mDataModel.itemsIdMap.clone(); in modelLoadComplete()
152 for (ItemInfo info : itemsIdMap) { in modelLoadComplete()
154 ? (FolderInfo) itemsIdMap.get(info.container) : null; in modelLoadComplete()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DCacheDataUpdatedTaskTest.java83 for (ItemInfo info : mModelHelper.getBgDataModel().itemsIdMap) { in setup()
137 for (ItemInfo info : mModelHelper.getBgDataModel().itemsIdMap) { in verifyUpdate()
DPackageInstallStateChangedTaskTest.java67 for (ItemInfo info : mModelHelper.getBgDataModel().itemsIdMap) { in verifyProgressUpdate()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java445 for (ItemInfo info : dataModel.itemsIdMap) { in onSessionFailure()