Home
last modified time | relevance | path

Searched refs:getModelWriter (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1234 getModelWriter().addItemToDatabase(info, container, screenId, cellXY[0], cellXY[1]); in completeAddShortcut()
1273 getModelWriter().addItemToDatabase(launcherInfo, in completeAddAppWidget()
1368 public ModelWriter getModelWriter() { in getModelWriter() method in Launcher
1701 getModelWriter().addItemToDatabase(folderInfo, container, screenId, cellX, cellY); in addFolder()
1729 getModelWriter().deleteItemFromDatabase(itemInfo); in removeItem()
1738 getModelWriter().deleteFolderAndContentsFromDatabase(folderInfo); in removeItem()
1744 getModelWriter().deleteWidgetInfo(widgetInfo, getAppWidgetHost()); in removeItem()
2092 getModelWriter().deleteItemFromDatabase(item); in bindItems()
2153 getModelWriter().deleteItemFromDatabase(item); in inflateAppWidget()
2186 getModelWriter().deleteItemFromDatabase(item); in inflateAppWidget()
[all …]
DDeleteDropTarget.java115 mLauncher.getModelWriter().prepareToUndoDelete(); in onDrop()
126 ModelWriter modelWriter = mLauncher.getModelWriter(); in completeDrop()
DLauncherModel.java521 getModelWriter().updateItemInDatabase(info); in updateAndBindWorkspaceItem()
DWorkspace.java1902 mLauncher.getModelWriter().modifyItemInDatabase(info, container, screenId, in onDrop()
2591 mLauncher.getModelWriter().addOrMoveItemInDatabase(info, container, screenId,
3201 mLauncher.getModelWriter().deleteItemsFromDatabase(matcher); in removeAbandonedPromise()
DCellLayout.java2119 Launcher.cast(mActivity).getModelWriter().modifyItemInDatabase(info, container, in commitTempPlacement()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java319 mLauncher.getModelWriter().updateItemInDatabase(mInfo); in onBackKey()
603 mLauncher.getModelWriter()); in animateOpen()
910 mLauncher.getModelWriter()); in onDropCompleted()
928 mLauncher.getModelWriter().moveItemsInDatabase(items, mInfo.id, 0); in updateItemLocationsInDatabaseBatch()
1079 mLauncher.getModelWriter().addOrMoveItemInDatabase(finalItem, in replaceFolderWithFinalItem()
1196 mLauncher.getModelWriter().addOrMoveItemInDatabase( in onDrop()
1239 mInfo.setOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION, true, mLauncher.getModelWriter()); in onDrop()
1269 mLauncher.getModelWriter().addOrMoveItemInDatabase(item, mInfo.id, 0, item.cellX, in onAdd()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseModelUpdateTask.java90 public ModelWriter getModelWriter() { in getModelWriter() method in BaseModelUpdateTask
116 getModelWriter().deleteItemsFromDatabase(matcher); in deleteAndBindComponentsRemoved()
DPackageUpdatedTask.java266 getModelWriter().updateItemInDatabase(si); in execute()
283 getModelWriter().updateItemInDatabase(widgetInfo); in execute()
DAddWorkspaceItemsTask.java161 getModelWriter().addItemToDatabase(itemInfo, in execute()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java187 mLauncher.getModelWriter().addItemToDatabase(info, in performAction()
213 mLauncher.getModelWriter().moveItemInDatabase(info, in performAction()
331 mLauncher.getModelWriter().updateItemInDatabase(info); in performResizeAction()
DShortcutMenuAccessibilityDelegate.java73 mLauncher.getModelWriter().addItemToDatabase(info, in performAction()