Lugdunum  0.1.0
Classes | Typedefs | Enumerations | Variables
ndk_helper Namespace Reference

Classes

class  DoubletapDetector
 
class  DragDetector
 
class  GestureDetector
 
class  PinchDetector
 
class  TapDetector
 

Typedefs

typedef int32_t GESTURE_STATE
 

Enumerations

enum  {
  GESTURE_STATE_NONE = 0, GESTURE_STATE_START = 1, GESTURE_STATE_MOVE = 2, GESTURE_STATE_END = 4,
  GESTURE_STATE_ACTION = (GESTURE_STATE_START | GESTURE_STATE_END)
}
 

Variables

const int32_t DOUBLE_TAP_TIMEOUT = 300 * 1000000
 
const int32_t TAP_TIMEOUT = 180 * 1000000
 
const int32_t DOUBLE_TAP_SLOP = 100
 
const int32_t TOUCH_SLOP = 8
 

Typedef Documentation

◆ GESTURE_STATE

typedef int32_t ndk_helper::GESTURE_STATE

Definition at line 38 of file gestureDetector.hpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GESTURE_STATE_NONE 
GESTURE_STATE_START 
GESTURE_STATE_MOVE 
GESTURE_STATE_END 
GESTURE_STATE_ACTION 

Definition at line 31 of file gestureDetector.hpp.

Variable Documentation

◆ DOUBLE_TAP_TIMEOUT

const int32_t ndk_helper::DOUBLE_TAP_TIMEOUT = 300 * 1000000

Definition at line 26 of file gestureDetector.hpp.

◆ TAP_TIMEOUT

const int32_t ndk_helper::TAP_TIMEOUT = 180 * 1000000

Definition at line 27 of file gestureDetector.hpp.

◆ DOUBLE_TAP_SLOP

const int32_t ndk_helper::DOUBLE_TAP_SLOP = 100

Definition at line 28 of file gestureDetector.hpp.

◆ TOUCH_SLOP

const int32_t ndk_helper::TOUCH_SLOP = 8

Definition at line 29 of file gestureDetector.hpp.