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

Method rectToCell

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

Computes the required horizontal and vertical cell spans to always fit the given rectangle. @param width Width in pixels @param height Height in pixels @param result An array of length 2 in which to store the result (may be null).

(int width, int height, int[] result)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

calculateSpansMethod · 0.95
getSpanForWidgetMethod · 0.95
getViewMethod · 0.95

Calls 6

getInstanceMethod · 0.95
getDynamicGridMethod · 0.95
getWorkspacePaddingMethod · 0.95
calculateCellWidthMethod · 0.95
calculateCellHeightMethod · 0.95
getDeviceProfileMethod · 0.80

Tested by

no test coverage detected