-
public class TapGestureFinder extends GestureFinder
A GestureFinder that detects TAP and LONG_TAP gestures.
-
-
Constructor Summary
Constructors Constructor Description TapGestureFinder(GestureFinder.Controller controller)
-
Method Summary
Modifier and Type Method Description floatgetValue(float currValue, float minValue, float maxValue)For CONTINUOUS gestures, returns the float value at the currentgesture state. -
-
Constructor Detail
-
TapGestureFinder
TapGestureFinder(GestureFinder.Controller controller)
-
-
Method Detail
-
getValue
float getValue(float currValue, float minValue, float maxValue)
For CONTINUOUS gestures, returns the float value at the currentgesture state. This means, for example, scaling the old value with a pinch factor,taking into account the minimum and maximum values.
- Parameters:
currValue- the last valueminValue- the min possible valuemaxValue- the max possible value
-
-
-
-