Home
last modified time | relevance | path

Searched refs:cellHSpan (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java111 if (lp.cellHSpan < 0) lp.cellHSpan = mCellCountX; in addViewToCellLayout()
405 public int cellHSpan; field in PagedViewCellLayout.LayoutParams
430 cellHSpan = 1; in LayoutParams()
436 cellHSpan = 1; in LayoutParams()
442 cellHSpan = 1; in LayoutParams()
450 this.cellHSpan = source.cellHSpan; in LayoutParams()
454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { in LayoutParams() argument
458 this.cellHSpan = cellHSpan; in LayoutParams()
465 final int myCellHSpan = cellHSpan; in setup()
494 this.cellHSpan + ", " + this.cellVSpan + ")"; in toString()
DCellLayout.java639 if (lp.cellHSpan < 0) lp.cellHSpan = mCountX; in addViewToCellLayout()
741 cellInfo.spanX = lp.cellHSpan; in setTagToCellInfoForPoint()
2202 c = new CellAndSpan(lp.tmpCellX, lp.tmpCellY, lp.cellHSpan, lp.cellVSpan); in copyCurrentStateToSolution()
2204 c = new CellAndSpan(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan); in copyCurrentStateToSolution()
2226 lp.cellHSpan = c.spanX; in copySolutionToTempState()
2415 info.spanX != lp.cellHSpan || info.spanY != lp.cellVSpan) { in commitTempPlacement()
2420 info.spanX = lp.cellHSpan; in commitTempPlacement()
2518 r1.set(lp.cellX, lp.cellY, lp.cellX + lp.cellHSpan, lp.cellY + lp.cellVSpan); in getViewsIntersectingRegion()
2964 public void cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, Rect resultRect) { in cellToRect() argument
2973 int width = cellHSpan * cellWidth + ((cellHSpan - 1) * widthGap); in cellToRect()
[all …]
DAppWidgetResizeFrame.java256 int spanX = lp.cellHSpan; in resizeWidgetIfNeeded()
268 cellXInc = Math.min(lp.cellHSpan - mMinHSpan, cellXInc); in resizeWidgetIfNeeded()
271 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded()
276 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded()
328 lp.cellHSpan = spanX; in resizeWidgetIfNeeded()
DWidgetPreviewLoader.java475 public Bitmap generateWidgetPreview(AppWidgetProviderInfo info, int cellHSpan, in generateWidgetPreview() argument
493 if (cellHSpan < 1) cellHSpan = 1; in generateWidgetPreview()
502 previewWidth = previewDrawableWidth * cellHSpan; // subtract 2 dips in generateWidgetPreview()
DShortcutAndWidgetContainer.java66 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && in getChildAt()
DWorkspace.java555 lp.cellHSpan = spanX; in addInScreen()
2272 lp.cellHSpan = item.spanX;
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java629 if (lp.cellHSpan < 0) lp.cellHSpan = mCountX; in addViewToCellLayout()
1985 c = new CellAndSpan(lp.tmpCellX, lp.tmpCellY, lp.cellHSpan, lp.cellVSpan); in copyCurrentStateToSolution()
1987 c = new CellAndSpan(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan); in copyCurrentStateToSolution()
2009 lp.cellHSpan = c.spanX; in copySolutionToTempState()
2214 info.spanX != lp.cellHSpan || info.spanY != lp.cellVSpan) { in commitTempPlacement()
2219 info.spanX = lp.cellHSpan; in commitTempPlacement()
2317 r1.set(lp.cellX, lp.cellY, lp.cellX + lp.cellHSpan, lp.cellY + lp.cellVSpan); in getViewsIntersectingRegion()
2670 public void cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, Rect resultRect) { in cellToRect() argument
2679 int width = cellHSpan * cellWidth + ((cellHSpan - 1) * widthGap); in cellToRect()
2699 markCellsForView(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan, mOccupied, true); in markCellsAsOccupiedForView()
[all …]
DAppWidgetResizeFrame.java253 int spanX = lp.cellHSpan; in resizeWidgetIfNeeded()
265 cellXInc = Math.min(lp.cellHSpan - mMinHSpan, cellXInc); in resizeWidgetIfNeeded()
268 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded()
273 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded()
325 lp.cellHSpan = spanX; in resizeWidgetIfNeeded()
DShortcutAndWidgetContainer.java74 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && in getChildAt()
DWorkspace.java1013 lp.cellHSpan = spanX; in addInScreen()
2706 lp.cellHSpan = item.spanX; in onDrop()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java268 lp.cellHSpan ++; in performResizeAction()
271 lp.cellHSpan --; in performResizeAction()