public class DragGestureDetector
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DragGestureDetector.OnDragGestureListener |
static class |
DragGestureDetector.SimpleOnDragGestureListener |
Constructor and Description |
---|
DragGestureDetector(DragGestureDetector.OnDragGestureListener listener) |
Modifier and Type | Method and Description |
---|---|
android.view.MotionEvent.PointerCoords |
getCurrPos() |
DragGestureDetector.OnDragGestureListener |
getListener() |
android.view.MotionEvent.PointerCoords |
getOldPos() |
boolean |
isInProgress() |
boolean |
onTouchEvent(android.view.MotionEvent event,
boolean isConcurrentGestureRunning) |
public DragGestureDetector(DragGestureDetector.OnDragGestureListener listener)
public boolean isInProgress()
public android.view.MotionEvent.PointerCoords getOldPos()
public android.view.MotionEvent.PointerCoords getCurrPos()
public boolean onTouchEvent(android.view.MotionEvent event, boolean isConcurrentGestureRunning)
public DragGestureDetector.OnDragGestureListener getListener()