X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fenvironment-options.h;h=547adfac4fad1cc9bf47fef7dca34b1ea607e4d4;hb=97568a209c309d5f99bf288afa951a77f7fdcddd;hp=815aae36827575eba6df045379a9963dd03b2955;hpb=5278af3f8797ae60b3a220015cf0bdb3678e7db8;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/system/common/environment-options.h b/dali/internal/system/common/environment-options.h index 815aae3..547adfa 100644 --- a/dali/internal/system/common/environment-options.h +++ b/dali/internal/system/common/environment-options.h @@ -73,7 +73,7 @@ public: /** * Install the log function for the current thread. */ - virtual void InstallLogFunction() const; + void InstallLogFunction() const override; /** * Un-install the log function for the current thread. @@ -220,6 +220,31 @@ public: float GetMinimumPinchDistance() const; /** + * @return The minimum touch events required before a pinch can be started (-1 means it's not set) + */ + int GetMinimumPinchTouchEvents() const; + + /** + * @return The minimum touch events required after a pinch started (-1 means it's not set) + */ + int GetMinimumPinchTouchEventsAfterStart() const; + + /** + * @return The minimum touch events required before a rotation can be started (-1 means it's not set) + */ + int GetMinimumRotationTouchEvents() const; + + /** + * @return The minimum touch events required after a rotation started (-1 means it's not set) + */ + int GetMinimumRotationTouchEventsAfterStart() const; + + /** + * @return The minimum holding time required to be recognized as a long press gesture (milliseconds) + */ + int GetLongPressMinimumHoldingTime() const; + + /** * @return The width of the window */ unsigned int GetWindowWidth() const; @@ -291,6 +316,11 @@ public: */ bool StencilBufferRequired() const; + /** + * @return Whether the partial update is required. + */ + bool PartialUpdateRequired() const; + /// Deleted copy constructor. EnvironmentOptions( const EnvironmentOptions& ) = delete; @@ -347,12 +377,18 @@ private: // Data int mPanMinimumDistance; ///< minimum distance required before pan starts int mPanMinimumEvents; ///< minimum events required before pan starts float mPinchMinimumDistance; ///< minimum number of pixels moved before a pinch starts + int mPinchMinimumTouchEvents; ///< minimum events required before a pinch starts + int mPinchMinimumTouchEventsAfterStart; ///< minimum events required after a pinch started + 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 mGlesCallTime; ///< time in seconds between status updates int mMultiSamplingLevel; ///< The number of samples required in multisample buffers ThreadingMode::Type mThreadingMode; ///< threading mode bool mGlesCallAccumulate; ///< Whether or not to accumulate gles call statistics bool mDepthBufferRequired; ///< Whether the depth buffer is required bool mStencilBufferRequired; ///< Whether the stencil buffer is required + bool mPartialUpdateRequired; ///< Whether the partial update is required std::unique_ptr mTraceManager; ///< TraceManager };