HomeSort by relevance Sort by last modified time
    Searched refs:spanY (Results 1 - 25 of 64) 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 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 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);
  /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 711 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) {
715 result[1] = vStartPadding + cellY * mCellHeight + (spanY * mCellHeight) / 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 119 spanY = -1;
149 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
AppWidgetResizeFrame.java 264 int spanY = lp.cellVSpan;
279 mTempRange1.set(cellY, spanY + cellY);
283 spanY = 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));
310 lp.cellVSpan = spanY;
315 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
322 int spanX, int spanY) {
323 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect)
    [all...]
LauncherAppWidgetProviderInfo.java 22 public int spanY;
76 spanY = Math.max(1, (int) Math.ceil(
  /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...]
  /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) ||
256 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) {
266 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
271 if (info.spanY > info.minSpanY && info.spanY > 1) {
285 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY))
286 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
296 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) {
301 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++) {
  /packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
CustomAppWidgetProviderInfo.java 51 spanY = parcel.readInt();
85 out.writeInt(spanY);
  /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):

Completed in 599 milliseconds

1 2 3