MCPcopy Create free account
hub / github.com/chislon/Launcher3 / findCellForSpan

Method findCellForSpan

src/com/android/launcher3/CellLayout.java:2784–2786  ·  view source on GitHub ↗

Finds the upper-left coordinate of the first rectangle in the grid that can hold a cell of the specified dimensions. If intersectX and intersectY are not -1, then this method will only return coordinates for rectangles that contain the cell (intersectX, intersectY) @param cellXY The array that will

(int[] cellXY, int spanX, int spanY)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

existsEmptyCellMethod · 0.95
completeAddShortcutMethod · 0.95
completeAddAppWidgetMethod · 0.95
onDropCompletedMethod · 0.95
findAndSetEmptyCellsMethod · 0.80
onDropExternalMethod · 0.80

Tested by

no test coverage detected