Home | History | Annotate | Download | only in launcher2

Lines Matching refs:SCREEN

127     //       created by LauncherModel that are directly on the home screen (however, no widgets or
256 * <container, screen, cellX, cellY>
259 int screen, int cellX, int cellY) {
262 addItemToDatabase(context, item, container, screen, cellX, cellY, false);
265 moveItemInDatabase(context, item, container, screen, cellX, cellY);
282 modelShortcut.screen == shortcut.screen &&
409 * Move an item in the DB to a new <container, screen, cellX, cellY>
412 final int screen, final int cellX, final int cellY) {
414 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY +
415 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")";
424 if (context instanceof Launcher && screen < 0 &&
426 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
428 item.screen = screen;
435 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
441 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY>
444 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) {
446 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY +
447 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")";
457 if (context instanceof Launcher && screen < 0 &&
459 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
461 item.screen = screen;
470 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
512 LauncherSettings.Favorites.SCREEN, LauncherSettings.Favorites.CELLX, LauncherSettings.Favorites.CELLY,
517 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN);
532 item.screen = c.getInt(screenIndex);
560 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN);
574 folderInfo.screen = c.getInt(screenIndex);
588 * Add an item to the database in a specified container. Sets the container, screen, cellX and
592 final int screen, final int cellX, final int cellY, final boolean notify) {
598 if (context instanceof Launcher && screen < 0 &&
600 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
602 item.screen = screen;
617 + item.id + " (" + container + ", " + screen + ", " + cellX + ", "
662 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) {
664 | (screen & 0xFF) << 16 | (localCellX & 0xFF) << 8 | (localCellY & 0xFF);
696 + item.id + " (" + item.container + ", " + item.screen + ", " + item.cellX +
1208 int containerIndex = item.screen;
1211 if (mCallbacks == null || mCallbacks.get().isAllAppsButtonRank(item.screen)) {
1215 // We use the last index to refer to the hotseat and the screen as the rank, so
1217 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) {
1219 + " into position (" + item.screen + ":" + item.cellX + "," + item.cellY
1220 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]);
1223 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item;
1236 + " into cell (" + containerIndex + "-" + item.screen + ":"
1303 LauncherSettings.Favorites.SCREEN);
1363 info.screen = c.getInt(screenIndex);
1409 folderInfo.screen = c.getInt(screenIndex);
1447 appWidgetInfo.screen = c.getInt(screenIndex);
1520 * specified screen. */
1534 // If we aren't filtering on a screen, then the set of items to load is the full set of
1541 // list sequentially, build up a list of containers that are in the specified screen,
1552 if (info.screen == currentScreen) {
1572 /** Filters the set of widgets which are on the specified screen. */
1577 // If we aren't filtering on a screen, then the set of items to load is the full set of
1586 widget.screen == currentScreen) {
1594 /** Filters the set of folders which are on the specified screen. */
1600 // If we aren't filtering on a screen, then the set of items to load is the full set of
1611 info.screen == currentScreen) {
1630 long lr = (lhs.container * containerOffset + lhs.screen * screenOffset +
1632 long rr = (rhs.container * containerOffset + rhs.screen * screenOffset +
1749 // Separate the items that are on the current screen, and all the other remaining items
2334 ShortcutInfo addShortcut(Context context, Intent data, long container, int screen,
2340 addItemToDatabase(context, info, container, screen, cellX, cellY, notify);