HomeSort by relevance Sort by last modified time
    Searched refs:spanX (Results 1 - 25 of 64) sorted by null

1 2 3

  /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 94 addedWorkspaceScreensFinal, item.spanX, item.spanY);
213 int spanX, int spanY) {
241 app, screenItems.get(screenId), cordinates, spanX, spanY);
249 app, screenItems.get(screenId), cordinates, spanX, spanY)) {
269 app, screenItems.get(screenId), cordinates, spanX, spanY)) {
278 int[] xy, int spanX, int spanY) {
287 return occupied.findVacantCell(xy, spanX, spanY);
  /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 711 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) {
714 result[0] = hStartPadding + cellX * mCellWidth + (spanX * mCellWidth) / 2;
725 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) {
730 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 263 int spanX = lp.cellHSpan;
270 mTempRange1.set(cellX, spanX + cellX);
274 spanX = mTempRange2.size();
300 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
302 if (mStateAnnouncer != null && (lp.cellHSpan != spanX || lp.cellVSpan != spanY) ) {
304 mLauncher.getString(R.string.widget_resized, spanX, spanY));
309 lp.cellHSpan = spanX;
315 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
322 int spanX, int spanY) {
323 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect)
    [all...]
LauncherAppWidgetProviderInfo.java 21 public int spanX;
74 spanX = Math.max(1, (int) Math.ceil(
  /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/widget/custom/
CustomAppWidgetProviderInfo.java 50 spanX = parcel.readInt();
84 out.writeInt(spanX);
  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
LauncherAccessibilityDelegate.java 181 screenId, coordinates, info.spanX, info.spanY);
255 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) ||
260 if (info.spanX > info.minSpanX && info.spanX > 1) {
266 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
267 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) {
286 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
291 info.spanX ++;
294 info.spanX --;
296 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) {

Completed in 538 milliseconds

1 2 3