/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 + ")";
|
/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/ |
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;
|
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...] |
/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);
|
/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...] |
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++) {
|
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;
|
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...] |
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...] |
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/ |
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/provider/ |
ImportDataTask.java | 172 final int cellXIndex = c.getColumnIndexOrThrow(Favorites.CELLX); 193 int cellX = c.getInt(cellXIndex); 212 mMaxGridSizeX = Math.max(mMaxGridSizeX, cellX + spanX); 279 values.put(Favorites.CELLX, cellX);
|
/external/deqp/modules/gles3/functional/ |
es3fFragmentOutputTests.cpp | 407 const int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); 409 const float xf = ((float)x - (float)cellX*cellW + 0.5f) / cellW; 411 const Vec4 v00 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+0)*numComponents, numComponents); 412 const Vec4 v01 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+0)*numComponents, numComponents); 413 const Vec4 v10 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+1)*numComponents, numComponents); 414 const Vec4 v11 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+1)*numComponents, numComponents); 437 int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); 439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); [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...] |
/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;
|
/external/opencv3/modules/objdetect/src/ |
hog.cpp | 665 float cellX = (j+0.5f)/cellSize.width - 0.5f; 667 int icellX0 = cvFloor(cellX); 670 cellX -= icellX0; 681 data->histWeights[0] = (1.f - cellX)*(1.f - cellY); 683 data->histWeights[1] = cellX*(1.f - cellY); 685 data->histWeights[2] = (1.f - cellX)*cellY; 687 data->histWeights[3] = cellX*cellY; 698 data->histWeights[0] = (1.f - cellX)*cellY; 700 data->histWeights[1] = cellX*cellY; 710 cellX = 1.f - cellX [all...] |