Lines Matching refs:screen

270             int screen, int cellX, int cellY) {  in addOrMoveItemInDatabase()  argument
273 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
276 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
293 modelShortcut.screen == shortcut.screen && in checkItemInfoLocked()
423 final int screen, final int cellX, final int cellY) { in moveItemInDatabase() argument
425 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + in moveItemInDatabase()
426 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")"; in moveItemInDatabase()
435 if (context instanceof Launcher && screen < 0 && in moveItemInDatabase()
437 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in moveItemInDatabase()
439 item.screen = screen; in moveItemInDatabase()
446 values.put(LauncherSettings.Favorites.SCREEN, item.screen); in moveItemInDatabase()
455 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) { in modifyItemInDatabase() argument
457 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + in modifyItemInDatabase()
458 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")"; in modifyItemInDatabase()
468 if (context instanceof Launcher && screen < 0 && in modifyItemInDatabase()
470 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in modifyItemInDatabase()
472 item.screen = screen; in modifyItemInDatabase()
481 values.put(LauncherSettings.Favorites.SCREEN, item.screen); in modifyItemInDatabase()
546 item.screen = c.getInt(screenIndex); in getItemsInLocalCoordinates()
592 folderInfo.screen = c.getInt(screenIndex); in getFolderById()
610 final int screen, final int cellX, final int cellY, final boolean notify) { in addItemToDatabase() argument
616 if (context instanceof Launcher && screen < 0 && in addItemToDatabase()
618 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in addItemToDatabase()
620 item.screen = screen; in addItemToDatabase()
636 + item.id + " (" + container + ", " + screen + ", " + cellX + ", " in addItemToDatabase()
681 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) { in getCellLayoutChildId() argument
683 | (screen & 0xFF) << 16 | (localCellX & 0xFF) << 8 | (localCellY & 0xFF); in getCellLayoutChildId()
715 + item.id + " (" + item.container + ", " + item.screen + ", " + item.cellX + in deleteItemFromDatabase()
1221 int containerIndex = item.screen; in checkItemPlacement()
1224 if (mCallbacks == null || mCallbacks.get().isAllAppsButtonRank(item.screen)) { in checkItemPlacement()
1230 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) { in checkItemPlacement()
1232 + " into position (" + item.screen + ":" + item.cellX + "," + item.cellY in checkItemPlacement()
1233 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]); in checkItemPlacement()
1236 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item; in checkItemPlacement()
1249 + " into cell (" + containerIndex + "-" + item.screen + ":" in checkItemPlacement()
1387 info.screen = c.getInt(screenIndex); in loadWorkspace()
1434 folderInfo.screen = c.getInt(screenIndex); in loadWorkspace()
1472 appWidgetInfo.screen = c.getInt(screenIndex); in loadWorkspace()
1577 if (info.screen == currentScreen) { in filterCurrentWorkspaceItems()
1611 widget.screen == currentScreen) { in filterCurrentAppWidgets()
1636 info.screen == currentScreen) { in filterCurrentFolders()
1655 long lr = (lhs.container * containerOffset + lhs.screen * screenOffset + in sortWorkspaceItemsSpatially()
1657 long rr = (rhs.container * containerOffset + rhs.screen * screenOffset + in sortWorkspaceItemsSpatially()
2355 ShortcutInfo addShortcut(Context context, Intent data, long container, int screen, in addShortcut() argument
2361 addItemToDatabase(context, info, container, screen, cellX, cellY, notify); in addShortcut()