FreeRDP
|
Public Member Functions | |
boolean | onDoubleTouchDown (MotionEvent e) |
boolean | onDoubleTouchUp (MotionEvent e) |
boolean | onDoubleTouchSingleTap (MotionEvent e) |
boolean | onDoubleTouchScroll (MotionEvent e1, MotionEvent e2) |
The listener that is used to notify when gestures occur. If you want to listen for all the different gestures then implement this interface. If you only want to listen for a subset it might be easier to extend SimpleOnGestureListener.
boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchDown | ( | MotionEvent | e | ) |
Notified when a multi tap event starts
boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchScroll | ( | MotionEvent | e1, |
MotionEvent | e2 | ||
) |
Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent. The distance in x and y is also supplied for convenience.
e1 | The first down motion event that started the scrolling. |
e2 | The move motion event that triggered the current onScroll. |
distanceX | The distance along the X axis that has been scrolled since the last call to onScroll. This is NOT the distance between e1
e2
|
distanceY | The distance along the Y axis that has been scrolled since the last call to onScroll. This is NOT the distance between e1
e2
|
boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchSingleTap | ( | MotionEvent | e | ) |
Notified when a tap occurs with the up MotionEvent that triggered it.
e | The up motion event that completed the first tap |
boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchUp | ( | MotionEvent | e | ) |
Notified when a multi tap event ends