/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 | 83 addedWorkspaceScreensFinal, item.spanX, item.spanY); 190 int spanX, int spanY) { 218 app, screenItems.get(screenId), cordinates, spanX, spanY); 226 app, screenItems.get(screenId), cordinates, spanX, spanY)) { 246 app, screenItems.get(screenId), cordinates, spanX, spanY)) { 255 int[] xy, int spanX, int spanY) { 264 return occupied.findVacantCell(xy, spanX, spanY);
|
GridSizeMigrationTask.java | 388 if ((item.cellX <= col && (item.spanX + item.cellX) > col) 478 if (me.spanX > 1 || me.spanY > 1) { 482 int myW = me.spanX; 509 me.spanX --; 514 me.spanX ++; 530 me.spanX --; 536 me.spanX ++; 681 Favorites.SPANX, // 4 693 final int indexSpanX = c.getColumnIndexOrThrow(Favorites.SPANX); 706 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 | 42 * \param spanX, spanY position of span being drawing 50 GLint spanX, GLint spanY, GLint width, 56 ASSERT(spanX >= imageX); 62 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX); 63 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX); 362 GLint width, GLint spanX, GLint spanY, 369 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width, 384 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - spanX; 405 GLint width, GLint spanX, GLint spanY, 414 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 | 73 public int spanX = 1; 121 spanX = info.spanX; 145 .put(LauncherSettings.Favorites.SPANX, spanX) 156 spanX = values.getAsInteger(LauncherSettings.Favorites.SPANX); 186 + " spanX=" + spanX
|
CellLayout.java | 757 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { 760 result[0] = hStartPadding + cellX * mCellWidth + (spanX * mCellWidth) / 2; 771 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { 776 result.set(left, top, left + (spanX * mCellWidth), top + (spanY * mCellHeight)); [all...] |
LauncherAppWidgetInfo.java | 112 spanX = -1; 143 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
AppWidgetResizeFrame.java | 256 int spanX = lp.cellHSpan; 263 mTempRange1.set(cellX, spanX + cellX); 267 spanX = mTempRange2.size(); 293 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 295 if (mStateAnnouncer != null && (lp.cellHSpan != spanX || lp.cellVSpan != spanY) ) { 297 mLauncher.getString(R.string.widget_resized, spanX, spanY)); 302 lp.cellHSpan = spanX; 308 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); 315 int spanX, int spanY) { 316 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 | 183 screenId, coordinates, info.spanX, info.spanY); 249 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || 254 if (info.spanX > info.minSpanX && info.spanX > 1) { 260 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || 261 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { 280 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { 285 info.spanX ++; 288 info.spanX --; 290 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 | 91 || 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...] |