Lines Matching defs:screen
103 // LauncherModel that are directly on the home screen (however, no widgets or shortcuts
197 * <container, screen, cellX, cellY>
200 int screen, int cellX, int cellY) {
203 addItemToDatabase(context, item, container, screen, cellX, cellY, false);
206 moveItemInDatabase(context, item, container, screen, cellX, cellY);
251 * Move an item in the DB to a new <container, screen, cellX, cellY>
254 final int screen, final int cellX, final int cellY) {
261 if (context instanceof Launcher && screen < 0 &&
263 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
265 item.screen = screen;
272 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
354 item.screen = c.getInt(screenIndex);
396 folderInfo.screen = c.getInt(screenIndex);
410 * Add an item to the database in a specified container. Sets the container, screen, cellX and
414 final int screen, final int cellX, final int cellY, final boolean notify) {
420 if (context instanceof Launcher && screen < 0 &&
422 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
424 item.screen = screen;
476 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) {
478 | (screen & 0xFF) << 16 | (localCellX & 0xFF) << 8 | (localCellY & 0xFF);
920 int containerIndex = item.screen;
923 if (Hotseat.isAllAppsButtonRank(item.screen)) {
927 // We use the last index to refer to the hotseat and the screen as the rank, so
929 if (occupied[Launcher.SCREEN_COUNT][item.screen][0] != null) {
931 + " into position (" + item.screen + ":" + item.cellX + "," + item.cellY
932 + ") occupied by " + occupied[Launcher.SCREEN_COUNT][item.screen][0]);
935 occupied[Launcher.SCREEN_COUNT][item.screen][0] = item;
948 + " into cell (" + containerIndex + "-" + item.screen + ":"
1059 info.screen = c.getInt(screenIndex);
1105 folderInfo.screen = c.getInt(screenIndex);
1142 appWidgetInfo.screen = c.getInt(screenIndex);
1274 // TODO: instead, we should have that push the current screen into here.
1277 // once for the current screen
1280 if (widget.screen == currentScreen) {
1294 if (widget.screen != currentScreen) {
1774 ShortcutInfo addShortcut(Context context, Intent data, long container, int screen,
1780 addItemToDatabase(context, info, container, screen, cellX, cellY, notify);