/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):
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
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
|
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++) {
|
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...] |
PagedViewCellLayout.java | 297 int spanX = (width + smallerSize) / smallerSize; 300 return new int[] { spanX, spanY };
|
LauncherProvider.java | 284 "spanX INTEGER," + 725 values.put(LauncherSettings.Favorites.SPANX, 4); 728 values.put(LauncherSettings.Favorites.SPANX, 2); [all...] |
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...] |
CellLayout.java | 741 cellInfo.spanX = lp.cellHSpan; 758 cellInfo.spanX = 1; 791 cellInfo.spanX = 0; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 73 int spanX = 1; 112 spanX = info.spanX; 136 values.put(LauncherSettings.Favorites.SPANX, spanX); 180 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
AppWidgetResizeFrame.java | 255 int spanX = lp.cellHSpan; 274 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 296 spanX += hSpanInc; 323 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 327 lp.cellHSpan = spanX; 332 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); 339 int spanX, int spanY) { 341 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect); 346 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { 359 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density) [all...] |
LauncherBackupHelper.java | 106 Favorites.SPANX, // 14 563 final int spanX = cursor.getInt(SPANX_INDEX); 584 previewLoader.setPreviewSize(spanX * profile.cellWidthPx, 727 favorite.spanX = c.getInt(SPANX_INDEX); [all...] |
PagedViewCellLayout.java | 291 int spanX = (width + smallerSize) / smallerSize; 294 return new int[] { spanX, spanY };
|
LauncherProvider.java | 347 "spanX INTEGER," + [all...] |
AppsCustomizePagedView.java | 550 AppWidgetResizeFrame.getWidgetSizeRanges(mLauncher, info.spanX, info.spanY, mTmpRect); 613 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(info.spanX, 711 int spanX = createItemInfo.spanX; 713 int[] size = mLauncher.getWorkspace().estimateItemSize(spanX, spanY, 725 createWidgetInfo.previewImage, createWidgetInfo.icon, spanX, spanY, 730 mWidgetPreviewLoader.maxWidthForWidgetPreview(spanX)); 752 createItemInfo.spanX = createItemInfo.spanY = 1; [all...] |
LauncherModel.java | 230 int cellX, cellY, spanX, spanY; 237 spanX = item.spanX; 239 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) { 475 modelShortcut.spanX == shortcut.spanX && 694 * Move and/or resize item in the DB to a new <container, screen, cellX, cellY, spanX, spanY> 697 final long screenId, final int cellX, final int cellY, final int spanX, final int spanY) { 701 item.spanX = spanX; [all...] |
CellLayout.java | 727 cellInfo.spanX = lp.cellHSpan; 744 cellInfo.spanX = 1; 777 cellInfo.spanX = 0; 854 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { 858 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; [all...] |
Workspace.java | 611 int spanX = customScreen.getCountX(); 613 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, spanX, spanY); 773 int x, int y, int spanX, int spanY) { 774 addInScreen(child, container, screenId, x, y, spanX, spanY, false, false); 780 int spanX, int spanY) { 781 addInScreen(child, container, screenId, x, y, spanX, spanY, false, true); 785 void addInScreen(View child, long container, long screenId, int x, int y, int spanX, int spanY, 787 addInScreen(child, container, screenId, x, y, spanX, spanY, insert, false); 792 * the child are defined by x, y, spanX and spanY. 798 * @param spanX The number of cells spanned horizontally by the child [all...] |
/packages/apps/Launcher3/ |
print_db.py | 114 spanX = cell["spanX"] 123 spanX, spanY, 124 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 164 if d["spanX"] is None: 165 d["spanX"] = 1 171 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"]) 172 ROWS = max(ROWS, d["cellX"] + d["spanX"]) 263 spanX = row["spanX"] [all...] |
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 184 float spanX = obj.getBoundsMaxX() - obj.getBoundsMinX(); 187 float maxSpan = Math.max(spanX, spanY);
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 210 int spanX = (width + smallerSize) / smallerSize; 215 width = spanX * previewCellSize + ((spanX - 1) * widthGap);
|