HomeSort by relevance Sort by last modified time
    Searched full:spany (Results 1 - 25 of 66) sorted by null

1 2 3

  /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 21 * common attributes like spanX and spanY.
32 public final int spanX, spanY;
43 spanY = Math.min(info.spanY, idv.numRows);
52 spanX = spanY = 1;
78 int thisArea = spanX * spanY;
79 int otherArea = another.spanX * another.spanY;
81 ? Integer.compare(spanY, another.spanY)
GridSizeMigrationTask.java 389 || (item.cellY <= row && (item.spanY + item.cellY) > row)) {
478 if (me.spanX > 1 || me.spanY > 1) {
483 int myH = me.spanY;
519 me.spanY --;
524 me.spanY ++;
531 me.spanY --;
537 me.spanY ++;
682 Favorites.SPANY, // 5
694 final int indexSpanY = c.getColumnIndexOrThrow(Favorites.SPANY);
707 entry.spanY = c.getInt(indexSpanY)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
CellLayout.java 742 cellInfo.spanY = lp.cellVSpan;
759 cellInfo.spanY = 1;
792 cellInfo.spanY = 0;
    [all...]
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...]
LauncherAppWidgetInfo.java 62 spanY = -1;
85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
PendingAddItemInfo.java 79 spanY = copy.spanY;
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 84 public int spanY = 1;
128 spanY = info.spanY;
152 values.put(LauncherSettings.Favorites.SPANY, spanY);
163 spanY = values.getAsInteger(LauncherSettings.Favorites.SPANY);
204 + " spanY=" + spanY
CellLayout.java 778 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) {
784 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2;
794 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) {
800 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap));
    [all...]
AppWidgetResizeFrame.java 271 int spanY = lp.cellVSpan;
302 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc);
319 spanY += vSpanInc;
338 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
340 if (mStateAnnouncer != null && (lp.cellHSpan != spanX || lp.cellVSpan != spanY) ) {
342 mLauncher.getString(R.string.widget_resized, spanX, spanY));
348 lp.cellVSpan = spanY;
353 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
360 int spanX, int spanY) {
361 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
LauncherAccessibilityDelegate.java 184 screenId, coordinates, info.spanX, info.spanY);
250 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) ||
251 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) {
261 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
266 if (info.spanY > info.minSpanY && info.spanY > 1) {
280 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY))
281 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
291 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) {
296 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++) {
  /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,
57 ASSERT(spanY >= imageY);
79 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY);
80 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY);
362 GLint width, GLint spanX, GLint spanY,
369 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width,
405 GLint width, GLint spanX, GLint spanY,
414 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width,
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
PendingAddWidgetInfo.java 54 spanY = i.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):
fill_screens.py 65 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
73 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
  /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):
fill_screens.py 65 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
73 insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
  /packages/apps/Launcher2/res/xml-sw720dp/
default_workspace.xml 28 launcher:spanY="1" />
38 launcher:spanY="2" />
  /packages/apps/Launcher2/res/xml/
default_workspace.xml 28 launcher:spanY="1" />
38 launcher:spanY="2" />
  /packages/apps/Launcher2/res/xml-sw600dp/
default_workspace.xml 28 launcher:spanY="1" />
38 launcher:spanY="2" />
  /packages/apps/Launcher3/src/com/android/launcher3/provider/
LossyScreenMigrationTask.java 91 || org.spanX != update.spanX || org.spanY != update.spanY) {

Completed in 534 milliseconds

1 2 3