/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; 112 spanX = info.spanX; 147 values.put(LauncherSettings.Favorites.SPANX, spanX); 191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
CellLayout.java | 741 cellInfo.spanX = lp.cellHSpan; 758 cellInfo.spanX = 1; 791 cellInfo.spanX = 0; [all...] |
PendingAddItemInfo.java | 96 spanX = copy.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...] |
Workspace.java | 484 * the child are defined by x, y, spanX and spanY. 490 * @param spanX The number of cells spanned horizontally by the child. 493 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { 494 addInScreen(child, container, screen, x, y, spanX, spanY, false); 499 * the child are defined by x, y, spanX and spanY. 505 * @param spanX The number of cells spanned horizontally by the child. 509 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, 550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); 555 lp.cellHSpan = spanX; 559 if (spanX < 0 && spanY < 0) [all...] |
InstallShortcutReceiver.java | 343 int cellX, cellY, spanX, spanY; 350 spanX = item.spanX; 352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
|
ShortcutInfo.java | 149 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY
|
AppsCustomizePagedView.java | 563 AppWidgetResizeFrame.getWidgetSizeRanges(mLauncher, info.spanX, info.spanY, mTmpRect); 626 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(info.spanX, 724 int spanX = createItemInfo.spanX; 726 int[] size = mLauncher.getWorkspace().estimateItemSize(spanX, spanY, 738 createWidgetInfo.previewImage, createWidgetInfo.icon, spanX, spanY, 743 mWidgetPreviewLoader.maxWidthForWidgetPreview(spanX)); 765 createItemInfo.spanX = createItemInfo.spanY = 1; [all...] |
PagedViewCellLayout.java | 297 int spanX = (width + smallerSize) / smallerSize; 300 return new int[] { spanX, spanY };
|
LauncherModel.java | 285 modelShortcut.spanX == shortcut.spanX && 441 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY> 444 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) { 452 item.spanX = spanX; 468 values.put(LauncherSettings.Favorites.SPANX, item.spanX); 513 LauncherSettings.Favorites.SPANX, LauncherSettings.Favorites.SPANY }, null, null, null); 520 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX); [all...] |
Folder.java | 516 if (mContent.findCellForSpan(emptyCell, item.spanX, item.spanY)) { 548 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); [all...] |
WidgetPreviewLoader.java | 410 public int maxWidthForWidgetPreview(int spanX) { 412 mWidgetSpacingLayout.estimateCellWidth(spanX));
|
LauncherProvider.java | 284 "spanX INTEGER," + 725 values.put(LauncherSettings.Favorites.SPANX, 4); 728 values.put(LauncherSettings.Favorites.SPANX, 2); [all...] |
Launcher.java | [all...] |
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 321 final float spanX = devX * 2; 323 final float span = FloatMath.sqrt(spanX * spanX + spanY * spanY); 337 mPrevSpanX = mCurrSpanX = spanX; 343 mPrevSpanX = mCurrSpanX = spanX; 352 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);
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
InteractiveLineGraphView.java | 669 float spanX = ScaleGestureDetectorCompat.getCurrentSpanX(scaleGestureDetector); 672 float newWidth = lastSpanX / spanX * mCurrentViewport.width(); 693 lastSpanX = spanX; [all...] |