Searched refs:DragStartHelper (Results 1 - 2 of 2) sorted by relevance
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | DragStartHelper.java | 25 * DragStartHelper is a utility class for implementing drag and drop support. 33 * Implement {@link DragStartHelper.OnDragStartListener} to start the drag operation: 35 * DragStartHelper.OnDragStartListener listener = new DragStartHelper.OnDragStartListener { 36 * protected void onDragStart(View view, DragStartHelper helper) { 46 * mDragStartHelper = new DragStartHelper(mDraggableView, listener); 48 * Once created, DragStartHelper can be attached to a view (this will replace existing long click 69 public class DragStartHelper { class 84 * @param helper The DragStartHelper object which detected the gesture. 87 boolean onDragStart(View v, DragStartHelper helpe 96 public DragStartHelper(View view, OnDragStartListener listener) { method in class:DragStartHelper [all...] |
/frameworks/support/compat/src/androidTest/java/androidx/core/view/ |
H A D | DragStartHelperTest.java | 63 boolean onDragStart(View view, DragStartHelper helper, Point touchPosition); 69 when(listener.onDragStart(any(View.class), any(DragStartHelper.class), any(Point.class))) 75 private DragStartHelper createDragStartHelper(final DragStartListener listener) { 76 return new DragStartHelper(mDragSource, new DragStartHelper.OnDragStartListener() { 78 public boolean onDragStart(View v, DragStartHelper helper) { 171 final DragStartHelper helper = createDragStartHelper(listener); 185 final DragStartHelper helper = createDragStartHelper(listener); 201 final DragStartHelper helper = createDragStartHelper(listener); 219 final DragStartHelper helpe [all...] |
Completed in 8 milliseconds