1 #include "input-options.h"
3 #include <dali/internal/event/common/thread-local-storage.h>
4 #include <dali/internal/event/events/gesture-event-processor.h>
6 using Dali::Internal::GestureEventProcessor;
7 using Dali::Internal::ThreadLocalStorage;
15 void SetPanGesturePredictionMode( int mode )
17 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
18 eventProcessor.SetPanGesturePredictionMode(mode);
21 void SetPanGesturePredictionAmount(unsigned int amount)
23 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
24 eventProcessor.SetPanGesturePredictionAmount(amount);
27 void SetPanGestureMaximumPredictionAmount( unsigned int amount )
29 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
30 eventProcessor.SetPanGestureMaximumPredictionAmount(amount);
33 void SetPanGestureMinimumPredictionAmount( unsigned int amount )
35 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
36 eventProcessor.SetPanGestureMinimumPredictionAmount(amount);
39 void SetPanGesturePredictionAmountAdjustment( unsigned int amount )
41 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
42 eventProcessor.SetPanGesturePredictionAmountAdjustment(amount);
45 void SetPanGestureSmoothingMode(int mode)
47 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
48 eventProcessor.SetPanGestureSmoothingMode(mode);
51 void SetPanGestureSmoothingAmount( float amount )
53 GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
54 eventProcessor.SetPanGestureSmoothingAmount(amount);
57 } // namespace Integration