/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 | 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 | 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 | 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 | 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 | 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...] |
H A D | Workspace.java | 852 lp.cellY = y; 868 Launcher.addDumpLog(TAG, "Failed to add to item at (" + lp.cellX + "," + lp.cellY + ") to CellLayout", true); 2454 int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) { 2617 mDragInfo.cellY == targetCell[1]) && (cellParent == target); 2642 destInfo.cellY = -1; 2644 sourceInfo.cellY = -1; 2786 lp.cellY = lp.tmpCellY = mTargetCell[1]; 2822 lp.cellY, item.spanX, item.spanY); 2827 mTargetCell[1] = lp.cellY; 3392 int cellY; field in class:Workspace.FolderCreationAlarmListener 2453 addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, long screenId, int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) argument 3394 FolderCreationAlarmListener(CellLayout layout, 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/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 | 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 | 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 | Launcher.java | 337 int cellY; field in class:Launcher.PendingAddArguments 600 args.cellY); 607 args.cellY); 681 args.cellY = mPendingAddInfo.cellY; 956 mPendingAddInfo.cellY = savedState.getInt(RUNTIME_STATE_PENDING_ADD_CELL_Y); 1072 void completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) { argument 1077 if (cellX >= 0 && cellY >= 0) { 1079 cellXY[1] = cellY; 1092 isWorkspaceLocked(), cellX, cellY); 1104 completeAddShortcut(Intent data, long container, int screen, int cellX, int cellY) argument 1901 addFolder(CellLayout layout, long container, final int screen, int cellX, int cellY) argument [all...] |
H A D | Workspace.java | 553 lp.cellY = y; 569 Log.w(TAG, "Failed to add to item at (" + lp.cellX + "," + lp.cellY + ") to CellLayout"); 1947 int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) { 2103 mDragInfo.cellY == targetCell[1]) && (cellParent == target); 2128 destInfo.cellY = -1; 2130 sourceInfo.cellY = -1; 2270 lp.cellY = lp.tmpCellY = mTargetCell[1]; 2306 lp.cellY); 2311 mTargetCell[1] = lp.cellY; 2914 int cellY; field in class:Workspace.FolderCreationAlarmListener 1946 addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, int screen, int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) argument 2916 FolderCreationAlarmListener(CellLayout layout, int cellX, int cellY) argument [all...] |
/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
|