Lines Matching refs:screen

130     //       created by LauncherModel that are directly on the home screen (however, no widgets or
267 * <container, screen, cellX, cellY>
270 int screen, int cellX, int cellY) {
273 addItemToDatabase(context, item, container, screen, cellX, cellY, false);
276 moveItemInDatabase(context, item, container, screen, cellX, cellY);
293 modelShortcut.screen == shortcut.screen &&
420 * Move an item in the DB to a new <container, screen, cellX, cellY>
423 final int screen, final int cellX, final int cellY) {
425 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY +
426 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")";
435 if (context instanceof Launcher && screen < 0 &&
437 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
439 item.screen = screen;
446 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
452 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY>
455 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) {
457 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY +
458 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")";
468 if (context instanceof Launcher && screen < 0 &&
470 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
472 item.screen = screen;
481 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
546 item.screen = c.getInt(screenIndex);
592 folderInfo.screen = c.getInt(screenIndex);
606 * Add an item to the database in a specified container. Sets the container, screen, cellX and
610 final int screen, final int cellX, final int cellY, final boolean notify) {
616 if (context instanceof Launcher && screen < 0 &&
618 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
620 item.screen = screen;
636 + item.id + " (" + container + ", " + screen + ", " + cellX + ", "
681 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) {
683 | (screen & 0xFF) << 16 | (localCellX & 0xFF) << 8 | (localCellY & 0xFF);
715 + item.id + " (" + item.container + ", " + item.screen + ", " + item.cellX +
1221 int containerIndex = item.screen;
1224 if (mCallbacks == null || mCallbacks.get().isAllAppsButtonRank(item.screen)) {
1228 // We use the last index to refer to the hotseat and the screen as the rank, so
1230 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) {
1232 + " into position (" + item.screen + ":" + item.cellX + "," + item.cellY
1233 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]);
1236 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item;
1249 + " into cell (" + containerIndex + "-" + item.screen + ":"
1387 info.screen = c.getInt(screenIndex);
1434 folderInfo.screen = c.getInt(screenIndex);
1472 appWidgetInfo.screen = c.getInt(screenIndex);
1545 * specified screen. */
1559 // If we aren't filtering on a screen, then the set of items to load is the full set of
1566 // list sequentially, build up a list of containers that are in the specified screen,
1577 if (info.screen == currentScreen) {
1597 /** Filters the set of widgets which are on the specified screen. */
1602 // If we aren't filtering on a screen, then the set of items to load is the full set of
1611 widget.screen == currentScreen) {
1619 /** Filters the set of folders which are on the specified screen. */
1625 // If we aren't filtering on a screen, then the set of items to load is the full set of
1636 info.screen == currentScreen) {
1655 long lr = (lhs.container * containerOffset + lhs.screen * screenOffset +
1657 long rr = (rhs.container * containerOffset + rhs.screen * screenOffset +
1774 // Separate the items that are on the current screen, and all the other remaining items
2355 ShortcutInfo addShortcut(Context context, Intent data, long container, int screen,
2361 addItemToDatabase(context, info, container, screen, cellX, cellY, notify);