Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-PanGestureDetector.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <cmath>
#include <dali/public-api/dali-core.h>
#include <dali/integration-api/events/touch-event-integ.h>
#include <dali/integration-api/events/pan-gesture-event.h>
#include <dali/integration-api/system-overlay.h>
#include <dali/integration-api/profiling.h>
#include <dali/integration-api/input-options.h>
#include <dali-test-suite-utils.h>
#include <test-touch-utils.h>
Include dependency graph for utc-Dali-PanGestureDetector.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::SignalData
 
struct  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::GestureReceivedFunctor
 
struct  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::UnstageActorFunctor
 
struct  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::TouchEventFunctor
 
struct  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::ConstraintData
 
struct  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::PanConstraint
 

Namespaces

namespace  anonymous_namespace{utc-Dali-PanGestureDetector.cpp}
 

Functions

void utc_dali_pan_gesture_detector_startup (void)
 
void utc_dali_pan_gesture_detector_cleanup (void)
 
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)
 
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 void anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::SendPan (TestApplication &application, Gesture::State state, const Vector2 &pos)
 Helper to generate PanGestureEvent. More...
 
static Vector2 anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::PerformSwipeGestureSwipe (TestApplication &application, Vector2 start, Vector2 direction, int frames, bool finish=true)
 
int UtcDaliPanGestureDetectorConstructor (void)
 
int UtcDaliPanGestureDetectorCopyConstructorP (void)
 
int UtcDaliPanGestureDetectorAssignmentOperatorP (void)
 
int UtcDaliPanGestureDetectorNew (void)
 
int UtcDaliPanGestureDetectorDownCast (void)
 
int UtcDaliPanGestureSetMinimumTouchesRequired (void)
 
int UtcDaliPanGestureSetMaximumTouchesRequired (void)
 
int UtcDaliPanGestureGetMinimumTouchesRequired (void)
 
int UtcDaliPanGestureGetMaximumTouchesRequired (void)
 
int UtcDaliPanGestureSignalReceptionNegative (void)
 
int UtcDaliPanGestureSignalReceptionDownMotionLeave (void)
 
int UtcDaliPanGestureSignalReceptionDownMotionUp (void)
 
int UtcDaliPanGestureSignalReceptionCancelled (void)
 
int UtcDaliPanGestureSignalReceptionDetach (void)
 
int UtcDaliPanGestureSignalReceptionDetachWhilePanning (void)
 
int UtcDaliPanGestureSignalReceptionActorDestroyedWhilePanning (void)
 
int UtcDaliPanGestureSignalReceptionRotatedActor (void)
 
int UtcDaliPanGestureSignalReceptionChildHit (void)
 
int UtcDaliPanGestureSignalReceptionAttachDetachMany (void)
 
int UtcDaliPanGestureSignalReceptionActorBecomesUntouchable (void)
 
int UtcDaliPanGestureSignalReceptionMultipleGestureDetectors (void)
 
int UtcDaliPanGestureSignalReceptionMultipleDetectorsOnActor (void)
 
int UtcDaliPanGestureSignalReceptionMultipleStarted (void)
 
int UtcDaliPanGestureSignalReceptionEnsureCorrectSignalling (void)
 
int UtcDaliPanGestureSignalReceptionDifferentPossible (void)
 
int UtcDaliPanGestureEmitIncorrectState (void)
 
int UtcDaliPanGestureActorUnstaged (void)
 
int UtcDaliPanGestureActorStagedAndDestroyed (void)
 
int UtcDaliPanGestureSystemOverlay (void)
 
int UtcDaliPanGestureBehindTouchableSystemOverlay (void)
 
int UtcDaliPanGestureTouchBehindGesturedSystemOverlay (void)
 
int UtcDaliPanGestureAngleHandling (void)
 
int UtcDaliPanGestureGetAngle (void)
 
float RadiansToDegrees (float radian)
 
int UtcDaliPanGestureAngleOutOfRange (void)
 
int UtcDaliPanGestureAngleProcessing (void)
 
int UtcDaliPanGestureDirectionHandling (void)
 
int UtcDaliPanGestureDirectionProcessing (void)
 
int UtcDaliPanGestureNoPredictionNoSmoothing (void)
 
int UtcDaliPanGestureNoPredictionSmoothing (void)
 
int UtcDaliPanGesturePredictionNoSmoothing (void)
 
int UtcDaliPanGesturePredictionSmoothing (void)
 
int UtcDaliPanGestureSetProperties (void)
 
