X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Finput-options.cpp;h=e05619f9b4b76ec722789f29f85aaff5f612e7ae;hb=a22ccb96a160a740985e826688015605f2b5d6d6;hp=41e3ab076c035886e284b7c46d59c502aeb65537;hpb=c0c9f7375fb8de343763be1620802dafa9993100;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/input-options.cpp b/dali/integration-api/input-options.cpp index 41e3ab0..e05619f 100644 --- a/dali/integration-api/input-options.cpp +++ b/dali/integration-api/input-options.cpp @@ -18,7 +18,7 @@ void SetPanGesturePredictionMode( int mode ) eventProcessor.SetPanGesturePredictionMode(mode); } -void SetPanGesturePredictionAmount(unsigned int amount) +void SetPanGesturePredictionAmount( unsigned int amount ) { GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); eventProcessor.SetPanGesturePredictionAmount(amount); @@ -42,7 +42,7 @@ void SetPanGesturePredictionAmountAdjustment( unsigned int amount ) eventProcessor.SetPanGesturePredictionAmountAdjustment(amount); } -void SetPanGestureSmoothingMode(int mode) +void SetPanGestureSmoothingMode( int mode ) { GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); eventProcessor.SetPanGestureSmoothingMode(mode); @@ -54,6 +54,55 @@ void SetPanGestureSmoothingAmount( float amount ) eventProcessor.SetPanGestureSmoothingAmount(amount); } +void SetPanGestureUseActualTimes( bool value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureUseActualTimes( value ); +} + +void SetPanGestureInterpolationTimeRange( int value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureInterpolationTimeRange( value ); +} + +void SetPanGestureScalarOnlyPredictionEnabled( bool value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureScalarOnlyPredictionEnabled( value ); +} + +void SetPanGestureTwoPointPredictionEnabled( bool value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureTwoPointPredictionEnabled( value ); +} + +void SetPanGestureTwoPointInterpolatePastTime( int value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureTwoPointInterpolatePastTime( value ); +} + +void SetPanGestureTwoPointVelocityBias( float value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureTwoPointVelocityBias( value ); +} + +void SetPanGestureTwoPointAccelerationBias( float value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureTwoPointAccelerationBias( value ); +} + +void SetPanGestureMultitapSmoothingRange( int value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureMultitapSmoothingRange( value ); +} + + } // namespace Integration } // namespace Dali