MCPcopy Create free account
hub / github.com/LeongAndroid/Launcher3 / estimateItemSize

Method estimateItemSize

src/com/android/launcher3/Workspace.java:378–411  ·  view source on GitHub ↗

Estimates the size of an item using spans: hSpan, vSpan. @param springLoaded True if we are in spring loaded mode. @param unscaledSize True if caller wants to return the unscaled size @return MAX_VALUE for each dimension if unsuccessful.

(ItemInfo itemInfo, boolean springLoaded, boolean unscaledSize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

createDragOutlineMethod · 0.95
createWidgetBitmapMethod · 0.80
startDragMethod · 0.80
runMethod · 0.80

Calls 5

numCustomPagesMethod · 0.95
estimateItemPositionMethod · 0.95
shrinkRectMethod · 0.95
getDeviceProfileMethod · 0.45
getChildAtMethod · 0.45

Tested by

no test coverage detected