Lines Matching defs:LauncherModel
67 * LauncherModel object held in a static. Also provide APIs for updating the database state
70 public class LauncherModel extends BroadcastReceiver {
131 // LauncherModel to their ids
135 // created by LauncherModel that are directly on the home screen (however, no widgets or
139 // sBgAppWidgets is all LauncherAppWidgetInfo created by LauncherModel. Passed to bindAppWidget()
143 // sBgFolders is all FolderInfos created by LauncherModel. Passed to bindFolders()
189 LauncherModel(LauncherAppState app, IconCache iconCache, AppFilter appFilter) {
268 LauncherModel model = app.getModel();
272 // Flush the LauncherModel worker thread, so that if we just did another
277 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context);
309 if (LauncherModel.appWasRestored(ctx, a.getIntent())) {
374 if (LauncherModel.shortcutExists(context, name, launchIntent)) {
377 LauncherModel.appWasRestored(context, launchIntent)) {
387 Pair<Long, int[]> coords = LauncherModel.findNextAvailableIconSpace(context,
407 coords = LauncherModel.findNextAvailableIconSpace(context,
847 * Returns an ItemInfo array containing all the items in the LauncherModel.
1500 // The LauncherModel is static in the LauncherAppState and mHandler may have queued
2595 new LauncherModel.ShortcutNameComparator(packageManager, mLabelCache));
2835 new LauncherModel.WidgetAndShortcutNameComparator(packageManager));
2977 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(resolveInfo);
3374 ComponentName keyA = LauncherModel.getComponentNameFromResolveInfo(a);
3375 ComponentName keyB = LauncherModel.getComponentNameFromResolveInfo(b);