Lines Matching refs:screen
260 int screen, int cellX, int cellY) { in addOrMoveItemInDatabase() argument
263 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
266 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
283 modelShortcut.screen == shortcut.screen && in checkItemInfoLocked()
413 final int screen, final int cellX, final int cellY) { in moveItemInDatabase() argument
415 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + in moveItemInDatabase()
416 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")"; in moveItemInDatabase()
425 if (context instanceof Launcher && screen < 0 && in moveItemInDatabase()
427 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in moveItemInDatabase()
429 item.screen = screen; in moveItemInDatabase()
436 values.put(LauncherSettings.Favorites.SCREEN, item.screen); in moveItemInDatabase()
445 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) { in modifyItemInDatabase() argument
447 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + in modifyItemInDatabase()
448 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")"; in modifyItemInDatabase()
458 if (context instanceof Launcher && screen < 0 && in modifyItemInDatabase()
460 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in modifyItemInDatabase()
462 item.screen = screen; in modifyItemInDatabase()
471 values.put(LauncherSettings.Favorites.SCREEN, item.screen); in modifyItemInDatabase()
533 item.screen = c.getInt(screenIndex); in getItemsInLocalCoordinates()
575 folderInfo.screen = c.getInt(screenIndex); in getFolderById()
593 final int screen, final int cellX, final int cellY, final boolean notify) { in addItemToDatabase() argument
599 if (context instanceof Launcher && screen < 0 && in addItemToDatabase()
601 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in addItemToDatabase()
603 item.screen = screen; in addItemToDatabase()
618 + item.id + " (" + container + ", " + screen + ", " + cellX + ", " in addItemToDatabase()
663 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) { in getCellLayoutChildId() argument
665 | (screen & 0xFF) << 16 | (localCellX & 0xFF) << 8 | (localCellY & 0xFF); in getCellLayoutChildId()
697 + item.id + " (" + item.container + ", " + item.screen + ", " + item.cellX + in deleteItemFromDatabase()
1223 int containerIndex = item.screen; in checkItemPlacement()
1226 if (mCallbacks == null || mCallbacks.get().isAllAppsButtonRank(item.screen)) { in checkItemPlacement()
1232 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) { in checkItemPlacement()
1234 + " into position (" + item.screen + ":" + item.cellX + "," + item.cellY in checkItemPlacement()
1235 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]); in checkItemPlacement()
1238 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item; in checkItemPlacement()
1251 + " into cell (" + containerIndex + "-" + item.screen + ":" in checkItemPlacement()
1378 info.screen = c.getInt(screenIndex); in loadWorkspace()
1424 folderInfo.screen = c.getInt(screenIndex); in loadWorkspace()
1462 appWidgetInfo.screen = c.getInt(screenIndex); in loadWorkspace()
1567 if (info.screen == currentScreen) { in filterCurrentWorkspaceItems()
1601 widget.screen == currentScreen) { in filterCurrentAppWidgets()
1626 info.screen == currentScreen) { in filterCurrentFolders()
1645 long lr = (lhs.container * containerOffset + lhs.screen * screenOffset + in sortWorkspaceItemsSpatially()
1647 long rr = (rhs.container * containerOffset + rhs.screen * screenOffset + in sortWorkspaceItemsSpatially()
2349 ShortcutInfo addShortcut(Context context, Intent data, long container, int screen, in addShortcut() argument
2355 addItemToDatabase(context, info, container, screen, cellX, cellY, notify); in addShortcut()