FreeRDP
com.freerdp.freerdpcore.utils.GestureDetector.OnDoubleTapListener Interface Reference
Inheritance diagram for com.freerdp.freerdpcore.utils.GestureDetector.OnDoubleTapListener:

Public Member Functions

boolean onSingleTapConfirmed (MotionEvent e)
 
boolean onDoubleTap (MotionEvent e)
 
boolean onDoubleTapEvent (MotionEvent e)
 

Detailed Description

The listener that is used to notify when a double-tap or a confirmed single-tap occur.

Member Function Documentation

◆ onDoubleTap()

boolean com.freerdp.freerdpcore.utils.GestureDetector.OnDoubleTapListener.onDoubleTap ( MotionEvent  e)

Notified when a double-tap occurs.

Parameters
eThe down motion event of the first tap of the double-tap.
Returns
true if the event is consumed, else false

Implemented in com.freerdp.freerdpcore.utils.GestureDetector.SimpleOnGestureListener.

Here is the caller graph for this function:

◆ onDoubleTapEvent()

boolean com.freerdp.freerdpcore.utils.GestureDetector.OnDoubleTapListener.onDoubleTapEvent ( MotionEvent  e)

Notified when an event within a double-tap gesture occurs, including the down, move, and up events.

Parameters
eThe motion event that occurred during the double-tap gesture.
Returns
true if the event is consumed, else false

Implemented in com.freerdp.freerdpcore.utils.GestureDetector.SimpleOnGestureListener.

Here is the caller graph for this function:

◆ onSingleTapConfirmed()

boolean com.freerdp.freerdpcore.utils.GestureDetector.OnDoubleTapListener.onSingleTapConfirmed ( MotionEvent  e)

Notified when a single-tap occurs.

Unlike OnGestureListener#onSingleTapUp(MotionEvent), this will only be called after the detector is confident that the user's first tap is not followed by a second tap leading to a double-tap gesture.

Parameters
eThe down motion event of the single-tap.
Returns
true if the event is consumed, else false

Implemented in com.freerdp.freerdpcore.utils.GestureDetector.SimpleOnGestureListener.


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