/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetInfo.java | 60 spanX = -1; 84 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
ItemInfo.java | 73 int spanX = 1; 106 spanX = info.spanX; 140 values.put(LauncherSettings.Favorites.SPANX, spanX); 185 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
CellLayout.java | 692 cellInfo.spanX = lp.cellHSpan; 709 cellInfo.spanX = 1; 742 cellInfo.spanX = 0; 819 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { 823 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; 835 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { 840 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap), [all...] |
PendingAddItemInfo.java | 94 spanX = copy.spanX;
|
AppWidgetResizeFrame.java | 253 int spanX = lp.cellHSpan; 272 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 294 spanX += hSpanInc; 307 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 311 lp.cellHSpan = spanX; 316 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); 323 int spanX, int spanY) { 333 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); 341 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density) [all...] |
InstallShortcutReceiver.java | 232 int cellX, cellY, spanX, spanY; 239 spanX = item.spanX; 241 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
|
Workspace.java | 492 * the child are defined by x, y, spanX and spanY. 498 * @param spanX The number of cells spanned horizontally by the child. 501 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { 502 addInScreen(child, container, screen, x, y, spanX, spanY, false); 507 * the child are defined by x, y, spanX and spanY. 513 * @param spanX The number of cells spanned horizontally by the child. 517 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, 558 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); 563 lp.cellHSpan = spanX; 567 if (spanX < 0 && spanY < 0) [all...] |
ShortcutInfo.java | 160 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY
|
AppsCustomizePagedView.java | 666 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(info.spanX, 762 int spanX = createItemInfo.spanX; 764 int[] size = mLauncher.getWorkspace().estimateItemSize(spanX, spanY, 773 createWidgetInfo.icon, spanX, spanY, maxWidth, maxHeight); 797 createItemInfo.spanX = createItemInfo.spanY = 1; [all...] |
PagedViewCellLayout.java | 308 int spanX = (width + 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 | 321 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY> 324 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) { 328 item.spanX = spanX; 344 values.put(LauncherSettings.Favorites.SPANX, item.spanX); 389 LauncherSettings.Favorites.SPANX, LauncherSettings.Favorites.SPANY }, null, null, null); 396 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX); 404 item.spanX = c.getInt(spanXIndex); 527 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) [all...] |
LauncherProvider.java | 269 "spanX INTEGER," + 710 values.put(LauncherSettings.Favorites.SPANX, 4); 713 values.put(LauncherSettings.Favorites.SPANX, 2); [all...] |
Launcher.java | [all...] |
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 221 final float spanX = devX * 2; 223 final float span = FloatMath.sqrt(spanX * spanX + spanY * spanY); 237 mPrevSpanX = mCurrSpanX = spanX; 243 mPrevSpanX = mCurrSpanX = spanX; 251 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):
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 210 int spanX = (width + smallerSize) / smallerSize; 215 width = spanX * previewCellSize + ((spanX - 1) * widthGap);
|
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 184 float spanX = obj.getBoundsMaxX() - obj.getBoundsMinX(); 187 float maxSpan = Math.max(spanX, spanY);
|