Home
last modified time | relevance | path

Searched refs:mBgDataModel (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java92 private final BgDataModel mBgDataModel; field in LoaderTask
109 mBgDataModel = dataModel; in LoaderTask()
198 mBgDataModel.widgetsModel.update(mApp, null); in run()
254 synchronized (mBgDataModel) { in loadWorkspace()
255 mBgDataModel.clear(); in loadWorkspace()
259 mBgDataModel.workspaceScreens.addAll(LauncherModel.loadWorkspaceScreensDb(context)); in loadWorkspace()
532 c.checkAndAddItem(info, mBgDataModel); in loadWorkspace()
539 FolderInfo folderInfo = mBgDataModel.findOrMakeFolder(c.id); in loadWorkspace()
551 c.checkAndAddItem(folderInfo, mBgDataModel); in loadWorkspace()
673 c.checkAndAddItem(appWidgetInfo, mBgDataModel); in loadWorkspace()
[all …]
DModelWriter.java51 private final BgDataModel mBgDataModel; field in ModelWriter
57 mBgDataModel = dataModel; in ModelWriter()
93 ItemInfo modelItem = mBgDataModel.itemsIdMap.get(itemId); in checkItemInfoLocked()
220 synchronized (mBgDataModel) { in addItemToDatabase()
222 mBgDataModel.addItem(mContext, item, true); in addItemToDatabase()
239 deleteItemsFromDatabase(matcher.filterItemInfos(mBgDataModel.itemsIdMap)); in deleteItemsFromDatabase()
252 mBgDataModel.removeItem(mContext, item); in deleteItemsFromDatabase()
267 mBgDataModel.removeItem(mContext, info.contents); in deleteFolderAndContentsFromDatabase()
271 mBgDataModel.removeItem(mContext, info); in deleteFolderAndContentsFromDatabase()
334 synchronized (mBgDataModel) { in updateItemArrays()
[all …]
DLoaderResults.java61 private final BgDataModel mBgDataModel; field in LoaderResults
71 mBgDataModel = dataModel; in LoaderResults()
97 synchronized (mBgDataModel) { in bindWorkspace()
98 workspaceItems.addAll(mBgDataModel.workspaceItems); in bindWorkspace()
99 appWidgets.addAll(mBgDataModel.appWidgets); in bindWorkspace()
100 orderedScreenIds.addAll(mBgDataModel.workspaceScreens); in bindWorkspace()
333 synchronized (mBgDataModel) { in bindDeepShortcuts()
334 shortcutMapCopy = mBgDataModel.deepShortcutMap.clone(); in bindDeepShortcuts()
366 = mBgDataModel.widgetsModel.getWidgetsMap(); in bindWidgets()