int UtcDaliPanGestureSetPropertiesAlreadyPanning (void)
 
int UtcDaliPanGesturePropertyIndices (void)
 
int UtcDaliPanGestureLayerConsumesTouch (void)
 
int UtcDaliPanGestureNoTimeDiff (void)
 

Variables

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

Function Documentation

float RadiansToDegrees ( float  radian)
inline

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

References Dali::Math::PI.

void utc_dali_pan_gesture_detector_cleanup ( void  )

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

References test_return_value, and TET_PASS.

void utc_dali_pan_gesture_detector_startup ( void  )

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

References test_return_value, and TET_UNDEF.

int UtcDaliPanGestureActorStagedAndDestroyed ( void  )
int UtcDaliPanGestureActorUnstaged ( void  )
int UtcDaliPanGestureAngleHandling ( void  )
int UtcDaliPanGestureAngleOutOfRange ( void  )
int UtcDaliPanGestureAngleProcessing ( void  )
int UtcDaliPanGestureBehindTouchableSystemOverlay ( void  )
int UtcDaliPanGestureDetectorAssignmentOperatorP ( void  )

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

References DALI_TEST_CHECK, END_TEST, and Dali::PanGestureDetector::New().

Here is the call graph for this function:

int UtcDaliPanGestureDetectorConstructor ( void  )

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

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliPanGestureDetectorCopyConstructorP ( void  )

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

References DALI_TEST_CHECK, END_TEST, and Dali::PanGestureDetector::New().

Here is the call graph for this function:

int UtcDaliPanGestureDetectorDownCast ( void  )

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

References DALI_TEST_CHECK, Dali::PanGestureDetector::DownCast(), END_TEST, Dali::PanGestureDetector::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliPanGestureDetectorNew ( void  )
int UtcDaliPanGestureDirectionHandling ( void  )
int UtcDaliPanGestureDirectionProcessing ( void  )
int UtcDaliPanGestureEmitIncorrectState ( void  )
int UtcDaliPanGestureGetAngle ( void  )
int UtcDaliPanGestureGetMaximumTouchesRequired ( void  )
int UtcDaliPanGestureGetMinimumTouchesRequired ( void  )
int UtcDaliPanGestureLayerConsumesTouch ( void  )
int UtcDaliPanGestureNoPredictionNoSmoothing ( void  )
int UtcDaliPanGestureNoPredictionSmoothing ( void  )
int UtcDaliPanGestureNoTimeDiff ( void  )
int UtcDaliPanGesturePredictionNoSmoothing ( void  )
int UtcDaliPanGesturePredictionSmoothing ( void  )
int UtcDaliPanGesturePropertyIndices ( void  )
int UtcDaliPanGestureSetMaximumTouchesRequired ( void  )
int UtcDaliPanGestureSetMinimumTouchesRequired ( void  )
int UtcDaliPanGestureSetProperties ( void  )
int UtcDaliPanGestureSetPropertiesAlreadyPanning ( void  )
int UtcDaliPanGestureSignalReceptionActorBecomesUntouchable ( void  )
int UtcDaliPanGestureSignalReceptionActorDestroyedWhilePanning ( void  )
int UtcDaliPanGestureSignalReceptionAttachDetachMany ( void  )
int UtcDaliPanGestureSignalReceptionCancelled ( void  )
int UtcDaliPanGestureSignalReceptionChildHit ( void  )
int UtcDaliPanGestureSignalReceptionDetach ( void  )
int UtcDaliPanGestureSignalReceptionDetachWhilePanning ( void  )
int UtcDaliPanGestureSignalReceptionDifferentPossible ( void  )
int UtcDaliPanGestureSignalReceptionDownMotionLeave ( void  )
int UtcDaliPanGestureSignalReceptionDownMotionUp ( void  )
int UtcDaliPanGestureSignalReceptionEnsureCorrectSignalling ( void  )
int UtcDaliPanGestureSignalReceptionMultipleDetectorsOnActor ( void  )
int UtcDaliPanGestureSignalReceptionMultipleGestureDetectors ( void  )
int UtcDaliPanGestureSignalReceptionMultipleStarted ( void  )
int UtcDaliPanGestureSignalReceptionNegative ( void  )
int UtcDaliPanGestureSignalReceptionRotatedActor ( void  )
int UtcDaliPanGestureSystemOverlay ( void  )
int UtcDaliPanGestureTouchBehindGesturedSystemOverlay ( void  )
Dali Docs Home
Read more about Dali