Dali 3D User Interface Engine
Functions
Dali::Internal::anonymous_namespace{touch-resampler.cpp} Namespace Reference

Functions

static const unsigned int MaxPendingTouches (16u)
 Queue can keep track of a maximum of 16 events per update refresh. More...
 
TouchPoint::State GetStateFromTouch (const Dali::Integration::TouchData &touch)
 Conversion function. More...
 

Function Documentation

TouchPoint::State Dali::Internal::anonymous_namespace{touch-resampler.cpp}::GetStateFromTouch ( const Dali::Integration::TouchData touch)

Conversion function.

To convert from raw touch data (which is either in a Down, Up or Motion state) to TouchPoint states.

Parameters
[in]touchThe raw touch data state.
Returns
[out] The TouchPoint state.

Definition at line 43 of file touch-resampler.cpp.

References DALI_ASSERT_ALWAYS, Dali::TouchPoint::Down, Dali::Integration::TouchData::Down, Dali::TouchPoint::Last, Dali::TouchPoint::Motion, Dali::Integration::TouchData::Motion, Dali::Integration::TouchData::type, Dali::TouchPoint::Up, and Dali::Integration::TouchData::Up.

Referenced by Dali::Internal::TouchPointsTracker::GetNextTouchEvent().

Here is the caller graph for this function:

static const unsigned int Dali::Internal::anonymous_namespace{touch-resampler.cpp}::MaxPendingTouches ( 16u  )
static

Queue can keep track of a maximum of 16 events per update refresh.

Referenced by Dali::Internal::TouchResampler::SendTouchData(), and Dali::Internal::TouchResampler::Update().

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali