{
Integration::SetLongPressMinimumHoldingTime(mEnvironmentOptions->GetLongPressMinimumHoldingTime());
}
+ if(mEnvironmentOptions->GetTapMaximumAllowedTime() > 0)
+ {
+ Integration::SetTapMaximumAllowedTime(mEnvironmentOptions->GetTapMaximumAllowedTime());
+ }
+
std::string systemCachePath = GetSystemCachePath();
if(!systemCachePath.empty())
mRotationMinimumTouchEvents(-1),
mRotationMinimumTouchEventsAfterStart(-1),
mLongPressMinimumHoldingTime(-1),
+ mTapMaximumAllowedTime(-1),
mGlesCallTime(0),
mMultiSamplingLevel(DEFAULT_MULTI_SAMPLING_LEVEL),
mThreadingMode(ThreadingMode::COMBINED_UPDATE_RENDER),
return mLongPressMinimumHoldingTime;
}
+int EnvironmentOptions::GetTapMaximumAllowedTime() const
+{
+ return mTapMaximumAllowedTime;
+}
+
unsigned int EnvironmentOptions::GetWindowWidth() const
{
return mWindowWidth;
SetFromEnvironmentVariable(DALI_ENV_ROTATION_MINIMUM_TOUCH_EVENTS_AFTER_START, mRotationMinimumTouchEventsAfterStart);
SetFromEnvironmentVariable(DALI_ENV_LONG_PRESS_MINIMUM_HOLDING_TIME, mLongPressMinimumHoldingTime);
+ SetFromEnvironmentVariable(DALI_ENV_TAP_MAXIMUM_ALLOWED_TIME, mTapMaximumAllowedTime);
SetFromEnvironmentVariable(DALI_GLES_CALL_TIME, mGlesCallTime);
SetFromEnvironmentVariable<int>(DALI_GLES_CALL_ACCUMULATE, [&](int glesCallAccumulate) { mGlesCallAccumulate = glesCallAccumulate != 0; });
*/
int GetLongPressMinimumHoldingTime() const;
+ /**
+ * @return The maximum allowed time required to be recognized as a multi tap gesture (millisecond)
+ */
+ int GetTapMaximumAllowedTime() const;
+
/**
* @return The width of the window
*/
int mRotationMinimumTouchEvents; ///< minimum events required before a rotation starts
int mRotationMinimumTouchEventsAfterStart; ///< minimum events required after a rotation started
int mLongPressMinimumHoldingTime; ///< minimum holding time required to be recognized as a long press gesture (millisecond)
+ int mTapMaximumAllowedTime; ///< maximum allowed time required to be recognized as a multi tap gesture (millisecond)
int mGlesCallTime; ///< time in seconds between status updates
int mMultiSamplingLevel; ///< The number of samples required in multisample buffers
*/
#define DALI_ENV_LONG_PRESS_MINIMUM_HOLDING_TIME "DALI_LONG_PRESS_MINIMUM_HOLDING_TIME"
+// Tap-Gesture maximum allowed time required to be recognized as a multi tap gesture (millisecond)
+#define DALI_ENV_TAP_MAXIMUM_ALLOWED_TIME "DALI_TAP_MAXIMUM_ALLOWED_TIME"
+
#define DALI_GLES_CALL_TIME "DALI_GLES_CALL_TIME"
#define DALI_GLES_CALL_ACCUMULATE "DALI_GLES_CALL_ACCUMULATE"