Home | History | Annotate | Download | only in launcher3

Lines Matching refs:CELLX

242         int cellX, cellY, spanX, spanY;
247 cellX = item.cellX;
251 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
516 * <container, screen, cellX, cellY>
519 long screenId, int cellX, int cellY) {
522 addItemToDatabase(context, item, container, screenId, cellX, cellY, false);
525 moveItemInDatabase(context, item, container, screenId, cellX, cellY);
543 modelShortcut.cellX == shortcut.cellX &&
702 * Move an item in the DB to a new <container, screen, cellX, cellY>
705 final long screenId, final int cellX, final int cellY) {
707 item.cellX = cellX;
714 item.screenId = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
721 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
729 * Move items in the DB to a new <container, screen, cellX, cellY>. We assume that the
730 * cellX, cellY have already been updated on the ItemInfos.
746 item.screenId = ((Launcher) context).getHotseat().getOrderInHotseat(item.cellX,
754 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
764 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY>
767 final long screenId, final int cellX, final int cellY, final int spanX, final int spanY) {
769 item.cellX = cellX;
778 item.screenId = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
785 values.put(LauncherSettings.Favorites.CELLX, item.cellX);
800 item.updateValuesWithCoordinates(values, item.cellX, item.cellY);
855 LauncherSettings.Favorites.SCREEN, LauncherSettings.Favorites.CELLX, LauncherSettings.Favorites.CELLY,
861 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
869 item.cellX = c.getInt(cellXIndex);
904 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
918 folderInfo.cellX = c.getInt(cellXIndex);
931 * Add an item to the database in a specified container. Sets the container, screen, cellX and
935 final long screenId, final int cellX, final int cellY, final boolean notify) {
937 item.cellX = cellX;
943 item.screenId = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
954 item.updateValuesWithCoordinates(values, item.cellX, item.cellY);
1662 + " into position (" + item.screenId + ":" + item.cellX + ","
1681 + " into position (" + item.screenId + ":" + item.cellX + ","
1708 item.cellX < 0 || item.cellY < 0 ||
1709 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) {
1712 + item.cellX + "," + item.cellY
1718 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) {
1730 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) {
1829 (LauncherSettings.Favorites.CELLX);
1928 info.cellX = c.getInt(cellXIndex);
1973 folderInfo.cellX = c.getInt(cellXIndex);
2026 appWidgetInfo.cellX = c.getInt(cellXIndex);
2300 lhs.cellY * cellCountX + lhs.cellX);
2302 rhs.cellY * cellCountX + rhs.cellX);
3150 int cellX, int cellY, boolean notify) {
3155 addItemToDatabase(context, info, container, screen, cellX, cellY, notify);