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

1 2

  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 70 public int cellX = -1;
136 cellX = info.cellX;
163 values.put(LauncherSettings.Favorites.CELLX, cellX);
196 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
CellLayout.java 622 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) {
721 * @param cellX X coordinate of the cell
726 void cellToPoint(int cellX, int cellY, int[] result) {
730 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap);
737 * @param cellX X coordinate of the cell
742 void cellToCenterPoint(int cellX, int cellY, int[] result) {
743 regionToCenterPoint(cellX, cellY, 1, 1, result);
749 * @param cellX X coordinate of the cell
754 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result)
    [all...]
FolderPagedView.java 199 item.cellX = pagePos % mGridCountX;
203 lp.cellX = item.cellX;
220 item.cellX, item.cellY, item.spanX, item.spanY));
319 if (info.cellX != newX || info.cellY != newY || info.rank != rank) {
320 info.cellX = newX;
325 mFolder.mInfo.id, 0, info.cellX, info.cellY);
328 lp.cellX = info.cellX;
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;
LauncherModel.java 427 int right = r.cellX + r.spanX;
429 for (int x = r.cellX; 0 <= x && x < right && x < xCount; x++) {
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);
660 modelShortcut.cellX == shortcut.cellX &&
    [all...]
FolderInfo.java 142 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
Stats.java 86 public static final String EXTRA_CELLX = "cellX";
138 .putExtra(EXTRA_CELLX, shortcut.cellX)
ShortcutAndWidgetContainer.java 74 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
  /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 341 int cellX;
625 completeAddApplication(args.intent, args.container, args.screen, args.cellX,
632 completeAddShortcut(args.intent, args.container, args.screen, args.cellX,
706 args.cellX = mPendingAddInfo.cellX;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/model/
PackageItemInfo.java 61 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY
  /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/src/com/android/launcher3/accessibility/
DragAndDropAccessibilityDelegate.java 130 int cellX = id % mView.getCountX();
133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect);
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)) {
265 lp.cellX --;
266 info.cellX --;
274 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) {
  /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/src/com/android/launcher3/util/
FocusLogic.java 171 int cx = ((CellLayout.LayoutParams) parent.getChildAt(i).getLayoutParams()).cellX;
205 int cx = ((CellLayout.LayoutParams) iconParent.getChildAt(i).getLayoutParams()).cellX;
218 hotseatParent.getChildAt(i).getLayoutParams()).cellX;
259 int cx = ((CellLayout.LayoutParams) iconParent.getChildAt(i).getLayoutParams()).cellX;
  /packages/apps/Launcher3/protos/
backup.proto 91 optional int32 cellX = 6;
  /external/deqp/modules/gles3/functional/
es3fFboColorbufferTests.cpp 870 for (int cellX = 0; cellX < numRowsCols; cellX++)
878 glViewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize);
936 for (int cellX = 0; cellX < numRowsCols; cellX++)
944 glBlitFramebuffer(0, 0, cellSize, cellSize, cellX*cellSize, cellY*cellSize, (cellX+1)*cellSize, (cellY+1)*cellSize, GL_COLOR_BUFFER_BIT, GL_NEAREST);
    [all...]

Completed in 409 milliseconds

1 2