HomeSort by relevance Sort by last modified time
    Searched refs:cellY (Results 1 - 25 of 33) sorted by null

1 2

  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 68 int cellY = -1;
111 cellY = info.cellY;
146 values.put(LauncherSettings.Favorites.CELLY, cellY);
151 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) {
153 values.put(LauncherSettings.Favorites.CELLY, cellY);
191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + span
    [all...]
PagedViewCellLayout.java 108 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) {
399 public int cellY;
449 this.cellY = source.cellY;
454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) {
457 this.cellY = cellY;
468 final int myCellY = cellY;
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) {
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) {
845 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap);
852 * @param cellY Y coordinate of the cel
    [all...]
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...]
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 + ")"
    [all...]
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;
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++) {
ShortcutAndWidgetContainer.java 67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
Launcher.java 334 int cellY;
597 args.cellY);
604 args.cellY);
667 args.cellY = mPendingAddInfo.cellY;
    [all...]
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));
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 68 int cellY = -1;
111 cellY = info.cellY;
135 values.put(LauncherSettings.Favorites.CELLY, cellY);
140 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) {
142 values.put(LauncherSettings.Favorites.CELLY, cellY);
180 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + span
    [all...]
PagedViewCellLayout.java 102 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) {
393 public int cellY;
443 this.cellY = source.cellY;
448 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) {
451 this.cellY = cellY;
463 final int myCellY = cellY;
488 return "(" + this.cellX + ", " + this.cellY + ", "
    [all...]
Hotseat.java 106 Rect getCellCoordinates(int cellX, int cellY) {
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,
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) {
831 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap);
838 * @param cellY Y coordinate of the cel
    [all...]
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...]
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;
FolderInfo.java 116 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
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 == shortcut.cellY &
    [all...]
ShortcutAndWidgetContainer.java 71 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
Stats.java 40 public static final String EXTRA_CELLY = "cellY";
121 .putExtra(EXTRA_CELLY, shortcut.cellY);
144 mLog.writeShort((short) shortcut.cellY);
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));
    [all...]
Launcher.java 353 int cellY;
683 args.cellY);
690 args.cellY);
759 args.cellY = mPendingAddInfo.cellY;
    [all...]
  /packages/apps/Launcher2/
print_db.py 82 cellY = cell["cellY"]
201 cellY = row["cellY"]
204 for j in range(cellY, cellY+spanY):
207 screen[cellY][cellX] = row
  /packages/apps/Launcher3/
print_db.py 113 cellY = cell["cellY"]
262 cellY = row["cellY"]
265 for j in range(cellY, cellY+spanY):
268 screen[cellY][cellX] = row
  /packages/apps/Launcher3/protos/
backup.proto 55 optional int32 cellY = 7;

Completed in 112 milliseconds

1 2