/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BaseModelUpdateTask.java | 23 import com.android.launcher3.LauncherModel; 24 import com.android.launcher3.LauncherModel.ModelUpdateTask; 25 import com.android.launcher3.LauncherModel.CallbackTask; 26 import com.android.launcher3.LauncherModel.Callbacks; 44 private LauncherModel mModel; 49 public void init(LauncherAppState app, LauncherModel model, in init()
|
D | AddWorkspaceItemsTask.java | 33 import com.android.launcher3.LauncherModel; 34 import com.android.launcher3.LauncherModel.CallbackTask; 35 import com.android.launcher3.LauncherModel.Callbacks; 74 ArrayList<Long> workspaceScreens = LauncherModel.loadWorkspaceScreensDb(context); in execute() 172 LauncherModel.updateWorkspaceScreenOrder(context, workspaceScreens); in updateScreens()
|
D | LoaderTask.java | 46 import com.android.launcher3.LauncherModel; 144 try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) { in run() 259 mBgDataModel.workspaceScreens.addAll(LauncherModel.loadWorkspaceScreensDb(context)); in loadWorkspace() 749 new Handler(LauncherModel.getWorkerLooper())); in loadWorkspace() 765 LauncherModel.updateWorkspaceScreenOrder(context, mBgDataModel.workspaceScreens); in loadWorkspace()
|
D | SdCardAvailableReceiver.java | 25 import com.android.launcher3.LauncherModel; 43 private final LauncherModel mModel;
|
D | CacheDataUpdatedTask.java | 26 import com.android.launcher3.LauncherModel.CallbackTask; 27 import com.android.launcher3.LauncherModel.Callbacks;
|
D | PackageInstallStateChangedTask.java | 28 import com.android.launcher3.LauncherModel.CallbackTask; 29 import com.android.launcher3.LauncherModel.Callbacks;
|
D | LoaderResults.java | 28 import com.android.launcher3.LauncherModel; 29 import com.android.launcher3.LauncherModel.Callbacks;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherApplication.java | 37 private LauncherModel mModel; 56 mModel = new LauncherModel(this, mIconCache); in onCreate() 109 LauncherModel setLauncher(Launcher launcher) { in setLauncher() 118 LauncherModel getModel() { in getModel()
|
D | InstallShortcutReceiver.java | 200 boolean launcherNotLoaded = LauncherModel.getCellCountX() <= 0 || in onReceive() 201 LauncherModel.getCellCountY() <= 0; in onReceive() 250 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context); in processInstallShortcut() 251 final boolean exists = LauncherModel.shortcutExists(context, name, intent); in processInstallShortcut() 338 final int xCount = LauncherModel.getCellCountX(); in findEmptyCell() 339 final int yCount = LauncherModel.getCellCountY(); in findEmptyCell()
|
D | Folder.java | 129 mMaxCountX = LauncherModel.getCellCountX(); in Folder() 130 mMaxCountY = LauncherModel.getCellCountY(); in Folder() 258 LauncherModel.updateItemInDatabase(mLauncher, mInfo); in doneEditingFolderName() 377 LauncherModel.deleteItemFromDatabase(mLauncher, item); in bind() 742 LauncherModel.moveItemInDatabase(mLauncher, info, mInfo.id, 0, in updateItemLocationsInDatabase() 901 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, mInfo.id, 0, in arrangeChildren() 954 LauncherModel.addOrMoveItemInDatabase(mLauncher, finalItem, mInfo.container, in replaceFolderWithFinalItem() 959 LauncherModel.deleteItemFromDatabase(mLauncher, mInfo); in replaceFolderWithFinalItem() 1052 LauncherModel.addOrMoveItemInDatabase( in onAdd()
|
D | AppsCustomizePagedView.java | 367 maxCellCountX = (isLandscape ? LauncherModel.getCellCountX() : in onDataReady() 368 LauncherModel.getCellCountY()); in onDataReady() 369 maxCellCountY = (isLandscape ? LauncherModel.getCellCountY() : in onDataReady() 370 LauncherModel.getCellCountX()); in onDataReady() 461 if (minSpanX <= LauncherModel.getCellCountX() && in onPackagesUpdated() 462 minSpanY <= LauncherModel.getCellCountY()) { in onPackagesUpdated() 1545 Collections.sort(mApps, LauncherModel.getAppNameComparator()); 1554 int index = Collections.binarySearch(mApps, info, LauncherModel.getAppNameComparator());
|
D | Workspace.java | 340 LauncherModel.updateWorkspaceLayoutCells(cellCountX, cellCountY); in Workspace() 564 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY); in addInScreen() 1954 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screen, cellXY[0], 2275 cell.setId(LauncherModel.getCellLayoutChildId(container, mDragInfo.screen, 2306 LauncherModel.moveItemInDatabase(mLauncher, info, container, screen, lp.cellX, 2421 width, height, LauncherModel.getCellCountX(), LauncherModel.getCellCountY(), 2435 width, height, LauncherModel.getCellCountX(), LauncherModel.getCellCountY(), 3168 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screen, 3415 LauncherModel.modifyItemInDatabase(mLauncher, info, container, screen, info.cellX, 3731 LauncherModel.deleteItemFromDatabase(mLauncher, info); [all …]
|
D | DeleteDropTarget.java | 234 LauncherModel.deleteItemFromDatabase(mLauncher, item); in completeDrop() 239 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo); in completeDrop() 243 LauncherModel.deleteItemFromDatabase(mLauncher, item); in completeDrop()
|
D | Hotseat.java | 99 if (mCellCountX < 0) mCellCountX = LauncherModel.getCellCountX(); in onFinishInflate() 100 if (mCellCountY < 0) mCellCountY = LauncherModel.getCellCountY(); in onFinishInflate()
|
D | PagedViewWidget.java | 119 int hSpan = Math.min(cellSpan[0], LauncherModel.getCellCountX()); in applyFromAppWidgetProviderInfo() 120 int vSpan = Math.min(cellSpan[1], LauncherModel.getCellCountY()); in applyFromAppWidgetProviderInfo()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | BaseModelUpdateTaskTestCase.java | 23 import com.android.launcher3.LauncherModel; 24 import com.android.launcher3.LauncherModel.ModelUpdateTask; 25 import com.android.launcher3.LauncherModel.Callbacks; 58 public LauncherModel model; 76 model = mock(LauncherModel.class); in setUp()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppState.java | 51 private final LauncherModel mModel; 101 mModel = new LauncherModel(this, mIconCache, AppFilter.newInstance(mContext)); 157 LauncherModel setLauncher(Launcher launcher) { 167 public LauncherModel getModel() {
|
D | LauncherModel.java | 82 public class LauncherModel extends BroadcastReceiver class 163 LauncherModel(LauncherAppState app, IconCache iconCache, AppFilter appFilter) { in LauncherModel() method in LauncherModel 625 void init(LauncherAppState app, LauncherModel model, in init()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ViewOnDrawExecutor.java | 25 import com.android.launcher3.LauncherModel; 68 LauncherModel.setWorkerPriority(Process.THREAD_PRIORITY_BACKGROUND); in execute() 122 LauncherModel.setWorkerPriority(Process.THREAD_PRIORITY_DEFAULT); in markCompleted()
|
D | Preconditions.java | 21 import com.android.launcher3.LauncherModel; 36 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(LauncherModel.getWorkerLooper())) { in assertWorkerThread()
|
D | ManagedProfileHeuristic.java | 30 import com.android.launcher3.LauncherModel; 84 new Handler(LauncherModel.getWorkerLooper()).post(new Runnable() { in onAllAppsLoaded()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVO.java | 34 import com.android.launcher3.LauncherModel; 122 new LooperExecutor(LauncherModel.getWorkerLooper()).execute(new Runnable() { in createShortcutInfoFromPinItemRequest()
|
D | PackageInstallerCompatVL.java | 32 import com.android.launcher3.LauncherModel; 57 mWorker = new Handler(LauncherModel.getWorkerLooper()); in PackageInstallerCompatVL()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconShapeOverride.java | 38 import com.android.launcher3.LauncherModel; 168 new LooperExecutor(LauncherModel.getWorkerLooper()).execute( in onPreferenceChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationListener.java | 34 import com.android.launcher3.LauncherModel; 134 mWorkerHandler = new Handler(LauncherModel.getWorkerLooper(), mWorkerCallback); in NotificationListener()
|