Searched defs:dragRegion (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragController.java136 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
140 DragSource source, ItemInfo dragInfo, Point dragOffset, Rect dragRegion,
158 final int dragRegionLeft = dragRegion == null ? 0 : dragRegion.left;
159 final int dragRegionTop = dragRegion == null ? 0 : dragRegion.top;
196 if (dragRegion != null) {
197 dragView.setDragRegion(new Rect(dragRegion));
139 startDrag(Bitmap b, int dragLayerX, int dragLayerY, DragSource source, ItemInfo dragInfo, Point dragOffset, Rect dragRegion, float initialDragViewScale, float dragViewScaleOnDrop, DragOptions options) argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragController.java174 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
207 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
211 DragSource source, Object dragInfo, int dragAction, Point dragOffset, Rect dragRegion,
231 final int dragRegionLeft = dragRegion == null ? 0 : dragRegion.left;
232 final int dragRegionTop = dragRegion == null ? 0 : dragRegion.top;
252 if (dragRegion != null) {
253 dragView.setDragRegion(new Rect(dragRegion));
210 startDrag(Bitmap b, int dragLayerX, int dragLayerY, DragSource source, Object dragInfo, int dragAction, Point dragOffset, Rect dragRegion, float initialDragViewScale) argument
H A DCellLayout.java1210 int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) {
1249 if (dragOffset != null && dragRegion != null) {
1253 - dragRegion.width()) / 2;
1209 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int cellX, int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) argument

Completed in 241 milliseconds