Home
last modified time | relevance | path

Searched refs:cellVSpan (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedViewCellLayout.java106 if (lp.cellVSpan < 0) lp.cellVSpan = mCellCountY; in addViewToCellLayout()
405 public int cellVSpan; field in PagedViewCellLayout.LayoutParams
425 cellVSpan = 1; in LayoutParams()
431 cellVSpan = 1; in LayoutParams()
437 cellVSpan = 1; in LayoutParams()
445 this.cellVSpan = source.cellVSpan; in LayoutParams()
448 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { in LayoutParams() argument
453 this.cellVSpan = cellVSpan; in LayoutParams()
461 final int myCellVSpan = cellVSpan; in setup()
489 this.cellHSpan + ", " + this.cellVSpan + ")"; in toString()
DCellLayout.java636 if (lp.cellVSpan < 0) lp.cellVSpan = mCountY; in addViewToCellLayout()
741 cellInfo.spanY = lp.cellVSpan; in setTagToCellInfoForPoint()
2193 c = new CellAndSpan(lp.tmpCellX, lp.tmpCellY, lp.cellHSpan, lp.cellVSpan); in copyCurrentStateToSolution()
2195 c = new CellAndSpan(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan); in copyCurrentStateToSolution()
2218 lp.cellVSpan = c.spanY; in copySolutionToTempState()
2422 info.spanX != lp.cellHSpan || info.spanY != lp.cellVSpan) { in commitTempPlacement()
2428 info.spanY = lp.cellVSpan; in commitTempPlacement()
2525 r1.set(lp.cellX, lp.cellY, lp.cellX + lp.cellHSpan, lp.cellY + lp.cellVSpan); in getViewsIntersectingRegion()
2991 public void cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, Rect resultRect) { in cellToRect() argument
3001 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap); in cellToRect()
[all …]
DAppWidgetResizeFrame.java254 int spanY = lp.cellVSpan; in resizeWidgetIfNeeded()
279 cellYInc = Math.min(lp.cellVSpan - mMinVSpan, cellYInc); in resizeWidgetIfNeeded()
282 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
286 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
326 lp.cellVSpan = spanY; in resizeWidgetIfNeeded()
DWidgetPreviewLoader.java486 int iconId, int cellHSpan, int cellVSpan, int maxPreviewWidth, int maxPreviewHeight, in generateWidgetPreview() argument
512 if (cellVSpan < 1) cellVSpan = 1; in generateWidgetPreview()
521 previewHeight = previewDrawableHeight * cellVSpan; in generateWidgetPreview()
DShortcutAndWidgetContainer.java71 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { in getChildAt()
DWorkspace.java1003 lp.cellVSpan = spanY; in addInScreen()
2994 lp.cellVSpan = item.spanY; in onDrop()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java112 if (lp.cellVSpan < 0) lp.cellVSpan = mCellCountY; in addViewToCellLayout()
411 public int cellVSpan; field in PagedViewCellLayout.LayoutParams
431 cellVSpan = 1; in LayoutParams()
437 cellVSpan = 1; in LayoutParams()
443 cellVSpan = 1; in LayoutParams()
451 this.cellVSpan = source.cellVSpan; in LayoutParams()
454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { in LayoutParams() argument
459 this.cellVSpan = cellVSpan; in LayoutParams()
466 final int myCellVSpan = cellVSpan; in setup()
494 this.cellHSpan + ", " + this.cellVSpan + ")"; in toString()
DCellLayout.java640 if (lp.cellVSpan < 0) lp.cellVSpan = mCountY; in addViewToCellLayout()
742 cellInfo.spanY = lp.cellVSpan; 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()
2227 lp.cellVSpan = c.spanY; in copySolutionToTempState()
2415 info.spanX != lp.cellHSpan || info.spanY != lp.cellVSpan) { in commitTempPlacement()
2421 info.spanY = lp.cellVSpan; 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
2974 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap); in cellToRect()
[all …]
DAppWidgetResizeFrame.java257 int spanY = lp.cellVSpan; in resizeWidgetIfNeeded()
282 cellYInc = Math.min(lp.cellVSpan - mMinVSpan, cellYInc); in resizeWidgetIfNeeded()
285 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
289 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
329 lp.cellVSpan = spanY; in resizeWidgetIfNeeded()
DWidgetPreviewLoader.java442 int iconId, int cellHSpan, int cellVSpan, int maxPreviewWidth, int maxPreviewHeight, in generateWidgetPreview() argument
468 if (cellVSpan < 1) cellVSpan = 1; in generateWidgetPreview()
477 previewHeight = previewDrawableHeight * cellVSpan; in generateWidgetPreview()
DShortcutAndWidgetContainer.java67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { in getChildAt()
DWorkspace.java555 lp.cellVSpan = spanY; in addInScreen()
2272 lp.cellVSpan = item.spanY;