Dali 3D User Interface Engine
Variables
Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp} Namespace Reference

Variables

const int MAX_GESTURE_AGE = 50
 maximum age of a gesture before disallowing its use in algorithm TODO: Possibly make this configurable. More...
 
const float ACCELERATION_THRESHOLD = 0.1f
 minimum pan velocity change to trigger dynamic change of prediction amount More...
 
const unsigned int DEFAULT_PREDICTION_INTERPOLATION = 5
 how much to interpolate pan position and displacement from last vsync time (in milliseconds) More...
 
const unsigned int DEFAULT_MAX_PREDICTION_INTERPOLATION = 32
 the upper bound of the range to clamp the prediction interpolation More...
 
const unsigned int DEFAULT_MIN_PREDICTION_INTERPOLATION = 0
 the lower bound of the range to clamp the prediction interpolation More...
 
const unsigned int DEFAULT_PREDICTION_INTERPOLATION_ADJUSTMENT = 2
 the amount of prediction interpolation to adjust (in milliseconds) each time when pan velocity changes More...
 
const float DEFAULT_SMOOTHING_AMOUNT = 0.25f
 how much to interpolate pan position and displacement from last vsync time More...
 

Variable Documentation

const float Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::ACCELERATION_THRESHOLD = 0.1f

minimum pan velocity change to trigger dynamic change of prediction amount

Definition at line 39 of file scene-graph-pan-gesture.cpp.

Referenced by Dali::Internal::SceneGraph::PanGesture::UpdateProperties().

const unsigned int Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::DEFAULT_MAX_PREDICTION_INTERPOLATION = 32

the upper bound of the range to clamp the prediction interpolation

Definition at line 41 of file scene-graph-pan-gesture.cpp.

const unsigned int Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::DEFAULT_MIN_PREDICTION_INTERPOLATION = 0

the lower bound of the range to clamp the prediction interpolation

Definition at line 42 of file scene-graph-pan-gesture.cpp.

const unsigned int Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::DEFAULT_PREDICTION_INTERPOLATION = 5

how much to interpolate pan position and displacement from last vsync time (in milliseconds)

Definition at line 40 of file scene-graph-pan-gesture.cpp.

const unsigned int Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::DEFAULT_PREDICTION_INTERPOLATION_ADJUSTMENT = 2

the amount of prediction interpolation to adjust (in milliseconds) each time when pan velocity changes

Definition at line 43 of file scene-graph-pan-gesture.cpp.

const float Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::DEFAULT_SMOOTHING_AMOUNT = 0.25f

how much to interpolate pan position and displacement from last vsync time

Definition at line 44 of file scene-graph-pan-gesture.cpp.

const int Dali::Internal::SceneGraph::anonymous_namespace{scene-graph-pan-gesture.cpp}::MAX_GESTURE_AGE = 50

maximum age of a gesture before disallowing its use in algorithm TODO: Possibly make this configurable.

Definition at line 38 of file scene-graph-pan-gesture.cpp.

Referenced by Dali::Internal::SceneGraph::PanGesture::PredictiveAlgorithm1().

Dali Docs Home
Read more about Dali