android.view
Class GestureDetector.SimpleOnGestureListener
java.lang.Object
android.view.GestureDetector.SimpleOnGestureListener
- All Implemented Interfaces:
- GestureDetector.OnDoubleTapListener, GestureDetector.OnGestureListener
- Enclosing class:
- GestureDetector
public static class GestureDetector.SimpleOnGestureListener
- extends Object
- implements GestureDetector.OnGestureListener, GestureDetector.OnDoubleTapListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GestureDetector.SimpleOnGestureListener
public GestureDetector.SimpleOnGestureListener()
onSingleTapUp
public boolean onSingleTapUp(MotionEvent e)
- Specified by:
onSingleTapUp
in interface GestureDetector.OnGestureListener
onLongPress
public void onLongPress(MotionEvent e)
- Specified by:
onLongPress
in interface GestureDetector.OnGestureListener
onScroll
public boolean onScroll(MotionEvent e1,
MotionEvent e2,
float distanceX,
float distanceY)
- Specified by:
onScroll
in interface GestureDetector.OnGestureListener
onFling
public boolean onFling(MotionEvent e1,
MotionEvent e2,
float velocityX,
float velocityY)
- Specified by:
onFling
in interface GestureDetector.OnGestureListener
onShowPress
public void onShowPress(MotionEvent e)
- Specified by:
onShowPress
in interface GestureDetector.OnGestureListener
onDown
public boolean onDown(MotionEvent e)
- Specified by:
onDown
in interface GestureDetector.OnGestureListener
onDoubleTap
public boolean onDoubleTap(MotionEvent e)
- Specified by:
onDoubleTap
in interface GestureDetector.OnDoubleTapListener
onDoubleTapEvent
public boolean onDoubleTapEvent(MotionEvent e)
- Specified by:
onDoubleTapEvent
in interface GestureDetector.OnDoubleTapListener
onSingleTapConfirmed
public boolean onSingleTapConfirmed(MotionEvent e)
- Specified by:
onSingleTapConfirmed
in interface GestureDetector.OnDoubleTapListener
Copyright © 2008-2010. All Rights Reserved.