public class ShoveGestureDetector extends TwoFingerGestureDetector
Modifier and Type | Class and Description |
---|---|
static interface |
ShoveGestureDetector.OnShoveGestureListener
Listener which must be implemented which is used by ShoveGestureDetector
to perform callbacks to any implementing class which is registered to a
ShoveGestureDetector via the constructor.
|
static class |
ShoveGestureDetector.SimpleOnShoveGestureListener
Helper class which may be extended and where the methods may be
implemented.
|
Constructor and Description |
---|
ShoveGestureDetector(android.content.Context context,
ShoveGestureDetector.OnShoveGestureListener listener) |
Modifier and Type | Method and Description |
---|---|
float |
getShovePixelsDelta()
Return the distance in pixels from the previous shove event to the current
event.
|
getCurrentSpan, getCurrentSpanX, getCurrentSpanY, getPreviousSpan, getPreviousSpanX, getPreviousSpanY
getEventTime, getTimeDelta, isInProgress, onTouchEvent
public ShoveGestureDetector(android.content.Context context, ShoveGestureDetector.OnShoveGestureListener listener)