public abstract class BaseGestureDetector
extends java.lang.Object
Constructor and Description |
---|
BaseGestureDetector(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
long |
getEventTime()
Return the event time of the current GestureDetector event being
processed.
|
long |
getTimeDelta()
Return the time difference in milliseconds between the previous accepted
GestureDetector event and the current GestureDetector event.
|
boolean |
isInProgress()
Returns
true if a gesture is currently in progress. |
boolean |
onTouchEvent(android.view.MotionEvent event)
All gesture detectors need to be called through this method to be able to
detect gestures.
|
public boolean onTouchEvent(android.view.MotionEvent event)
event
- public boolean isInProgress()
true
if a gesture is currently in progress.true
if a gesture is currently in progress, false
otherwise.public long getTimeDelta()
public long getEventTime()