/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ItemInfo.java | 68 int cellY = -1; field in class:ItemInfo 111 cellY = info.cellY; 146 values.put(LauncherSettings.Favorites.CELLY, cellY); 151 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) { argument 153 values.put(LauncherSettings.Favorites.CELLY, cellY); 191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | PagedViewCellLayout.java | 108 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) { 399 public int cellY; field in class:PagedViewCellLayout.LayoutParams 449 this.cellY = source.cellY; 454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { argument 457 this.cellY = cellY; 468 final int myCellY = cellY; 493 return "(" + this.cellX + ", " + this.cellY [all...] |
H A D | CellLayout.java | 636 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 740 cellInfo.cellY = lp.cellY; 757 cellInfo.cellY = cellXY[1]; 790 cellInfo.cellY = -1; 836 * @param cellY Y coordinate of the cell 840 void cellToPoint(int cellX, int cellY, int[] result) { argument 845 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); 852 * @param cellY 856 cellToCenterPoint(int cellX, int cellY, int[] result) argument 868 regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) argument 884 regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) argument 1095 animateChildToPosition(final View child, int cellX, int cellY, int duration, int delay, boolean permanent, boolean adjustOccupied) argument 1209 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int cellX, int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) argument 1518 findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, boolean[][] occupied, boolean blockOccupied[][], int[] result) argument 2076 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument 2505 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument 2553 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument 2964 cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, Rect resultRect) argument 3112 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean[][] occupied, boolean value) argument 3177 public int cellY; field in class:CellLayout.LayoutParams 3247 LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) argument 3322 int cellY = -1; field in class:CellLayout.CellInfo [all...] |
H A D | Folder.java | 227 mEmptyCell[1] = item.cellY; 325 int lhIndex = lhs.cellY * mNumCols + lhs.cellX; 326 int rhIndex = rhs.cellY * mNumCols + rhs.cellX; 349 item.cellY = y; 514 item.cellY = emptyCell[1]; 534 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0 535 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY()) { 544 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); 740 info.cellX, info.cellY); [all...] |
H A D | LauncherModel.java | 256 * <container, screen, cellX, cellY> 259 int screen, int cellX, int cellY) { 262 addItemToDatabase(context, item, container, screen, cellX, cellY, false); 265 moveItemInDatabase(context, item, container, screen, cellX, cellY); 284 modelShortcut.cellY == shortcut.cellY && 409 * Move an item in the DB to a new <container, screen, cellX, cellY> 412 final int screen, final int cellX, final int cellY) { 414 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + 415 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY 258 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY) argument 411 moveItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY) argument 443 modifyItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final int spanX, final int spanY) argument 591 addItemToDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final boolean notify) argument 2334 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument [all...] |
H A D | AppWidgetResizeFrame.java | 259 int cellY = lp.useTmpCoords ? lp.tmpCellY : lp.cellY; 281 cellYInc = Math.max(-cellY, vSpanInc); 284 vSpanInc = Math.min(cellY, vSpanInc); 288 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); 306 cellY += cellYInc; 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 327 lp.tmpCellY = cellY;
|
H A D | InstallShortcutReceiver.java | 343 int cellX, cellY, spanX, spanY; 349 cellY = item.cellY; 353 for (int y = cellY; 0 <= y && y < cellY + spanY && y < yCount; y++) {
|
H A D | ShortcutAndWidgetContainer.java | 67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
|
H A D | Launcher.java | 334 int cellY; field in class:Launcher.PendingAddArguments 597 args.cellY); 604 args.cellY); 667 args.cellY = mPendingAddInfo.cellY; 941 mPendingAddInfo.cellY = savedState.getInt(RUNTIME_STATE_PENDING_ADD_CELL_Y); 1056 void completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) { argument 1061 if (cellX >= 0 && cellY >= 0) { 1063 cellXY[1] = cellY; 1076 isWorkspaceLocked(), cellX, cellY); 1088 completeAddShortcut(Intent data, long container, int screen, int cellX, int cellY) argument 1883 addFolder(CellLayout layout, long container, final int screen, int cellX, int cellY) argument [all...] |
H A D | FocusHelper.java | 581 int lvIndex = (llp.cellY * cellCountX) + llp.cellX; 582 int rvIndex = (rlp.cellY * cellCountX) + rlp.cellX; 628 final int row = lp.cellY; 638 boolean satisfiesRow = (lineDelta < 0) ? (tmpLp.cellY < row) : (tmpLp.cellY > row); 642 Math.pow(tmpLp.cellY - lp.cellY, 2));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ItemInfo.java | 68 int cellY = -1; field in class:ItemInfo 111 cellY = info.cellY; 135 values.put(LauncherSettings.Favorites.CELLY, cellY); 140 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) { argument 142 values.put(LauncherSettings.Favorites.CELLY, cellY); 180 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | PagedViewCellLayout.java | 102 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) { 393 public int cellY; field in class:PagedViewCellLayout.LayoutParams 443 this.cellY = source.cellY; 448 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { argument 451 this.cellY = cellY; 463 final int myCellY = cellY; 488 return "(" + this.cellX + ", " + this.cellY [all...] |
H A D | Hotseat.java | 106 Rect getCellCoordinates(int cellX, int cellY) { argument 108 mContent.cellToRect(cellX, cellY, 1, 1, coords); 196 fi.cellY = getCellYFromOrder(mAllAppsButtonRank); 204 fi.cellY, false); 207 workspace.addInScreen(folder, fi.container, fi.screenId, fi.cellX, fi.cellY,
|
H A D | CellLayout.java | 619 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 726 cellInfo.cellY = lp.cellY; 743 cellInfo.cellY = cellXY[1]; 776 cellInfo.cellY = -1; 822 * @param cellY Y coordinate of the cell 826 void cellToPoint(int cellX, int cellY, int[] result) { argument 831 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); 838 * @param cellY 842 cellToCenterPoint(int cellX, int cellY, int[] result) argument 854 regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) argument 870 regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) argument 1074 animateChildToPosition(final View child, int cellX, int cellY, int duration, int delay, boolean permanent, boolean adjustOccupied) argument 1188 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int cellX, int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) argument 1493 findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, boolean[][] occupied, boolean blockOccupied[][], int[] result) argument 2051 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument 2480 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument 2528 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument 2939 cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, Rect resultRect) argument 3090 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean[][] occupied, boolean value) argument 3155 public int cellY; field in class:CellLayout.LayoutParams 3230 LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) argument 3305 int cellY = -1; field in class:CellLayout.CellInfo [all...] |
H A D | Folder.java | 243 mEmptyCell[1] = item.cellY; 341 int lhIndex = lhs.cellY * mNumCols + lhs.cellX; 342 int rhIndex = rhs.cellY * mNumCols + rhs.cellX; 365 item.cellY = y; 525 item.cellY = emptyCell[1]; 547 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0 548 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY()) { 557 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); 806 info.cellX, info.cellY); [all...] |
H A D | AppWidgetResizeFrame.java | 258 int cellY = lp.useTmpCoords ? lp.tmpCellY : lp.cellY; 280 cellYInc = Math.max(-cellY, vSpanInc); 283 vSpanInc = Math.min(cellY, vSpanInc); 287 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); 305 cellY += cellYInc; 323 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 326 lp.tmpCellY = cellY;
|
H A D | FolderInfo.java | 116 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | LauncherModel.java | 230 int cellX, cellY, spanX, spanY; 236 cellY = item.cellY; 240 for (int y = cellY; 0 <= y && y < cellY + spanY && y < yCount; y++) { 446 * <container, screen, cellX, cellY> 449 long screenId, int cellX, int cellY) { 452 addItemToDatabase(context, item, container, screenId, cellX, cellY, false); 455 moveItemInDatabase(context, item, container, screenId, cellX, cellY); 474 modelShortcut.cellY 448 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, long screenId, int cellX, int cellY) argument 634 moveItemInDatabase(Context context, final ItemInfo item, final long container, final long screenId, final int cellX, final int cellY) argument 696 modifyItemInDatabase(Context context, final ItemInfo item, final long container, final long screenId, final int cellX, final int cellY, final int spanX, final int spanY) argument 840 addItemToDatabase(Context context, final ItemInfo item, final long container, final long screenId, final int cellX, final int cellY, final boolean notify) argument 2895 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument [all...] |
H A D | ShortcutAndWidgetContainer.java | 71 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
|
H A D | Stats.java | 40 public static final String EXTRA_CELLY = "cellY"; 121 .putExtra(EXTRA_CELLY, shortcut.cellY); 144 mLog.writeShort((short) shortcut.cellY);
|
H A D | FocusHelper.java | 580 int lvIndex = (llp.cellY * cellCountX) + llp.cellX; 581 int rvIndex = (rlp.cellY * cellCountX) + rlp.cellX; 627 final int row = lp.cellY; 637 boolean satisfiesRow = (lineDelta < 0) ? (tmpLp.cellY < row) : (tmpLp.cellY > row); 641 Math.pow(tmpLp.cellY - lp.cellY, 2));
|
H A D | Launcher.java | 353 int cellY; field in class:Launcher.PendingAddArguments 683 args.cellY); 690 args.cellY); 759 args.cellY = mPendingAddInfo.cellY; 1102 mPendingAddInfo.cellY = savedState.getInt(RUNTIME_STATE_PENDING_ADD_CELL_Y); 1259 void completeAddApplication(Intent data, long container, long screenId, int cellX, int cellY) { argument 1264 if (cellX >= 0 && cellY >= 0) { 1266 cellXY[1] = cellY; 1279 isWorkspaceLocked(), cellX, cellY); 1291 completeAddShortcut(Intent data, long container, long screenId, int cellX, int cellY) argument 2033 addFolder(CellLayout layout, long container, final long screenId, int cellX, int cellY) argument [all...] |
/packages/apps/Launcher2/ |
H A D | print_db.py | 82 cellY = cell["cellY"] 201 cellY = row["cellY"] variable 204 for j in range(cellY, cellY+spanY): 207 screen[cellY][cellX] = row
|
/packages/apps/Launcher3/ |
H A D | print_db.py | 113 cellY = cell["cellY"] 262 cellY = row["cellY"] variable 265 for j in range(cellY, cellY+spanY): 268 screen[cellY][cellX] = row
|
/packages/apps/Launcher3/protos/ |
H A D | backup.proto | 55 optional int32 cellY = 7;
|