Searched refs:LauncherModel (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherAppWidgetHost.java53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
H A DLauncherApplication.java34 private LauncherModel mModel;
53 mModel = new LauncherModel(this, mIconCache);
106 LauncherModel setLauncher(Launcher launcher) {
115 LauncherModel getModel() {
H A DInstallShortcutReceiver.java200 boolean launcherNotLoaded = LauncherModel.getCellCountX() <= 0 ||
201 LauncherModel.getCellCountY() <= 0;
246 // Flush the LauncherModel worker thread, so that if we just did another
250 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context);
251 final boolean exists = LauncherModel.shortcutExists(context, name, intent);
338 final int xCount = LauncherModel.getCellCountX();
339 final int yCount = LauncherModel.getCellCountY();
H A DHotseat.java99 if (mCellCountX < 0) mCellCountX = LauncherModel.getCellCountX();
100 if (mCellCountY < 0) mCellCountY = LauncherModel.getCellCountY();
H A DFolder.java129 mMaxCountX = LauncherModel.getCellCountX();
130 mMaxCountY = LauncherModel.getCellCountY();
258 LauncherModel.updateItemInDatabase(mLauncher, mInfo);
377 LauncherModel.deleteItemFromDatabase(mLauncher, item);
739 LauncherModel.moveItemInDatabase(mLauncher, info, mInfo.id, 0,
898 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, mInfo.id, 0,
951 LauncherModel.addOrMoveItemInDatabase(mLauncher, finalItem, mInfo.container,
956 LauncherModel.deleteItemFromDatabase(mLauncher, mInfo);
1049 LauncherModel.addOrMoveItemInDatabase(
H A DItemInfo.java118 LauncherModel.checkItemInfo(this);
H A DPagedViewWidget.java119 int hSpan = Math.min(cellSpan[0], LauncherModel.getCellCountX());
120 int vSpan = Math.min(cellSpan[1], LauncherModel.getCellCountY());
H A DDeleteDropTarget.java225 LauncherModel.deleteItemFromDatabase(mLauncher, item);
230 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo);
234 LauncherModel.deleteItemFromDatabase(mLauncher, item);
H A DAppsCustomizePagedView.java364 maxCellCountX = (isLandscape ? LauncherModel.getCellCountX() :
365 LauncherModel.getCellCountY());
366 maxCellCountY = (isLandscape ? LauncherModel.getCellCountY() :
367 LauncherModel.getCellCountX());
459 if (minSpanX <= LauncherModel.getCellCountX() &&
460 minSpanY <= LauncherModel.getCellCountY()) {
1550 Collections.sort(mApps, LauncherModel.getAppNameComparator());
1558 int index = Collections.binarySearch(mApps, info, LauncherModel.getAppNameComparator());
H A DPagedViewCellLayout.java69 mCellCountX = LauncherModel.getCellCountX();
70 mCellCountY = LauncherModel.getCellCountY();
H A DBubbleTextView.java116 LauncherModel.checkItemInfo((ItemInfo) tag);
H A DIconCache.java200 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(info);
H A DWorkspace.java339 LauncherModel.updateWorkspaceLayoutCells(cellCountX, cellCountY);
563 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY);
568 // maybe we should be deleting these items from the LauncherModel?
1305 // Call back to LauncherModel to finish binding after the first draw
1953 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screen, cellXY[0],
2274 cell.setId(LauncherModel.getCellLayoutChildId(container, mDragInfo.screen,
2305 LauncherModel.moveItemInDatabase(mLauncher, info, container, screen, lp.cellX,
2420 width, height, LauncherModel.getCellCountX(), LauncherModel.getCellCountY(),
2434 width, height, LauncherModel
[all...]
H A DLauncherModel.java68 * LauncherModel object held in a static. Also provide APIs for updating the database state
71 public class LauncherModel extends BroadcastReceiver { class in inherits:BroadcastReceiver
123 // LauncherModel to their ids
127 // created by LauncherModel that are directly on the home screen (however, no widgets or
131 // sBgAppWidgets is all LauncherAppWidgetInfo created by LauncherModel. Passed to bindAppWidget()
135 // sBgFolders is all FolderInfos created by LauncherModel. Passed to bindFolders()
171 LauncherModel(LauncherApplication app, IconCache iconCache) { method in class:LauncherModel
504 * Returns an ItemInfo array containing all the items in the LauncherModel.
1077 // The LauncherModel is static in the LauncherApplication and mHandler may have queued
1626 int cellCountX = LauncherModel
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppWidgetHost.java53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
H A DLauncherAppState.java35 private LauncherModel mModel;
91 mModel = new LauncherModel(this, mIconCache, mAppFilter);
141 LauncherModel setLauncher(Launcher launcher) {
153 LauncherModel getModel() {
H A DItemInfo.java118 LauncherModel.checkItemInfo(this);
H A DFolder.java274 LauncherModel.updateItemInDatabase(mLauncher, mInfo);
393 LauncherModel.deleteItemFromDatabase(mLauncher, item);
805 LauncherModel.moveItemInDatabase(mLauncher, info, mInfo.id, 0,
819 LauncherModel.moveItemsInDatabase(mLauncher, items, mInfo.id, 0);
827 LauncherModel.addItemToDatabase(mLauncher, info, mInfo.id, 0,
1004 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, mInfo.id, 0,
1057 LauncherModel.addOrMoveItemInDatabase(mLauncher, finalItem, mInfo.container,
1062 LauncherModel.deleteItemFromDatabase(mLauncher, mInfo);
1156 LauncherModel.addOrMoveItemInDatabase(
H A DDeleteDropTarget.java321 LauncherModel.deleteItemFromDatabase(mLauncher, item);
326 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo);
330 LauncherModel.deleteItemFromDatabase(mLauncher, item);
H A DHotseat.java203 LauncherModel.addItemToDatabase(launcher, fi, fi.container, fi.screenId, fi.cellX,
H A DIconCache.java217 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(info);
H A DWorkspace.java862 int childId = LauncherModel.getCellLayoutChildId(container, screenId, x, y, spanX, spanY);
867 // maybe we should be deleting these items from the LauncherModel?
1588 // Call back to LauncherModel to finish binding after the first draw
2461 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screenId, cellXY[0],
2790 cell.setId(LauncherModel.getCellLayoutChildId(container, mDragInfo.screenId,
2821 LauncherModel.modifyItemInDatabase(mLauncher, info, container, screenId, lp.cellX,
3648 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screenId,
3911 LauncherModel.modifyItemInDatabase(mLauncher, info, container, screenId, info.cellX,
3959 LauncherModel.deleteItemFromDatabase(mLauncher, si);
3987 LauncherModel
[all...]
H A DBubbleTextView.java135 LauncherModel.checkItemInfo((ItemInfo) tag);
H A DLauncherModel.java65 * LauncherModel object held in a static. Also provide APIs for updating the database state
68 public class LauncherModel extends BroadcastReceiver { class in inherits:BroadcastReceiver
122 // LauncherModel to their ids
126 // created by LauncherModel that are directly on the home screen (however, no widgets or
130 // sBgAppWidgets is all LauncherAppWidgetInfo created by LauncherModel. Passed to bindAppWidget()
134 // sBgFolders is all FolderInfos created by LauncherModel. Passed to bindFolders()
181 LauncherModel(LauncherAppState app, IconCache iconCache, AppFilter appFilter) { method in class:LauncherModel
256 LauncherModel model = app.getModel();
260 // Flush the LauncherModel worker thread, so that if we just did another
265 final ArrayList<ItemInfo> items = LauncherModel
[all...]
H A DInstallShortcutReceiver.java275 final boolean exists = LauncherModel.shortcutExists(context, name, intent);

Completed in 169 milliseconds

12