Reduce the panning threshold.
authordaemyung jang <dm86.jang@samsung.com>
Tue, 3 Jun 2014 05:10:28 +0000 (14:10 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 10 Jun 2014 15:45:13 +0000 (16:45 +0100)
[problem] The reaction time is late.
[cause] The threshold is big.
[solution] Reduce the panning threshold.

adaptors/tizen/internal/common/events/pan-gesture-detector-base.cpp

index cb7b1ed..e03fc64 100644 (file)
@@ -40,7 +40,7 @@ namespace Adaptor
 namespace
 {
 // TODO: Used DPD Value.
-const float MINIMUM_MOTION_BEFORE_PAN_SQUARED( 10.0f * 10.0f );
+const float MINIMUM_MOTION_BEFORE_PAN_SQUARED( 8.0f * 8.0f );
 const unsigned long MAXIMUM_TIME_DIFF_ALLOWED( 500 );
 } // unnamed namespace