/packages/apps/Launcher3/src/com/android/launcher3/util/ |
CellAndSpan.java | 26 public int spanY = 1; 35 spanY = copy.spanY; 38 public CellAndSpan(int cellX, int cellY, int spanX, int spanY) { 42 this.spanY = spanY; 46 return "(" + cellX + ", " + cellY + ": " + spanX + ", " + spanY + ")";
|
GridOccupancy.java | 28 * @param spanY Vertical cell span. 32 public boolean findVacantCell(int[] vacantOut, int spanX, int spanY) { 33 for (int y = 0; (y + spanY) <= mCountY; y++) { 38 for (int j = y; j < y + spanY; j++) { 61 public boolean isRegionVacant(int x, int y, int spanX, int spanY) { 63 int y2 = y + spanY - 1; 77 public void markCells(int cellX, int cellY, int spanX, int spanY, boolean value) { 80 for (int y = cellY; y < cellY + spanY && y < mCountY; y++) { 91 markCells(cell.cellX, cell.cellY, cell.spanX, cell.spanY, value); 95 markCells(item.cellX, item.cellY, item.spanX, item.spanY, value) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
WidgetItem.java | 19 * common attributes like spanX and spanY. 30 public final int spanX, spanY; 41 spanY = Math.min(info.spanY, idp.numRows); 49 spanX = spanY = 1; 75 int thisArea = spanX * spanY; 76 int otherArea = another.spanX * another.spanY; 78 ? Integer.compare(spanY, another.spanY)
|
AddWorkspaceItemsTask.java | 116 addedWorkspaceScreensFinal, item.spanX, item.spanY); 239 int spanX, int spanY) { 267 app, screenItems.get(screenId), cordinates, spanX, spanY); 275 app, screenItems.get(screenId), cordinates, spanX, spanY)) { 295 app, screenItems.get(screenId), cordinates, spanX, spanY)) { 304 int[] xy, int spanX, int spanY) { 313 return occupied.findVacantCell(xy, spanX, spanY);
|
GridSizeMigrationTask.java | 385 || (item.cellY <= row && (item.spanY + item.cellY) > row)) { 474 if (me.spanX > 1 || me.spanY > 1) { 479 int myH = me.spanY; 515 me.spanY --; 520 me.spanY ++; 527 me.spanY --; 533 me.spanY ++; 678 Favorites.SPANY, // 5 690 final int indexSpanY = c.getColumnIndexOrThrow(Favorites.SPANY); 703 entry.spanY = c.getInt(indexSpanY) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetItemComparator.java | 51 int thisArea = a.spanX * a.spanY; 52 int otherArea = b.spanX * b.spanY; 54 ? Integer.compare(a.spanY, b.spanY)
|
PendingAddWidgetInfo.java | 50 spanY = i.spanY;
|
/external/mesa3d/src/mesa/swrast/ |
s_zoom.h | 47 GLint width, GLint spanX, GLint spanY, 52 GLint width, GLint spanX, GLint spanY,
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 82 public int spanY = 1; 126 spanY = info.spanY; 155 .put(LauncherSettings.Favorites.SPANY, spanY) 166 spanY = values.getAsInteger(LauncherSettings.Favorites.SPANY); 194 + " span(" + spanX + "," + spanY + ")"
|
CellLayout.java | 752 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { 756 result[1] = vStartPadding + cellY * mCellHeight + (spanY * mCellHeight) / 2; 766 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { 771 result.set(left, top, left + (spanX * mCellWidth), top + (spanY * mCellHeight)); [all...] |
LauncherAppWidgetInfo.java | 119 spanY = -1; 149 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
AppWidgetResizeFrame.java | 256 int spanY = lp.cellVSpan; 271 mTempRange1.set(cellY, spanY + cellY); 275 spanY = mTempRange2.size(); 292 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 294 if (mStateAnnouncer != null && (lp.cellHSpan != spanX || lp.cellVSpan != spanY) ) { 296 mLauncher.getString(R.string.widget_resized, spanX, spanY)); 302 lp.cellVSpan = spanY; 307 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); 314 int spanX, int spanY) { 315 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayout.java | 742 cellInfo.spanY = lp.cellVSpan; 759 cellInfo.spanY = 1; 792 cellInfo.spanY = 0; [all...] |
LauncherAppWidgetInfo.java | 62 spanY = -1; 85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
PendingAddItemInfo.java | 79 spanY = copy.spanY;
|
ItemInfo.java | 86 int spanY = 1; 129 spanY = info.spanY; 174 values.put(LauncherSettings.Favorites.SPANY, spanY); 221 + " spanY=" + spanY + " dropPos=" + dropPos + " user=" + user
|
AppWidgetResizeFrame.java | 257 int spanY = lp.cellVSpan; 288 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); 305 spanY += vSpanInc; 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 329 lp.cellVSpan = spanY; 333 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); 340 int spanX, int spanY) { 342 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect); 347 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { 361 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density) [all...] |
Workspace.java | 484 * the child are defined by x, y, spanX and spanY. 491 * @param spanY The number of cells spanned vertically by the child. 493 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { 494 addInScreen(child, container, screen, x, y, spanX, spanY, false); 499 * the child are defined by x, y, spanX and spanY. 506 * @param spanY The number of cells spanned vertically by the child. 509 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, 550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); 556 lp.cellVSpan = spanY; 559 if (spanX < 0 && spanY < 0) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
LauncherAccessibilityDelegate.java | 182 screenId, coordinates, info.spanX, info.spanY); 248 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || 249 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) { 259 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || 264 if (info.spanY > info.minSpanY && info.spanY > 1) { 278 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) 279 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { 289 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) { 294 info.spanY ++ [all...] |
WorkspaceAccessibilityHelper.java | 72 int spanY = dragInfo.info.spanY; 75 for (int n = 0; n < spanY; n++) { 85 for (int j = y0; j < y0 + spanY; j++) {
|
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 328 final float spanY = devY * 2; 331 span = spanY; 333 span = (float) Math.hypot(spanX, spanY); 349 mPrevSpanY = mCurrSpanY = spanY; 357 mPrevSpanY = mCurrSpanY = spanY; 366 mCurrSpanY = spanY;
|
/packages/apps/Launcher2/ |
print_db.py | 84 spanY = cell["spanY"] 92 spanX, spanY, 93 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 203 spanY = row["spanY"] 204 for j in range(cellY, cellY+spanY):
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
DumpTargetWrapper.java | 130 return typeStr + ", grid(" + t.gridX + "," + t.gridY + "), span(" + t.spanX + "," + t.spanY 147 node.spanY = info.spanY;
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
LossyScreenMigrationTask.java | 89 || org.spanX != update.spanX || org.spanY != update.spanY) {
|
/packages/apps/Launcher3/ |
print_db.py | 117 spanY = cell["spanY"] 125 spanX, spanY, 126 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 168 if d["spanY"] is None: 169 d["spanY"] = 1 266 spanY = row["spanY"] 267 for j in range(cellY, cellY+spanY):
|