HomeSort by relevance Sort by last modified time
    Searched refs:spanY (Results 1 - 18 of 18) sorted by null

  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherAppWidgetInfo.java 61 spanY = -1;
84 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
ItemInfo.java 78 int spanY = 1;
107 spanY = info.spanY;
141 values.put(LauncherSettings.Favorites.SPANY, spanY);
186 + " spanY=" + spanY + " isGesture=" + isGesture + " dropPos=" + dropPos + ")";
CellLayout.java 687 cellInfo.spanY = lp.cellVSpan;
704 cellInfo.spanY = 1;
737 cellInfo.spanY = 0;
813 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) {
819 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2;
829 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) {
835 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap));
    [all...]
PendingAddItemInfo.java 95 spanY = copy.spanY;
AppWidgetResizeFrame.java 249 int spanY = lp.cellVSpan;
280 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc);
295 spanY += vSpanInc;
302 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
307 lp.cellVSpan = spanY;
311 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
318 int spanX, int spanY) {
329 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
337 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density)
    [all...]
InstallShortcutReceiver.java 232 int cellX, cellY, spanX, spanY;
240 spanY = item.spanY;
242 for (int y = cellY; 0 <= y && y < cellY + spanY && y < yCount; y++) {
Workspace.java 488 * the child are defined by x, y, spanX and spanY.
495 * @param spanY The number of cells spanned vertically by the child.
497 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) {
498 addInScreen(child, container, screen, x, y, spanX, spanY, false);
503 * the child are defined by x, y, spanX and spanY.
510 * @param spanY The number of cells spanned vertically by the child.
513 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY,
554 lp = new CellLayout.LayoutParams(x, y, spanX, spanY);
560 lp.cellVSpan = spanY;
563 if (spanX < 0 && spanY < 0)
    [all...]
ShortcutInfo.java 160 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY
AppsCustomizePagedView.java 663 info.spanY, info, false);
759 int spanY = createItemInfo.spanY;
760 int[] size = mLauncher.getWorkspace().estimateItemSize(spanX, spanY,
769 createWidgetInfo.icon, spanX, spanY, maxWidth, maxHeight);
793 createItemInfo.spanX = createItemInfo.spanY = 1;
    [all...]
PagedViewCellLayout.java 309 int spanY = (height + smallerSize) / smallerSize;
311 return new int[] { spanX, spanY };
Folder.java 528 if (mContent.findCellForSpan(emptyCell, item.spanX, item.spanY)) {
560 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY);
    [all...]
LauncherModel.java 280 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY>
283 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) {
288 item.spanY = spanY;
304 values.put(LauncherSettings.Favorites.SPANY, item.spanY);
348 LauncherSettings.Favorites.SPANX, LauncherSettings.Favorites.SPANY }, null, null, null);
356 final int spanYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANY);
364 item.spanY = c.getInt(spanYIndex);
489 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) {
    [all...]
LauncherProvider.java 270 "spanY INTEGER," +
711 values.put(LauncherSettings.Favorites.SPANY, 1);
714 values.put(LauncherSettings.Favorites.SPANY, 2);
    [all...]
Launcher.java     [all...]
  /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):
  /development/apps/WidgetPreview/src/com/android/widgetpreview/
WidgetPreviewActivity.java 211 int spanY = (height + smallerSize) / smallerSize;
216 height = spanY * previewCellSize + ((spanY - 1) * heightGap);
  /development/apps/OBJViewer/com/android/objviewer/
OBJViewer.java 185 float spanY = obj.getBoundsMaxY() - obj.getBoundsMinY();
187 float maxSpan = Math.max(spanX, spanY);
  /packages/apps/Calendar/src/com/android/calendar/
DayView.java     [all...]

Completed in 870 milliseconds