/packages/apps/Launcher2/ |
print_db.py | 81 cellX = cell["cellX"] 200 cellX = row["cellX"] 205 for k in range(cellX, cellX+spanX): 207 screen[cellY][cellX] = row
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 63 int cellX = -1; 110 cellX = info.cellX; 145 values.put(LauncherSettings.Favorites.CELLX, cellX); 151 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) { 152 values.put(LauncherSettings.Favorites.CELLX, cellX); 191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + span [all...] |
InstallShortcutReceiver.java | 343 int cellX, cellY, spanX, spanY; 348 cellX = item.cellX; 352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
|
AppWidgetResizeFrame.java | 258 int cellX = lp.useTmpCoords ? lp.tmpCellX : lp.cellX; 267 cellXInc = Math.max(-cellX, hSpanInc); 270 hSpanInc = Math.min(cellX, hSpanInc); 275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 298 cellX += cellXInc; 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 326 lp.tmpCellX = cellX;
|
PagedViewCellLayout.java | 107 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) && 393 public int cellX; 448 this.cellX = source.cellX; 454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { 456 this.cellX = cellX; 467 final int myCellX = cellX; 493 return "(" + this.cellX + ", " + this.cellY + ", " [all...] |
CellLayout.java | 636 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 739 cellInfo.cellX = lp.cellX; 756 cellInfo.cellX = cellXY[0]; 789 cellInfo.cellX = -1; 835 * @param cellX X coordinate of the cell 840 void cellToPoint(int cellX, int cellY, int[] result) { 844 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); 851 * @param cellX X coordinate of the cel [all...] |
Launcher.java | 336 int cellX; 599 completeAddApplication(args.intent, args.container, args.screen, args.cellX, 606 completeAddShortcut(args.intent, args.container, args.screen, args.cellX, 680 args.cellX = mPendingAddInfo.cellX; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 63 int cellX = -1; 110 cellX = info.cellX; 138 values.put(LauncherSettings.Favorites.CELLX, cellX); 144 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) { 145 values.put(LauncherSettings.Favorites.CELLX, cellX); 184 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + span [all...] |
AppWidgetResizeFrame.java | 255 int cellX = lp.useTmpCoords ? lp.tmpCellX : lp.cellX; 264 cellXInc = Math.max(-cellX, hSpanInc); 267 hSpanInc = Math.min(cellX, hSpanInc); 272 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 295 cellX += cellXInc; 321 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 323 lp.tmpCellX = cellX;
|
PagedViewCellLayout.java | 101 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) && 387 public int cellX; 442 this.cellX = source.cellX; 448 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { 450 this.cellX = cellX; 462 final int myCellX = cellX; 488 return "(" + this.cellX + ", " + this.cellY + ", " [all...] |
LauncherProvider.java | 416 "cellX INTEGER," + 563 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); 583 values.put(LauncherSettings.Favorites.CELLX, c.getInt(cellXIndex)); [all...] |
LauncherModel.java | 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 & [all...] |
CellLayout.java | 632 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 738 cellInfo.cellX = lp.cellX; 755 cellInfo.cellX = cellXY[0]; 788 cellInfo.cellX = -1; 834 * @param cellX X coordinate of the cell 839 void cellToPoint(int cellX, int cellY, int[] result) { 843 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); 850 * @param cellX X coordinate of the cel [all...] |
Launcher.java | 365 int cellX; 742 completeAddApplication(args.intent, args.container, args.screenId, args.cellX, 749 completeAddShortcut(args.intent, args.container, args.screenId, args.cellX, [all...] |
/packages/apps/Launcher3/ |
print_db.py | 112 cellX = cell["cellX"] 171 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"]) 172 ROWS = max(ROWS, d["cellX"] + d["spanX"]) 261 cellX = row["cellX"] 266 for k in range(cellX, cellX+spanX): 268 screen[cellY][cellX] = row
|