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

1 2

  /packages/apps/Launcher3/src/com/android/launcher3/util/
CellAndSpan.java 11 public int cellX = -1;
32 cellX = copy.cellX;
38 public CellAndSpan(int cellX, int cellY, int spanX, int spanY) {
39 this.cellX = cellX;
46 return "(" + cellX + ", " + cellY + ": " + spanX + ", " + spanY + ")";
GridOccupancy.java 77 public void markCells(int cellX, int cellY, int spanX, int spanY, boolean value) {
78 if (cellX < 0 || cellY < 0) return;
79 for (int x = cellX; x < cellX + spanX && x < mCountX; x++) {
91 markCells(cell.cellX, cell.cellY, cell.spanX, cell.spanY, value);
95 markCells(item.cellX, item.cellY, item.spanX, item.spanY, value);
  /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) &&
  /packages/apps/Launcher3/src/com/android/launcher3/model/
ModelWriter.java 63 ItemInfo item, long container, long screenId, int cellX, int cellY) {
65 item.cellX = cellX;
71 ? LauncherAppState.getIDP(mContext).numHotseatIcons - cellY - 1 : cellX;
79 * <container, screen, cellX, cellY>
82 long container, long screenId, int cellX, int cellY) {
85 addItemToDatabase(item, container, screenId, cellX, cellY);
88 moveItemInDatabase(item, container, screenId, cellX, cellY);
105 modelShortcut.cellX == shortcut.cellX &
    [all...]
LoaderCursor.java 115 cellXIndex = getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX);
360 * {@link ItemInfo#cellX}
367 info.cellX = getInt(cellXIndex);
393 + " into position (" + item.screenId + ":" + item.cellX + ","
412 + " into position (" + item.screenId + ":" + item.cellX + ","
438 item.cellX < 0 || item.cellY < 0 ||
439 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) {
442 + item.cellX + "," + item.cellY
459 if (occupancy.isRegionVacant(item.cellX, item.cellY, item.spanX, item.spanY)) {
465 + item.cellX + "," + item.cellX + "," + item.spanX + "," + item.span
    [all...]
GridSizeMigrationTask.java 171 entry.cellX = newScreenId;
388 if ((item.cellX <= col && (item.spanX + item.cellX) > col)
391 if (item.cellX >= col) item.cellX --;
394 if (item.cellX > col) item.cellX --;
470 int myX = me.cellX;
489 me.cellX = x;
539 me.cellX = myX
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
CellLayout.java 622 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) {
724 * @param cellX X coordinate of the cell
729 void cellToPoint(int cellX, int cellY, int[] result) {
733 result[0] = hStartPadding + cellX * mCellWidth;
740 * @param cellX X coordinate of the cell
745 void cellToCenterPoint(int cellX, int cellY, int[] result) {
746 regionToCenterPoint(cellX, cellY, 1, 1, result);
752 * @param cellX X coordinate of the cell
757 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result)
    [all...]
ItemInfo.java 63 public int cellX = -1;
119 cellX = info.cellX;
143 .put(LauncherSettings.Favorites.CELLX, cellX)
154 cellX = values.getAsInteger(LauncherSettings.Favorites.CELLX);
184 + " cellX=" + cellX
AppWidgetResizeFrame.java 258 int cellX = lp.useTmpCoords ? lp.tmpCellX : lp.cellX;
263 mTempRange1.set(cellX, spanX + cellX);
266 cellX = mTempRange2.start;
293 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
300 lp.tmpCellX = cellX;
ShortcutAndWidgetContainer.java 64 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
  /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/provider/
LossyScreenMigrationTask.java 90 if (org.cellX != update.cellX || org.cellY != update.cellY
  /packages/apps/Launcher3/
print_db.py 114 cellX = cell["cellX"]
173 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"])
174 ROWS = max(ROWS, d["cellX"] + d["spanX"])
263 cellX = row["cellX"]
268 for k in range(cellX, cellX+spanX):
270 screen[cellY][cellX] = row
  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
LauncherAccessibilityDelegate.java 249 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) ||
250 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) {
260 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
261 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) {
279 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY))
280 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
281 lp.cellX --;
282 info.cellX --;
290 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) {
DragAndDropAccessibilityDelegate.java 130 int cellX = id % mView.getCountX();
133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect);
  /packages/apps/Launcher3/src/com/android/launcher3/folder/
FolderPagedView.java 216 item.cellX = pagePos % mGridCountX;
220 lp.cellX = item.cellX;
237 item.cellX, item.cellY, item.spanX, item.spanY));
335 if (info.cellX != newX || info.cellY != newY || info.rank != rank) {
336 info.cellX = newX;
341 mFolder.mInfo.id, 0, info.cellX, info.cellY);
344 lp.cellX = info.cellX;
  /packages/apps/Launcher3/tests/src/com/android/launcher3/model/
LoaderCursorTest.java 29 import static com.android.launcher3.LauncherSettings.Favorites.CELLX;
77 SCREEN, CELLX, CELLY, RESTORED, INTENT
225 private ItemInfo newItemInfo(int cellX, int cellY, int spanX, int spanY,
228 info.cellX = cellX;
  /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 926 milliseconds

1 2