public class

SimpleFingerGestures

extends Object
java.lang.Object
   ↳ in.championswimmer.sfg.lib.SimpleFingerGestures

Summary

Nested Classes
interface SimpleFingerGestures.OnFingerGestureListener Interface definition for the callback to be invoked when 2-finger gestures are performed  
Constants
long GESTURE_SPEED_FAST
long GESTURE_SPEED_MEDIUM
long GESTURE_SPEED_SLOW
Fields
public static boolean CONSUME_TOUCH_EVENTS
public static boolean DEBUG
protected boolean[] tracking
Public Constructors
SimpleFingerGestures()
Constructor that creates an internal GestureAnalyser object as well
Public Methods
boolean onTouch(View view, MotionEvent ev)
void setOnFingerGestureListener(SimpleFingerGestures.OnFingerGestureListener omfgl)
Register a callback to be invoked when multi-finger gestures take place



For the callbacks implemented via this, check the interface SimpleFingerGestures.OnFingerGestureListener

[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final long GESTURE_SPEED_FAST

Constant Value: 500 (0x00000000000001f4)

public static final long GESTURE_SPEED_MEDIUM

Constant Value: 1000 (0x00000000000003e8)

public static final long GESTURE_SPEED_SLOW

Constant Value: 1500 (0x00000000000005dc)

Fields

public static boolean CONSUME_TOUCH_EVENTS

public static boolean DEBUG

protected boolean[] tracking

Public Constructors

public SimpleFingerGestures ()

Constructor that creates an internal GestureAnalyser object as well

Public Methods

public boolean onTouch (View view, MotionEvent ev)

public void setOnFingerGestureListener (SimpleFingerGestures.OnFingerGestureListener omfgl)

Register a callback to be invoked when multi-finger gestures take place



For the callbacks implemented via this, check the interface SimpleFingerGestures.OnFingerGestureListener

Parameters
omfgl The callback that will run