Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java77 final Point dragOffset; in startDrag() local
111 dragOffset = null; in startDrag()
121 dragOffset = new Point(previewPadding / 2, previewPadding / 2); in startDrag()
152 dragOffset, dragRegion, scale, scale, options); in startDrag()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java145 DragSource source, ItemInfo dragInfo, Point dragOffset, Rect dragRegion, in startDrag() argument
199 if (dragOffset != null) { in startDrag()
200 dragView.setDragVisualizeOffset(new Point(dragOffset)); in startDrag()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java961 Point dragOffset = dragObject.dragView.getDragVisualizeOffset(); in visualizeDropLocation() local
986 if (v != null && dragOffset == null) { in visualizeDropLocation()
1000 if (dragOffset != null && dragRegion != null) { in visualizeDropLocation()
1003 left += dragOffset.x + ((mCellWidth * spanX) - dragRegion.width()) / 2; in visualizeDropLocation()
1006 top += dragOffset.y + cellPaddingY; in visualizeDropLocation()