Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DLauncherDelegate.java67 ModelWriter getModelWriter() { in getModelWriter() method in LauncherDelegate
68 return mLauncher.getModelWriter(); in getModelWriter()
98 finalItem, mLauncher.getModelWriter(), cellLayout); in replaceFolderWithFinalItem()
99 mLauncher.getModelWriter().addOrMoveItemInDatabase(finalItem, in replaceFolderWithFinalItem()
178 ModelWriter getModelWriter() { in getModelWriter() method in LauncherDelegate.FallbackDelegate
DFolder.java404 mInfo.setTitle(newTitle, mLauncherDelegate.getModelWriter()); in onBackKey()
750 mLauncherDelegate.getModelWriter()); in animateOpen()
1103 mLauncherDelegate.getModelWriter()); in onDropCompleted()
1121 mLauncherDelegate.getModelWriter().moveItemsInDatabase(items, mInfo.id, 0); in updateItemLocationsInDatabaseBatch()
1329 mLauncherDelegate.getModelWriter().addOrMoveItemInDatabase( in onDrop()
1373 mLauncherDelegate.getModelWriter()); in onDrop()
1409 mLauncherDelegate.getModelWriter().addOrMoveItemInDatabase(item, mInfo.id, 0, item.cellX, in onAdd()
DFolderIcon.java459 mInfo.setTitle(newTitle, mFolder.mLauncherDelegate.getModelWriter()); in setLabelSuggestion()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java301 mContext.getModelWriter().updateItemInDatabase(info); in performResizeAction()
413 mContext.getModelWriter().addItemToDatabase(info, in addToWorkspace()
438 mContext.getModelWriter().addItemToDatabase(info, in addToWorkspace()
445 mContext.getModelWriter().addItemToDatabase(ci, in addToWorkspace()
449 mContext.getModelWriter() in addToWorkspace()
459 View view = mContext.getItemInflater().inflateItem(item, mContext.getModelWriter()); in bindItem()
495 mContext.getModelWriter().moveItemInDatabase(info, in moveToWorkspace()
DShortcutMenuAccessibilityDelegate.java65 mContext.getModelWriter().addItemToDatabase(info, in performAction()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelTaskController.kt51 fun getModelWriter() = model.getWriter(false /* verifyChanges */, CellPosMapper.DEFAULT, null) in <lambda>() method in com.android.launcher3.model.ModelTaskController
86 getModelWriter().deleteItemsFromDatabase(matcher, reason) in <lambda>()
DPackageUpdatedTask.java344 taskController.getModelWriter().updateItemInDatabase(si); in execute()
363 taskController.getModelWriter().updateItemInDatabase(widgetInfo); in execute()
DAddWorkspaceItemsTask.java202 taskController.getModelWriter().addItemToDatabase(itemInfo, in execute()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1439 final View view = mItemInflater.inflateItem(info, getModelWriter());
1467 getModelWriter().addItemToDatabase(info, container, screenId, cellXY[0], cellXY[1]);
1550 getModelWriter().addItemToDatabase(launcherInfo,
1980 getModelWriter().addItemToDatabase(folderInfo, container, screenId, cellX, cellY);
2060 getModelWriter().deleteItemFromDatabase(itemInfo, reason);
2068 getModelWriter().deleteCollectionAndContentsFromDatabase(ci);
2074 getModelWriter().deleteWidgetInfo(widgetInfo, getAppWidgetHolder(), reason);
2257 i, getItemInflater().inflateItem(i, getModelWriter()))).toList(),
2291 getModelWriter().deleteItemFromDatabase(item, desc);
2340 View view = mItemInflater.inflateItem(item, getModelWriter());
[all …]
DLauncherModel.java636 taskController.getModelWriter().updateItemInDatabase(info); in updateAndBindWorkspaceItem()
DWorkspace.java2133 mLauncher.getModelWriter().modifyItemInDatabase(info, container, screenId, in onDrop()
2871 .inflateItem(info, mLauncher.getModelWriter(), cellLayout);
2901 mLauncher.getModelWriter().addOrMoveItemInDatabase(info, container, screenId,
3415 mLauncher.getModelWriter().deleteItemsFromDatabase(matcher, reason);
DCellLayout.java1455 Launcher.cast(mActivity).getModelWriter().modifyItemInDatabase(info, container, in commitTempPlacement()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java110 mLauncher.getModelWriter().moveItemInDatabase(tag, in migrateHotseatWhole()
DHotseatPredictionController.java328 mLauncher.getModelWriter().addItemToDatabase(workspaceItemInfo, in pinPrediction()