/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ItemInfo.java | 75 public int cellY = -1; field in class:ItemInfo 137 cellY = info.cellY; 164 values.put(LauncherSettings.Favorites.CELLY, cellY); 196 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | CellLayout.java | 622 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 722 * @param cellY Y coordinate of the cell 726 void cellToPoint(int cellX, int cellY, int[] result) { argument 731 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); 738 * @param cellY Y coordinate of the cell 742 void cellToCenterPoint(int cellX, int cellY, int[] result) { argument 743 regionToCenterPoint(cellX, cellY, 1, 1, result); 750 * @param cellY Y coordinate of the cell 754 void regionToCenterPoint(int cellX, int cellY, in argument 770 regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) argument 933 animateChildToPosition(final View child, int cellX, int cellY, int duration, int delay, boolean permanent, boolean adjustOccupied) argument 1017 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int cellX, int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) argument 1295 findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, boolean[][] occupied, boolean blockOccupied[][], int[] result) argument 1852 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument 2300 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument 2349 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument 2666 cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, Rect resultRect) argument 2763 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean[][] occupied, boolean value) argument 2817 public int cellY; field in class:CellLayout.LayoutParams 2892 LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) argument 2967 int cellY = -1; field in class:CellLayout.CellInfo [all...] |
H A D | FolderPagedView.java | 200 item.cellY = pagePos / mGridCountX; 204 lp.cellY = item.cellY; 220 item.cellX, item.cellY, item.spanX, item.spanY)); 319 if (info.cellX != newX || info.cellY != newY || info.rank != rank) { 321 info.cellY = newY; 325 mFolder.mInfo.id, 0, info.cellX, info.cellY); 329 lp.cellY = info.cellY;
|
H A D | AppWidgetResizeFrame.java | 256 int cellY = lp.useTmpCoords ? lp.tmpCellY : lp.cellY; 278 cellYInc = Math.max(-cellY, vSpanInc); 281 vSpanInc = Math.min(cellY, vSpanInc); 285 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); 303 cellY += cellYInc; 321 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 324 lp.tmpCellY = cellY;
|
H A D | LauncherModel.java | 428 int bottom = r.cellY + r.spanY; 430 for (int y = r.cellY; 0 <= y && y < bottom && y < yCount; y++) { 633 * <container, screen, cellX, cellY> 636 long screenId, int cellX, int cellY) { 639 addItemToDatabase(context, item, container, screenId, cellX, cellY); 642 moveItemInDatabase(context, item, container, screenId, cellX, cellY); 661 modelShortcut.cellY == shortcut.cellY && 790 * Move an item in the DB to a new <container, screen, cellX, cellY> 793 final long screenId, final int cellX, final int cellY) { 635 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, long screenId, int cellX, int cellY) argument 792 moveItemInDatabase(Context context, final ItemInfo item, final long container, final long screenId, final int cellX, final int cellY) argument 856 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 990 addItemToDatabase(Context context, final ItemInfo item, final long container, final long screenId, final int cellX, final int cellY) argument [all...] |
H A D | FolderInfo.java | 142 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | Stats.java | 87 public static final String EXTRA_CELLY = "cellY"; 139 .putExtra(EXTRA_CELLY, shortcut.cellY);
|
H A D | ShortcutAndWidgetContainer.java | 75 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ItemInfo.java | 76 int cellY = -1; field in class:ItemInfo 127 cellY = info.cellY; 172 values.put(LauncherSettings.Favorites.CELLY, cellY); 180 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) { argument 182 values.put(LauncherSettings.Favorites.CELLY, cellY); 220 + " 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]; 537 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0 538 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY()) { 547 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); 743 info.cellX, info.cellY); [all...] |
H A D | LauncherModel.java | 267 * <container, screen, cellX, cellY> 270 int screen, int cellX, int cellY) { 273 addItemToDatabase(context, item, container, screen, cellX, cellY, false); 276 moveItemInDatabase(context, item, container, screen, cellX, cellY); 295 modelShortcut.cellY == shortcut.cellY && 420 * Move an item in the DB to a new <container, screen, cellX, cellY> 423 final int screen, final int cellX, final int cellY) { 425 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + 426 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY 269 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY) argument 422 moveItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY) argument 454 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 609 addItemToDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final boolean notify) argument 2355 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 | 342 int cellY; field in class:Launcher.PendingAddArguments 626 args.cellY); 633 args.cellY); 707 args.cellY = mPendingAddInfo.cellY; 982 mPendingAddInfo.cellY = savedState.getInt(RUNTIME_STATE_PENDING_ADD_CELL_Y); 1098 void completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) { argument 1103 if (cellX >= 0 && cellY >= 0) { 1105 cellXY[1] = cellY; 1120 isWorkspaceLocked(), cellX, cellY); 1132 completeAddShortcut(Intent data, long container, int screen, int cellX, int cellY) argument 1928 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/model/ |
H A D | PackageItemInfo.java | 61 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY
|
/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/src/com/android/launcher3/accessibility/ |
H A D | DragAndDropAccessibilityDelegate.java | 131 int cellY = id / mView.getCountX(); 133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect);
|
H A D | LauncherAccessibilityDelegate.java | 233 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || 234 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) { 244 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || 245 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { 263 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) 264 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { 274 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) { 275 lp.cellY --; 276 info.cellY --;
|
/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/src/com/android/launcher3/util/ |
H A D | FocusLogic.java | 172 int cy = ((CellLayout.LayoutParams) parent.getChildAt(i).getLayoutParams()).cellY; 206 int cy = ((CellLayout.LayoutParams) iconParent.getChildAt(i).getLayoutParams()).cellY; 226 hotseatParent.getChildAt(i).getLayoutParams()).cellY; 260 int cy = ((CellLayout.LayoutParams) iconParent.getChildAt(i).getLayoutParams()).cellY; 492 final int newRow = ((CellLayout.LayoutParams) oldView.getLayoutParams()).cellY;
|
/packages/apps/Launcher3/protos/ |
H A D | backup.proto | 92 optional int32 cellY = 7;
|