FreeRDP
com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener Interface Reference

Public Member Functions

boolean onDoubleTouchDown (MotionEvent e)
 
boolean onDoubleTouchUp (MotionEvent e)
 
boolean onDoubleTouchSingleTap (MotionEvent e)
 
boolean onDoubleTouchScroll (MotionEvent e1, MotionEvent e2)
 

Detailed Description

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.

Member Function Documentation

boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchDown ( MotionEvent  e)

Notified when a multi tap event starts

Here is the caller graph for this function:

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.

Parameters
e1The first down motion event that started the scrolling.
e2The move motion event that triggered the current onScroll.
distanceXThe distance along the X axis that has been scrolled since the last call to onScroll. This is NOT the distance between
e1
and
e2
.
distanceYThe distance along the Y axis that has been scrolled since the last call to onScroll. This is NOT the distance between
e1
and
e2
.
Returns
true if the event is consumed, else false

Here is the caller graph for this function:

boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchSingleTap ( MotionEvent  e)

Notified when a tap occurs with the up MotionEvent that triggered it.

Parameters
eThe up motion event that completed the first tap
Returns
true if the event is consumed, else false

Here is the caller graph for this function:

boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.OnDoubleGestureListener.onDoubleTouchUp ( MotionEvent  e)

Notified when a multi tap event ends

Here is the caller graph for this function:


The documentation for this interface was generated from the following file: