◆ DoubleGestureDetector()
com.freerdp.freerdpcore.utils.DoubleGestureDetector.DoubleGestureDetector |
( |
Context |
context, |
|
|
Handler |
handler, |
|
|
OnDoubleGestureListener |
listener |
|
) |
| |
|
inline |
Creates a GestureDetector with the supplied listener. You may only use this constructor from a UI thread (this is the usual situation).
- Parameters
-
context | the application's context |
listener | the listener invoked for all the callbacks, this must not be null. |
- Exceptions
-
NullPointerException | if is null. |
- See also
- android.os.Handler::Handler()
◆ onTouchEvent()
boolean com.freerdp.freerdpcore.utils.DoubleGestureDetector.onTouchEvent |
( |
MotionEvent |
ev | ) |
|
|
inline |
Analyzes the given motion event and if applicable triggers the appropriate callbacks on the OnGestureListener supplied.
- Parameters
-
ev | The current motion event. |
- Returns
- true if the OnGestureListener consumed the event, else false.
◆ setScaleGestureDetector()
void com.freerdp.freerdpcore.utils.DoubleGestureDetector.setScaleGestureDetector |
( |
ScaleGestureDetector |
scaleGestureDetector | ) |
|
|
inline |
Set scale gesture detector
- Parameters
-
The documentation for this class was generated from the following file: