/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/ |
CellLayout.java | 643 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 745 * @param cellX X coordinate of the cell 750 void cellToPoint(int cellX, int cellY, int[] result) { 754 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap); 761 * @param cellX X coordinate of the cell 766 void cellToCenterPoint(int cellX, int cellY, int[] result) { 767 regionToCenterPoint(cellX, cellY, 1, 1, result); 773 * @param cellX X coordinate of the cell 778 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) [all...] |
ItemInfo.java | 69 public int cellX = -1; 125 cellX = info.cellX; 149 values.put(LauncherSettings.Favorites.CELLX, cellX); 160 cellX = values.getAsInteger(LauncherSettings.Favorites.CELLX); 201 + " cellX=" + cellX
|
AppWidgetResizeFrame.java | 272 int cellX = lp.useTmpCoords ? lp.tmpCellX : lp.cellX; 281 cellXInc = Math.max(-cellX, hSpanInc); 284 hSpanInc = Math.min(cellX, hSpanInc); 289 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 312 cellX += cellXInc; 338 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 345 lp.tmpCellX = cellX;
|
LauncherModel.java | 566 * <container, screen, cellX, cellY> 569 long screenId, int cellX, int cellY) { 572 addItemToDatabase(context, item, container, screenId, cellX, cellY); 575 moveItemInDatabase(context, item, container, screenId, cellX, cellY); 593 modelShortcut.cellX == shortcut.cellX && 719 * Move an item in the DB to a new <container, screen, cellX, cellY> 722 final long screenId, final int cellX, final int cellY) { 724 item.cellX = cellX; [all...] |
ShortcutAndWidgetContainer.java | 70 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/model/ |
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/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 | 250 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || 251 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) { 261 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || 262 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { 280 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) 281 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { 282 lp.cellX --; 283 info.cellX --; 291 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 | 220 item.cellX = pagePos % mGridCountX; 224 lp.cellX = item.cellX; 241 item.cellX, item.cellY, item.spanX, item.spanY)); 340 if (info.cellX != newX || info.cellY != newY || info.rank != rank) { 341 info.cellX = newX; 346 mFolder.mInfo.id, 0, info.cellX, info.cellY); 349 lp.cellX = info.cellX;
|
FolderIcon.java | 231 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); 293 item.cellX = -1; 633 private void delegateDrawing(CellLayout delegate, int cellX, int cellY) { 639 delegateCellX = cellX; 702 public void animateToAccept(final CellLayout cl, final int cellX, final int cellY) { 706 delegateDrawing(cl, cellX, cellY); 717 final int cellX = delegateCellX; 723 delegateDrawing(cl, cellX, cellY); [all...] |
/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...] |
/external/opencv3/modules/objdetect/test/ |
test_cascadeandhog.cpp | 726 float cellX = (j+0.5f)/cellSize.width - 0.5f; 728 int icellX0 = cvFloor(cellX); 731 cellX -= icellX0; 742 data->histWeights[0] = (1.f - cellX)*(1.f - cellY); 744 data->histWeights[1] = cellX*(1.f - cellY); 746 data->histWeights[2] = (1.f - cellX)*cellY; 748 data->histWeights[3] = cellX*cellY; 759 data->histWeights[0] = (1.f - cellX)*cellY; 761 data->histWeights[1] = cellX*cellY; 771 cellX = 1.f - cellX [all...] |