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.java2233 Rect dropRegionRect = new Rect(); in getDirectionVectorForDrop() local
2235 dragView, dropRegionRect, mIntersectingViews); in getDirectionVectorForDrop()
2237 int dropRegionSpanX = dropRegionRect.width(); in getDirectionVectorForDrop()
2238 int dropRegionSpanY = dropRegionRect.height(); in getDirectionVectorForDrop()
2240 cellToRect(dropRegionRect.left, dropRegionRect.top, dropRegionRect.width(), in getDirectionVectorForDrop()
2241 dropRegionRect.height(), dropRegionRect); in getDirectionVectorForDrop()
2243 int deltaX = (dropRegionRect.centerX() - dragViewCenterX) / spanX; in getDirectionVectorForDrop()
2244 int deltaY = (dropRegionRect.centerY() - dragViewCenterY) / spanY; in getDirectionVectorForDrop()