public class TouchInput extends Object implements View.OnTouchListener, ScaleGestureDetector.OnScaleGestureListener, GestureDetector.OnGestureListener, GestureDetector.OnDoubleTapListener
TouchInput
collects touch data, applies gesture detectors, resolves simultaneous
detection, and calls the appropriate input responders.Modifier and Type | Class and Description |
---|---|
static interface |
TouchInput.DoubleTapResponder
Interface for responding to a double-tap gesture
|
static class |
TouchInput.Gestures
List of gestures that can be detected and responded to
|
static interface |
TouchInput.LongPressResponder
Interface for responding to a long press gesture
|
static interface |
TouchInput.PanResponder
Interface for responding to a panning (dragging) gesture
|
static interface |
TouchInput.RotateResponder
Interface for responding to a rotation gesture
|
static interface |
TouchInput.ScaleResponder
Interface for responding to a scaling (pinching) gesture
|
static interface |
TouchInput.ShoveResponder
Interface for responding to a shove (two-finger vertical drag) gesture
|
static interface |
TouchInput.TapResponder
Interface for responding to a tap gesture
|
static interface |
TouchInput.TwoFingerTapResponder
Interface for responding to a dual-tap (two-finger tap) gesture.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onTouch
onScale, onScaleBegin, onScaleEnd
onDown, onFling, onLongPress, onScroll, onShowPress, onSingleTapUp
onDoubleTap, onDoubleTapEvent, onSingleTapConfirmed