Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java100 final Rect dragRegion; in startDrag() local
168 dragRegion = null; in startDrag()
193 dragRegion = new Rect(); in startDrag()
194 dragRegion.left = (mEstimatedCellSize[0] - iconSize) / 2; in startDrag()
195 dragRegion.right = dragRegion.left + iconSize; in startDrag()
196 dragRegion.top = (mEstimatedCellSize[1] in startDrag()
198 dragRegion.bottom = dragRegion.top + iconSize; in startDrag()
214 dragLayerX, dragLayerY, source, mAddInfo, dragOffset, dragRegion, scale, scale, in startDrag()
218 source, mAddInfo, dragOffset, dragRegion, scale, scale, options); in startDrag()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLauncherDragController.java64 Rect dragRegion, in startDrag() argument
84 final int dragRegionLeft = dragRegion == null ? 0 : dragRegion.left; in startDrag()
85 final int dragRegionTop = dragRegion == null ? 0 : dragRegion.top; in startDrag()
135 if (dragRegion != null) { in startDrag()
136 dragView.setDragRegion(new Rect(dragRegion)); in startDrag()
DDragController.java145 Rect dragRegion, in startDrag() argument
150 source, dragInfo, dragOffset, dragRegion, initialDragViewScale, dragViewScaleOnDrop, in startDrag()
182 Rect dragRegion, in startDrag() argument
187 source, dragInfo, dragOffset, dragRegion, initialDragViewScale, dragViewScaleOnDrop, in startDrag()
200 Rect dragRegion, in startDrag() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java100 Rect dragRegion = dragView.getDragRegion(); in getVisualCenter() local
105 int left = x - xOffset - dragRegion.left; in getVisualCenter()
106 int top = y - yOffset - dragRegion.top; in getVisualCenter()
109 res[0] = left + dragRegion.width() / 2; in getVisualCenter()
110 res[1] = top + dragRegion.height() / 2; in getVisualCenter()
DWorkspace.java2682 Rect dragRegion = dragView.getDragRegion();
2683 if (dragRegion != null) {
2684 loc[0] += cellLayoutScale * dragRegion.left;
2685 loc[1] += cellLayoutScale * dragRegion.top;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarActivityContext.java319 ItemInfo dragInfo, Point dragOffset, Rect dragRegion, float initialDragViewScale, in startDrag() argument