/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherAppWidgetHost.java | 53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
|
H A D | LauncherApplication.java | 34 private LauncherModel mModel; 53 mModel = new LauncherModel(this, mIconCache); 106 LauncherModel setLauncher(Launcher launcher) { 115 LauncherModel getModel() {
|
H A D | InstallShortcutReceiver.java | 200 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 D | Hotseat.java | 99 if (mCellCountX < 0) mCellCountX = LauncherModel.getCellCountX(); 100 if (mCellCountY < 0) mCellCountY = LauncherModel.getCellCountY();
|
H A D | Folder.java | 129 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 D | ItemInfo.java | 118 LauncherModel.checkItemInfo(this);
|
H A D | PagedViewWidget.java | 119 int hSpan = Math.min(cellSpan[0], LauncherModel.getCellCountX()); 120 int vSpan = Math.min(cellSpan[1], LauncherModel.getCellCountY());
|
H A D | DeleteDropTarget.java | 225 LauncherModel.deleteItemFromDatabase(mLauncher, item); 230 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo); 234 LauncherModel.deleteItemFromDatabase(mLauncher, item);
|
H A D | AppsCustomizePagedView.java | 364 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 D | PagedViewCellLayout.java | 69 mCellCountX = LauncherModel.getCellCountX(); 70 mCellCountY = LauncherModel.getCellCountY();
|
H A D | BubbleTextView.java | 116 LauncherModel.checkItemInfo((ItemInfo) tag);
|
H A D | IconCache.java | 200 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(info);
|
H A D | Workspace.java | 339 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 D | LauncherModel.java | 68 * 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 D | LauncherAppWidgetHost.java | 53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
|
H A D | LauncherAppState.java | 35 private LauncherModel mModel; 91 mModel = new LauncherModel(this, mIconCache, mAppFilter); 141 LauncherModel setLauncher(Launcher launcher) { 153 LauncherModel getModel() {
|
H A D | ItemInfo.java | 118 LauncherModel.checkItemInfo(this);
|
H A D | Folder.java | 274 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 D | DeleteDropTarget.java | 321 LauncherModel.deleteItemFromDatabase(mLauncher, item); 326 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo); 330 LauncherModel.deleteItemFromDatabase(mLauncher, item);
|
H A D | Hotseat.java | 203 LauncherModel.addItemToDatabase(launcher, fi, fi.container, fi.screenId, fi.cellX,
|
H A D | IconCache.java | 217 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(info);
|
H A D | Workspace.java | 862 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 D | BubbleTextView.java | 135 LauncherModel.checkItemInfo((ItemInfo) tag);
|
H A D | LauncherModel.java | 65 * 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 D | InstallShortcutReceiver.java | 275 final boolean exists = LauncherModel.shortcutExists(context, name, intent);
|