Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java2170 Rect dropRegionRect = new Rect(); in getDirectionVectorForDrop() local
2172 dragView, dropRegionRect, mIntersectingViews); in getDirectionVectorForDrop()
2174 int dropRegionSpanX = dropRegionRect.width(); in getDirectionVectorForDrop()
2175 int dropRegionSpanY = dropRegionRect.height(); in getDirectionVectorForDrop()
2177 regionToRect(dropRegionRect.left, dropRegionRect.top, dropRegionRect.width(), in getDirectionVectorForDrop()
2178 dropRegionRect.height(), dropRegionRect); in getDirectionVectorForDrop()
2180 int deltaX = (dropRegionRect.centerX() - dragViewCenterX) / spanX; in getDirectionVectorForDrop()
2181 int deltaY = (dropRegionRect.centerY() - dragViewCenterY) / spanY; in getDirectionVectorForDrop()