/packages/apps/Launcher3/src/com/android/launcher3/util/ |
CellAndSpan.java | 21 public int spanX = 1; 34 spanX = copy.spanX; 38 public CellAndSpan(int cellX, int cellY, int spanX, int spanY) { 41 this.spanX = spanX; 46 return "(" + cellX + ", " + cellY + ": " + spanX + ", " + spanY + ")";
|
GridOccupancy.java | 27 * @param spanX Horizontal cell span. 32 public boolean findVacantCell(int[] vacantOut, int spanX, int spanY) { 34 for (int x = 0; (x + spanX) <= mCountX; x++) { 37 for (int i = x; i < x + spanX; i++) { 61 public boolean isRegionVacant(int x, int y, int spanX, int spanY) { 62 int x2 = x + spanX - 1; 77 public void markCells(int cellX, int cellY, int spanX, int spanY, boolean value) { 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) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
WidgetItem.java | 19 * common attributes like spanX and spanY. 30 public final int spanX, spanY; 40 spanX = Math.min(info.spanX, idp.numColumns); 49 spanX = spanY = 1; 75 int thisArea = spanX * spanY; 76 int otherArea = another.spanX * 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 | 384 if ((item.cellX <= col && (item.spanX + item.cellX) > col) 474 if (me.spanX > 1 || me.spanY > 1) { 478 int myW = me.spanX; 505 me.spanX --; 510 me.spanX ++; 526 me.spanX --; 532 me.spanX ++; 677 Favorites.SPANX, // 4 689 final int indexSpanX = c.getColumnIndexOrThrow(Favorites.SPANX); 702 entry.spanX = c.getInt(indexSpanX) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_zoom.h | 47 GLint width, GLint spanX, GLint spanY, 52 GLint width, GLint spanX, GLint spanY,
|
s_zoom.c | 41 * \param spanX, spanY position of span being drawing 49 GLint spanX, GLint spanY, GLint width, 55 assert(spanX >= imageX); 61 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX); 62 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX); 361 GLint width, GLint spanX, GLint spanY, 368 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width, 383 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - spanX; 404 GLint width, GLint spanX, GLint spanY, 413 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
PendingAddWidgetInfo.java | 49 spanX = i.spanX;
|
WidgetItemComparator.java | 51 int thisArea = a.spanX * a.spanY; 52 int otherArea = b.spanX * b.spanY;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 77 public int spanX = 1; 125 spanX = info.spanX; 154 .put(LauncherSettings.Favorites.SPANX, spanX) 165 spanX = values.getAsInteger(LauncherSettings.Favorites.SPANX); 194 + " span(" + spanX + "," + spanY + ")"
|
CellLayout.java | 752 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { 755 result[0] = hStartPadding + cellX * mCellWidth + (spanX * mCellWidth) / 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 | 118 spanX = -1; 149 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
AppWidgetResizeFrame.java | 255 int spanX = lp.cellHSpan; 262 mTempRange1.set(cellX, spanX + cellX); 266 spanX = 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)); 301 lp.cellHSpan = spanX; 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 | 741 cellInfo.spanX = lp.cellHSpan; 758 cellInfo.spanX = 1; 791 cellInfo.spanX = 0; [all...] |
LauncherAppWidgetInfo.java | 61 spanX = -1; 85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
PendingAddItemInfo.java | 78 spanX = copy.spanX;
|
ItemInfo.java | 81 int spanX = 1; 128 spanX = info.spanX; 173 values.put(LauncherSettings.Favorites.SPANX, spanX); 220 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
AppWidgetResizeFrame.java | 256 int spanX = lp.cellHSpan; 275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 297 spanX += hSpanInc; 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 328 lp.cellHSpan = spanX; 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) { 360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density) [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) || 253 if (info.spanX > info.minSpanX && info.spanX > 1) { 259 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || 260 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { 279 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { 284 info.spanX ++; 287 info.spanX --; 289 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) [all...] |
WorkspaceAccessibilityHelper.java | 71 int spanX = dragInfo.info.spanX; 74 for (int m = 0; m < spanX; m++) { 83 for (int i = x0; i < x0 + spanX; i++) {
|
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 327 final float spanX = devX * 2; 333 span = (float) Math.hypot(spanX, spanY); 348 mPrevSpanX = mCurrSpanX = spanX; 356 mPrevSpanX = mCurrSpanX = spanX; 365 mCurrSpanX = spanX;
|
/packages/apps/Launcher2/ |
print_db.py | 83 spanX = cell["spanX"] 92 spanX, spanY, 93 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 202 spanX = row["spanX"] 205 for k in range(cellX, cellX+spanX):
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
DumpTargetWrapper.java | 130 return typeStr + ", grid(" + t.gridX + "," + t.gridY + "), span(" + t.spanX + "," + t.spanY 146 node.spanX = info.spanX;
|
/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 | 116 spanX = cell["spanX"] 125 spanX, spanY, 126 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 166 if d["spanX"] is None: 167 d["spanX"] = 1 173 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"]) 174 ROWS = max(ROWS, d["cellX"] + d["spanX"]) 265 spanX = row["spanX"] [all...] |