Searched refs:cellY (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DItemInfo.java67 int cellY = -1; field in class:ItemInfo
95 cellY = info.cellY;
114 values.put(LauncherSettings.Favorites.CELLY, cellY);
120 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) { argument
122 values.put(LauncherSettings.Favorites.CELLY, cellY);
160 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
H A DInstallShortcutReceiver.java99 int cellX, cellY, spanX, spanY;
105 cellY = item.cellY;
109 for (int y = cellY; y < cellY + spanY && y < yCount; y++) {
H A DCellLayout.java563 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) {
670 cellInfo.cellY = lp.cellY;
687 cellInfo.cellY = cellXY[1];
719 cellInfo.cellY = -1;
765 * @param cellY Y coordinate of the cell
769 void cellToPoint(int cellX, int cellY, int[] result) { argument
774 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap);
781 * @param cellY
785 cellToCenterPoint(int cellX, int cellY, int[] result) argument
959 animateChildToPosition(final View child, int cellX, int cellY, int duration, int delay) argument
1438 cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, RectF resultRect) argument
1631 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean value) argument
1694 public int cellY; field in class:CellLayout.LayoutParams
1743 LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) argument
1813 int cellY = -1; field in class:CellLayout.CellInfo
[all...]
H A DPagedViewCellLayout.java124 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) {
415 public int cellY; field in class:PagedViewCellLayout.LayoutParams
465 this.cellY = source.cellY;
470 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { argument
473 this.cellY = cellY;
484 final int myCellY = cellY;
509 return "(" + this.cellX + ", " + this.cellY
[all...]
H A DFolder.java224 mEmptyCell[1] = item.cellY;
524 item.cellY = emptyCell[1];
546 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0
547 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY()) {
554 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY);
728 info.cellX, info.cellY);
874 lp.cellY = vacant[1];
876 if (info.cellX != vacant[0] || info.cellY != vacant[1]) {
878 info.cellY
[all...]
H A DCellLayoutChildren.java63 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
H A DLauncherModel.java197 * <container, screen, cellX, cellY>
200 int screen, int cellX, int cellY) {
203 addItemToDatabase(context, item, container, screen, cellX, cellY, false);
206 moveItemInDatabase(context, item, container, screen, cellX, cellY);
251 * Move an item in the DB to a new <container, screen, cellX, cellY>
254 final int screen, final int cellX, final int cellY) {
257 item.cellY = cellY;
263 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY);
271 values.put(LauncherSettings.Favorites.CELLY, item.cellY);
199 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY) argument
253 moveItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY) argument
280 resizeItemInDatabase(Context context, final ItemInfo item, final int cellX, final int cellY, final int spanX, final int spanY) argument
413 addItemToDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final boolean notify) argument
1774 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument
[all...]
H A DFocusHelper.java582 int lvIndex = (llp.cellY * cellCountX) + llp.cellX;
583 int rvIndex = (rlp.cellY * cellCountX) + rlp.cellX;
630 final int row = lp.cellY;
640 boolean satisfiesRow = (lineDelta < 0) ? (tmpLp.cellY < row) : (tmpLp.cellY > row);
644 Math.pow(tmpLp.cellY - lp.cellY, 2));
H A DLauncher.java270 int cellY; field in class:Launcher.PendingAddArguments
483 args.cellY);
490 args.cellY);
528 args.cellY = mPendingAddInfo.cellY;
715 mPendingAddInfo.cellY = savedState.getInt(RUNTIME_STATE_PENDING_ADD_CELL_Y);
837 void completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) { argument
842 if (cellX >= 0 && cellY >= 0) {
844 cellXY[1] = cellY;
857 isWorkspaceLocked(), cellX, cellY);
869 completeAddShortcut(Intent data, long container, int screen, int cellX, int cellY) argument
1536 addFolder(CellLayout layout, long container, final int screen, int cellX, int cellY) argument
[all...]
H A DFolderIcon.java281 LauncherModel.addOrMoveItemInDatabase(mLauncher, item, mInfo.id, 0, item.cellX, item.cellY);
288 mFolderRingAnimator.setCell(lp.cellX, lp.cellY);
326 item.cellY = -1;
H A DAppWidgetResizeFrame.java277 lp.cellY += cellYInc;
296 LauncherModel.resizeItemInDatabase(getContext(), mItemInfo, lp.cellX, lp.cellY,
H A DWorkspace.java529 lp.cellY = y;
545 Log.w(TAG, "Failed to add to item at (" + lp.cellX + "," + lp.cellY + ") to CellLayout");
1990 int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) {
2077 mDragInfo.cellY == targetCell[1]) && (cellParent == target);
2110 mDragInfo.cellY == targetCell[1]) && (cellParent == target);
2135 destInfo.cellY = -1;
2137 sourceInfo.cellY = -1;
2244 lp.cellY = mTargetCell[1];
2276 lp.cellY);
2852 int cellY; field in class:Workspace.FolderCreationAlarmListener
1989 addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, int screen, int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) argument
2854 FolderCreationAlarmListener(CellLayout layout, int cellX, int cellY) argument
[all...]
/packages/apps/Launcher2/
H A Dprint_db.py82 cellY = cell["cellY"]
201 cellY = row["cellY"] variable
204 for j in range(cellY, cellY+spanY):
207 screen[cellY][cellX] = row

Completed in 474 milliseconds