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

1 2

  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 71 int cellX = -1;
126 cellX = info.cellX;
171 values.put(LauncherSettings.Favorites.CELLX, cellX);
180 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) {
181 values.put(LauncherSettings.Favorites.CELLX, cellX);
220 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + span
    [all...]
PagedViewCellLayout.java 107 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) &&
393 public int cellX;
448 this.cellX = source.cellX;
454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) {
456 this.cellX = cellX;
467 final int myCellX = cellX;
493 return "(" + this.cellX + ", " + this.cellY + ", "
    [all...]
Folder.java 226 mEmptyCell[0] = item.cellX;
325 int lhIndex = lhs.cellY * mNumCols + lhs.cellX;
326 int rhIndex = rhs.cellY * mNumCols + rhs.cellX;
336 if (item.cellX > maxX) {
337 maxX = item.cellX;
348 item.cellX = x;
513 item.cellX = emptyCell[0];
537 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0
538 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY())
    [all...]
CellLayout.java 636 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) {
739 cellInfo.cellX = lp.cellX;
756 cellInfo.cellX = cellXY[0];
789 cellInfo.cellX = -1;
835 * @param cellX X coordinate of the cell
840 void cellToPoint(int cellX, int cellY, int[] result) {
844 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap);
851 * @param cellX X coordinate of the cel
    [all...]
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);
294 modelShortcut.cellX == shortcut.cellX &&
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 + ")"
    [all...]
AppWidgetResizeFrame.java 258 int cellX = lp.useTmpCoords ? lp.tmpCellX : lp.cellX;
267 cellXInc = Math.max(-cellX, hSpanInc);
270 hSpanInc = Math.min(cellX, hSpanInc);
275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc);
298 cellX += cellXInc;
324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
326 lp.tmpCellX = cellX;
InstallShortcutReceiver.java 343 int cellX, cellY, spanX, spanY;
348 cellX = item.cellX;
352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
ShortcutAndWidgetContainer.java 66 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
Launcher.java 336 int cellX;
599 completeAddApplication(args.intent, args.container, args.screen, args.cellX,
606 completeAddShortcut(args.intent, args.container, args.screen, args.cellX,
680 args.cellX = mPendingAddInfo.cellX;
    [all...]
ShortcutInfo.java 154 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 73 public int cellX = -1;
134 cellX = info.cellX;
160 values.put(LauncherSettings.Favorites.CELLX, cellX);
173 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) {
174 values.put(LauncherSettings.Favorites.CELLX, cellX);
213 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + span
    [all...]
PagedViewCellLayout.java 101 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) &&
387 public int cellX;
442 this.cellX = source.cellX;
448 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) {
450 this.cellX = cellX;
462 final int myCellX = cellX;
488 return "(" + this.cellX + ", " + this.cellY + ", "
    [all...]
Hotseat.java 105 Rect getCellCoordinates(int cellX, int cellY) {
107 mContent.cellToRect(cellX, cellY, 1, 1, coords);
191 fi.cellX = getCellXFromOrder(mAllAppsButtonRank);
199 LauncherModel.addItemToDatabase(launcher, fi, fi.container, fi.screenId, fi.cellX,
203 workspace.addInScreen(folder, fi.container, fi.screenId, fi.cellX, fi.cellY,
Folder.java 254 mEmptyCell[0] = item.cellX;
353 int lhIndex = lhs.cellY * mNumCols + lhs.cellX;
354 int rhIndex = rhs.cellY * mNumCols + rhs.cellX;
364 if (item.cellX > maxX) {
365 maxX = item.cellX;
376 item.cellX = x;
570 mEmptyCell[0] = item.cellX;
633 item.cellX = emptyCell[0];
652 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY <
    [all...]
CellLayout.java 609 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) {
725 * @param cellX X coordinate of the cell
730 void cellToPoint(int cellX, int cellY, int[] result) {
734 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap);
741 * @param cellX X coordinate of the cell
746 void cellToCenterPoint(int cellX, int cellY, int[] result) {
747 regionToCenterPoint(cellX, cellY, 1, 1, result);
753 * @param cellX X coordinate of the cell
758 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result)
    [all...]
AppWidgetResizeFrame.java 255 int cellX = lp.useTmpCoords ? lp.tmpCellX : lp.cellX;
264 cellXInc = Math.max(-cellX, hSpanInc);
267 hSpanInc = Math.min(cellX, hSpanInc);
272 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc);
295 cellX += cellXInc;
321 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
323 lp.tmpCellX = cellX;
FolderInfo.java 121 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
LauncherModel.java 295 int cellX, cellY, spanX, spanY;
300 cellX = item.cellX;
304 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
561 * <container, screen, cellX, cellY>
564 long screenId, int cellX, int cellY) {
567 addItemToDatabase(context, item, container, screenId, cellX, cellY, false);
570 moveItemInDatabase(context, item, container, screenId, cellX, cellY);
588 modelShortcut.cellX == shortcut.cellX &
    [all...]
ShortcutAndWidgetContainer.java 70 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
Stats.java 38 public static final String EXTRA_CELLX = "cellX";
123 .putExtra(EXTRA_CELLX, shortcut.cellX)
146 mLog.writeShort((short) shortcut.cellX);
AppInfo.java 118 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY
FocusHelper.java 336 int lvIndex = (llp.cellY * cellCountX) + llp.cellX;
337 int rvIndex = (rlp.cellY * cellCountX) + rlp.cellX;
396 float tmpDistance = (float) Math.sqrt(Math.pow(tmpLp.cellX - lp.cellX, 2) +
  /packages/apps/Launcher2/
print_db.py 81 cellX = cell["cellX"]
200 cellX = row["cellX"]
205 for k in range(cellX, cellX+spanX):
207 screen[cellY][cellX] = row
  /packages/apps/Launcher3/
print_db.py 112 cellX = cell["cellX"]
171 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"])
172 ROWS = max(ROWS, d["cellX"] + d["spanX"])
261 cellX = row["cellX"]
266 for k in range(cellX, cellX+spanX):
268 screen[cellY][cellX] = row
  /packages/apps/Launcher3/protos/
backup.proto 78 optional int32 cellX = 6;

Completed in 628 milliseconds

1 2