Lines Matching refs:launcher
50 import com.android.launcher.R;
67 * Maintains in-memory state of the Launcher. It is expected that there should be only one
69 * for the Launcher.
73 static final String TAG = "Launcher.Model";
89 // clear all queued binding runnables when the Launcher activity is destroyed.
94 private static final HandlerThread sWorkerThread = new HandlerThread("launcher-loader");
350 Launcher.dumpDebugLogsToConsole();
417 Launcher.sDumpLogs.add(transaction);
425 if (context instanceof Launcher && screen < 0 &&
427 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
449 Launcher.sDumpLogs.add(transaction);
458 if (context instanceof Launcher && screen < 0 &&
460 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
599 if (context instanceof Launcher && screen < 0 &&
601 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
620 Launcher.sDumpLogs.add(transaction);
645 Launcher.dumpDebugLogsToConsole();
699 Launcher.sDumpLogs.add(transaction);
716 Launcher.dumpDebugLogsToConsole();
769 * Set this as the current Launcher activity object for the loader.
873 // Do this here because if the launcher activity is running it will be restarted.
890 * When the launcher is in the background, it's possible for it to miss paired
892 * tell the launcher that it needs to re-run the loader when it comes back instead
983 * Runnable for the thread that loads the contents of the launcher:
1109 // Optimize for end-user experience: if the Launcher is up and // running with the
1192 * Gets the callbacks object. If we've been stopped, or if the launcher object
1232 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) {
1235 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]);
1238 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item;
1296 new ItemInfo[Launcher.SCREEN_COUNT + 1][mCellCountX + 1][mCellCountY + 1];
1360 // App shortcuts that used to be automatically added to Launcher
1444 // Read all Launcher-specific widget details
1456 Launcher.sDumpLogs.add(log);
1467 int[] minSpan = Launcher.getMinSpanForWidget(context, provider);
1520 for (int s = 0; s < Launcher.SCREEN_COUNT; s++) {
1644 int containerOffset = screenOffset * (Launcher.SCREEN_COUNT + 1); // +1 hotseat
1731 // This launcher has exited and nobody bothered to tell us. Just bail.
1732 Log.w(TAG, "LoaderTask running with no launcher");
1850 // This launcher has exited and nobody bothered to tell us. Just bail.
1851 Log.w(TAG, "LoaderTask running with no launcher (onlyBindAllApps)");
1887 // This launcher has exited and nobody bothered to tell us. Just bail.
1888 Log.w(TAG, "LoaderTask running with no launcher (loadAllAppsByBatch)");
1967 Log.i(TAG, "not binding apps: no Launcher activity");
2079 Log.w(TAG, "Nobody to tell about the new app. Launcher is probably loading.");
2175 // If we return null here, the corresponding item will be removed from the launcher