X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Finput-options.h;h=1e58d188907c3ec7ffce1999075042d9b96084fb;hb=7ee7b82e5ab4c99f36bf3c70ba5ebdc436bf4dce;hp=3c630a41b494fee5e89518ce752aec2ac8465568;hpb=8494c05509a5391d3337d64db925282e53b60423;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/input-options.h b/dali/integration-api/input-options.h index 3c630a4..1e58d18 100644 --- a/dali/integration-api/input-options.h +++ b/dali/integration-api/input-options.h @@ -87,6 +87,63 @@ DALI_IMPORT_API void SetPanGestureSmoothingMode( int mode ); */ DALI_IMPORT_API void SetPanGestureSmoothingAmount( float amount ); +/** + * @brief Sets whether to use actual times of the real gesture and frames or not. + * + * @param[in] value True = use actual times, False = use perfect values + */ +DALI_IMPORT_API void SetPanGestureUseActualTimes( bool value ); + +/** + * @brief Sets the interpolation time range (ms) of past points to use (with weights) when interpolating. + * + * @param[in] value Time range in ms + */ +DALI_IMPORT_API void SetPanGestureInterpolationTimeRange( int value ); + +/** + * @brief Sets whether to use scalar only prediction, which when enabled, ignores acceleration. + * + * @param[in] value True = use scalar prediction only + */ +DALI_IMPORT_API void SetPanGestureScalarOnlyPredictionEnabled( bool value ); + +/** + * @brief Sets whether to use two point prediction. This combines two interpolated points to get more steady acceleration and velocity values. + * + * @param[in] value True = use two point prediction + */ +DALI_IMPORT_API void SetPanGestureTwoPointPredictionEnabled( bool value ); + +/** + * @brief Sets the time in the past to interpolate the second point when using two point interpolation. + * + * @param[in] value Time in past in ms + */ +DALI_IMPORT_API void SetPanGestureTwoPointInterpolatePastTime( int value ); + +/** + * @brief Sets the two point velocity bias. This is the ratio of first and second points to use for velocity. + * + * @param[in] value 0.0f = 100% first point. 1.0f = 100% of second point. + */ +DALI_IMPORT_API void SetPanGestureTwoPointVelocityBias( float value ); + +/** + * @brief Sets the two point acceleration bias. This is the ratio of first and second points to use for acceleration. + * + * @param[in] value 0.0f = 100% first point. 1.0f = 100% of second point. + */ +DALI_IMPORT_API void SetPanGestureTwoPointAccelerationBias( float value ); + +/** + * @brief Sets the range of time (ms) of points in the history to perform multitap smoothing with (if enabled). + * + * @param[in] value Time in past in ms + */ +DALI_IMPORT_API void SetPanGestureMultitapSmoothingRange( int value ); + + } // namespace Integration } // namespace Dali