Dali 3D User Interface Engine
Classes | Functions | Variables
anonymous_namespace{utc-Dali-PanGestureDetector.cpp} Namespace Reference

Classes

struct  SignalData
 
struct  GestureReceivedFunctor
 
struct  UnstageActorFunctor
 
struct  TouchEventFunctor
 
struct  ConstraintData
 
struct  PanConstraint
 

Functions

Integration::PanGestureEvent GeneratePan (Gesture::State state, Vector2 previousPosition, Vector2 currentPosition, unsigned long timeDelta, unsigned int numberOfTouches=1, unsigned int time=1u)
 
PanGesture GeneratePan (unsigned int time, Gesture::State state, Vector2 screenPosition, Vector2 localPosition, Vector2 screenDisplacement=Vector2::ONE, Vector2 localDisplacement=Vector2::ONE, Vector2 screenVelocity=Vector2::ONE, Vector2 localVelocity=Vector2::ONE, unsigned int numberOfTouches=1)
 
static void SendPan (TestApplication &application, Gesture::State state, const Vector2 &pos)
 Helper to generate PanGestureEvent. More...
 
static Vector2 PerformSwipeGestureSwipe (TestApplication &application, Vector2 start, Vector2 direction, int frames, bool finish=true)
 

Variables

const int PAN_EVENT_TIME_DELTA = 8
 
const int PAN_GESTURE_UPDATE_COUNT = 50
 

Function Documentation

Integration::PanGestureEvent anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::GeneratePan ( Gesture::State  state,
Vector2  previousPosition,
Vector2  currentPosition,
unsigned long  timeDelta,
unsigned int  numberOfTouches = 1,
unsigned int  time = 1u 
)

Definition at line 174 of file utc-Dali-PanGestureDetector.cpp.

Referenced by anonymous_namespace{utc-Dali-ScrollBar.cpp}::SendPan(), anonymous_namespace{utc-Dali-PageTurnView.cpp}::SendPan(), anonymous_namespace{utc-Dali-ScrollView.cpp}::SendPan(), SendPan(), UtcDaliPanGestureActorStagedAndDestroyed(), UtcDaliPanGestureActorUnstaged(), UtcDaliPanGestureAngleProcessing(), UtcDaliPanGestureBehindTouchableSystemOverlay(), UtcDaliPanGestureDetectorTypeRegistry(), UtcDaliPanGestureDirectionProcessing(), UtcDaliPanGestureEmitIncorrectState(), UtcDaliPanGestureLayerConsumesTouch(), UtcDaliPanGestureNoTimeDiff(), UtcDaliPanGestureSetProperties(), UtcDaliPanGestureSetPropertiesAlreadyPanning(), UtcDaliPanGestureSignalReceptionActorBecomesUntouchable(), UtcDaliPanGestureSignalReceptionActorDestroyedWhilePanning(), UtcDaliPanGestureSignalReceptionAttachDetachMany(), UtcDaliPanGestureSignalReceptionCancelled(), UtcDaliPanGestureSignalReceptionChildHit(), UtcDaliPanGestureSignalReceptionDetach(), UtcDaliPanGestureSignalReceptionDetachWhilePanning(), UtcDaliPanGestureSignalReceptionDifferentPossible(), UtcDaliPanGestureSignalReceptionDownMotionLeave(), UtcDaliPanGestureSignalReceptionDownMotionUp(), UtcDaliPanGestureSignalReceptionEnsureCorrectSignalling(), UtcDaliPanGestureSignalReceptionMultipleDetectorsOnActor(), UtcDaliPanGestureSignalReceptionMultipleGestureDetectors(), UtcDaliPanGestureSignalReceptionMultipleStarted(), UtcDaliPanGestureSignalReceptionNegative(), UtcDaliPanGestureSignalReceptionRotatedActor(), UtcDaliPanGestureSystemOverlay(), and UtcDaliPanGestureTouchBehindGesturedSystemOverlay().

Here is the caller graph for this function:

PanGesture anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::GeneratePan ( unsigned int  time,
Gesture::State  state,
Vector2  screenPosition,
Vector2  localPosition,
Vector2  screenDisplacement = Vector2::ONE,
Vector2  localDisplacement = Vector2::ONE,
Vector2  screenVelocity = Vector2::ONE,
Vector2  localVelocity = Vector2::ONE,
unsigned int  numberOfTouches = 1 
)
static Vector2 anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::PerformSwipeGestureSwipe ( TestApplication application,
Vector2  start,
Vector2  direction,
int  frames,
bool  finish = true 
)
static
static void anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::SendPan ( TestApplication application,
Gesture::State  state,
const Vector2 pos 
)
static

Variable Documentation

const int anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::PAN_EVENT_TIME_DELTA = 8

Definition at line 46 of file utc-Dali-PanGestureDetector.cpp.

Referenced by SendPan().

const int anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::PAN_GESTURE_UPDATE_COUNT = 50
Dali Docs Home
Read more about Dali