MCPcopy Index your code
hub / github.com/LeongAndroid/Launcher3 / findNearestArea

Method findNearestArea

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

Calculate the nearest cell where the given object would be dropped. pixelX and pixelY should be in the coordinate system of layout

(int pixelX, int pixelY,
            int spanX, int spanY, CellLayout layout, int[] recycle)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

acceptDropMethod · 0.95
onDropMethod · 0.95
onDragOverMethod · 0.95
onDropExternalMethod · 0.95
onAlarmMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected