Searched refs:dragRegion (Results 1 – 5 of 5) sorted by relevance
78 final Rect dragRegion; in startDrag() local112 dragRegion = null; in startDrag()133 dragRegion = new Rect(); in startDrag()134 dragRegion.left = (mEstimatedCellSize[0] - iconSize) / 2; in startDrag()135 dragRegion.right = dragRegion.left + iconSize; in startDrag()136 dragRegion.top = (mEstimatedCellSize[1] in startDrag()138 dragRegion.bottom = dragRegion.top + iconSize; in startDrag()152 dragOffset, dragRegion, scale, scale, options); in startDrag()
81 Rect dragRegion = dragView.getDragRegion(); in getVisualCenter() local86 int left = x - xOffset - dragRegion.left; in getVisualCenter()87 int top = y - yOffset - dragRegion.top; in getVisualCenter()90 res[0] = left + dragRegion.width() / 2; in getVisualCenter()91 res[1] = top + dragRegion.height() / 2; in getVisualCenter()
2667 Rect dragRegion = dragView.getDragRegion();2668 if (dragRegion != null) {2669 loc[0] += cellLayoutScale * dragRegion.left;2670 loc[1] += cellLayoutScale * dragRegion.top;
962 Rect dragRegion = dragObject.dragView.getDragRegion(); in visualizeDropLocation() local1000 if (dragOffset != null && dragRegion != null) { in visualizeDropLocation()1003 left += dragOffset.x + ((mCellWidth * spanX) - dragRegion.width()) / 2; in visualizeDropLocation()
153 DragSource source, ItemInfo dragInfo, Point dragOffset, Rect dragRegion, in startDrag() argument172 final int dragRegionLeft = dragRegion == null ? 0 : dragRegion.left; in startDrag()173 final int dragRegionTop = dragRegion == null ? 0 : dragRegion.top; in startDrag()210 if (dragRegion != null) { in startDrag()211 dragView.setDragRegion(new Rect(dragRegion)); in startDrag()