/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 741 cellInfo.spanX = lp.cellHSpan; in setTagToCellInfoForPoint() 758 cellInfo.spanX = 1; in setTagToCellInfoForPoint() 791 cellInfo.spanX = 0; in clearTagCellInfo() 868 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { in regionToCenterPoint() argument 872 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; in regionToCenterPoint() 884 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { in regionToRect() argument 889 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap), in regionToRect() 1188 void estimateDropCell(int originX, int originY, int spanX, int spanY, int[] result) { in estimateDropCell() argument 1197 int rightOverhang = result[0] + spanX - countX; in estimateDropCell() 1210 int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) { in visualizeDropLocation() argument [all …]
|
D | Workspace.java | 493 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { in addInScreen() argument 494 addInScreen(child, container, screen, x, y, spanX, spanY, false); in addInScreen() 509 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, in addInScreen() argument 550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); in addInScreen() 555 lp.cellHSpan = spanX; in addInScreen() 559 if (spanX < 0 && spanY < 0) { in addInScreen() 564 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY); in addInScreen() 1533 int[] size = estimateItemSize(info.spanX, info.spanY, info, false); 1985 int spanX = 1; 1989 spanX = dragCellInfo.spanX; [all …]
|
D | AppWidgetResizeFrame.java | 256 int spanX = lp.cellHSpan; in resizeWidgetIfNeeded() local 275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); in resizeWidgetIfNeeded() 297 spanX += hSpanInc; in resizeWidgetIfNeeded() 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, in resizeWidgetIfNeeded() 328 lp.cellHSpan = spanX; in resizeWidgetIfNeeded() 333 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); in resizeWidgetIfNeeded() 340 int spanX, int spanY) { in updateWidgetSizeRanges() argument 342 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect); in updateWidgetSizeRanges() 347 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { in getWidgetSizeRanges() argument 360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); in getWidgetSizeRanges() [all …]
|
D | ItemInfo.java | 73 int spanX = 1; field in ItemInfo 112 spanX = info.spanX; in ItemInfo() 147 values.put(LauncherSettings.Favorites.SPANX, spanX); in onAddToDatabase() 191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX in toString()
|
D | AppsCustomizePagedView.java | 563 AppWidgetResizeFrame.getWidgetSizeRanges(mLauncher, info.spanX, info.spanY, mTmpRect); in getDefaultOptionsForWidget() 626 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(info.spanX, in preloadWidget() 724 int spanX = createItemInfo.spanX; in beginDraggingWidget() local 726 int[] size = mLauncher.getWorkspace().estimateItemSize(spanX, spanY, in beginDraggingWidget() 738 createWidgetInfo.previewImage, createWidgetInfo.icon, spanX, spanY, in beginDraggingWidget() 743 mWidgetPreviewLoader.maxWidthForWidgetPreview(spanX)); in beginDraggingWidget() 765 createItemInfo.spanX = createItemInfo.spanY = 1; in beginDraggingWidget() 890 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY); in onDropCompleted() 1204 createItemInfo.spanX = spanXY[0]; in syncWidgetPageItems()
|
D | LauncherModel.java | 285 modelShortcut.spanX == shortcut.spanX && in checkItemInfoLocked() 444 final int screen, final int cellX, final int cellY, final int spanX, final int spanY) { in modifyItemInDatabase() argument 452 item.spanX = spanX; in modifyItemInDatabase() 468 values.put(LauncherSettings.Favorites.SPANX, item.spanX); in modifyItemInDatabase() 528 item.spanX = c.getInt(spanXIndex); in getItemsInLocalCoordinates() 662 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) { in getCellLayoutChildId() argument 1232 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) { in checkItemPlacement() 1244 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) { in checkItemPlacement() 1450 appWidgetInfo.spanX = c.getInt(spanXIndex); in loadWorkspace()
|
D | InstallShortcutReceiver.java | 343 int cellX, cellY, spanX, spanY; in findEmptyCell() local 350 spanX = item.spanX; in findEmptyCell() 352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) { in findEmptyCell()
|
D | LauncherAppWidgetInfo.java | 60 spanX = -1; in LauncherAppWidgetInfo() 84 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY); in notifyWidgetSizeChanged()
|
D | Folder.java | 516 if (mContent.findCellForSpan(emptyCell, item.spanX, item.spanY)) { in findAndSetEmptyCells() 548 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); in createAndAddShortcut() 972 mInfo.cellX, mInfo.cellY, mInfo.spanX, mInfo.spanY); in replaceFolderWithFinalItem() 1005 item.spanX = 1; in onDrop()
|
D | PendingAddItemInfo.java | 96 spanX = copy.spanX; in PendingAddWidgetInfo()
|
D | Launcher.java | 942 mPendingAddInfo.spanX = savedState.getInt(RUNTIME_STATE_PENDING_ADD_SPAN_X); in restoreState() 1195 spanXY[0] = mPendingAddInfo.spanX; in completeAddAppWidget() 1227 launcherInfo.spanX = spanXY[0]; in completeAddAppWidget() 1250 launcherInfo.spanX, launcherInfo.spanY, isWorkspaceLocked()); in completeAddAppWidget() 1534 outState.putInt(RUNTIME_STATE_PENDING_ADD_SPAN_X, mPendingAddInfo.spanX); in onSaveInstanceState() 1753 mPendingAddInfo.spanX = mPendingAddInfo.spanY = -1; in resetAddInfo() 1824 mPendingAddInfo.spanX = span[0]; in addAppWidgetFromDrop() 3514 item.cellY, item.spanX, item.spanY, false); in bindAppWidget()
|
D | LauncherProvider.java | 1038 int spanX = a.getInt(R.styleable.Favorite_spanX, 0); in addAppWidget() local 1065 return addAppWidget(db, values, cn, spanX, spanY, extras); in addAppWidget() 1072 int spanX, int spanY, Bundle extras) { in addAppWidget() argument 1080 values.put(Favorites.SPANX, spanX); in addAppWidget()
|
D | PagedViewCellLayout.java | 297 int spanX = (width + smallerSize) / smallerSize; in getCellCountForDimensions() local 300 return new int[] { spanX, spanY }; in getCellCountForDimensions()
|
D | WidgetPreviewLoader.java | 410 public int maxWidthForWidgetPreview(int spanX) { in maxWidthForWidgetPreview() argument 412 mWidgetSpacingLayout.estimateCellWidth(spanX)); in maxWidthForWidgetPreview()
|
D | ShortcutInfo.java | 149 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY in toString()
|
/packages/apps/Launcher2/ |
D | 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):
|