public static class GestureDetector.SimpleOnGestureListener extends Object implements GestureDetector.OnGestureListener, GestureDetector.OnDoubleTapListener
| Constructor and Description |
|---|
GestureDetector.SimpleOnGestureListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onDoubleTap(MotionEvent e) |
boolean |
onDoubleTapEvent(MotionEvent e) |
boolean |
onDown(MotionEvent e) |
boolean |
onFling(MotionEvent e1,
MotionEvent e2,
float velocityX,
float velocityY) |
void |
onLongPress(MotionEvent e) |
boolean |
onScroll(MotionEvent e1,
MotionEvent e2,
float distanceX,
float distanceY) |
void |
onShowPress(MotionEvent e) |
boolean |
onSingleTapConfirmed(MotionEvent e) |
boolean |
onSingleTapUp(MotionEvent e) |
public GestureDetector.SimpleOnGestureListener()
public boolean onSingleTapUp(MotionEvent e)
onSingleTapUp in interface GestureDetector.OnGestureListenerpublic void onLongPress(MotionEvent e)
onLongPress in interface GestureDetector.OnGestureListenerpublic boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
onScroll in interface GestureDetector.OnGestureListenerpublic boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
onFling in interface GestureDetector.OnGestureListenerpublic void onShowPress(MotionEvent e)
onShowPress in interface GestureDetector.OnGestureListenerpublic boolean onDown(MotionEvent e)
onDown in interface GestureDetector.OnGestureListenerpublic boolean onDoubleTap(MotionEvent e)
onDoubleTap in interface GestureDetector.OnDoubleTapListenerpublic boolean onDoubleTapEvent(MotionEvent e)
onDoubleTapEvent in interface GestureDetector.OnDoubleTapListenerpublic boolean onSingleTapConfirmed(MotionEvent e)
onSingleTapConfirmed in interface GestureDetector.OnDoubleTapListenerCopyright © 2008-2013. All Rights Reserved.