Modify tap, long time
authorminkyu kim <imetjade.kim@samsung.com>
Wed, 31 Jul 2013 10:56:25 +0000 (19:56 +0900)
committerminkyu kim <imetjade.kim@samsung.com>
Wed, 31 Jul 2013 10:56:25 +0000 (19:56 +0900)
Change-Id: I569f89fb556cc9da55b78defbae5bd6d44aad2fd

project/src/SampleLongPressGestureDetectorForm.cpp
project/src/SampleTapGestureDetectorForm.cpp

index 1cf0047..b261764 100644 (file)
@@ -259,11 +259,11 @@ SampleLongPressGestureDetectorForm::OnTextValueChanged(const Control& source)
                        }
                        else
                        {
-                               if (duration > 100000)
+                               if (duration > 3000)
                                {
-                                       __pTouchResult->SetText(L"The duration should be less than or equal to 100000.");
-                                       __pDuration->SetText(L"100000");
-                                       __pLongPressGesture->SetDuration(100000);
+                                       __pTouchResult->SetText(L"The duration should be less than or equal to 3000.");
+                                       __pDuration->SetText(L"3000");
+                                       __pLongPressGesture->SetDuration(3000);
                                }
                                else
                                {
index 2b1b5f0..a00ebe4 100644 (file)
@@ -286,11 +286,11 @@ SampleTapGestureDetectorForm::OnTextValueChanged(const Control& source)
                        }
                        else
                        {
-                               if (interval > 100000)
+                               if (interval > 1000)
                                {
-                                       __pTouchResult->SetText(L"The interval should be less than or equal to 100000!");
-                                       __pInterval->SetText(L"100000");
-                                       __pTapGesture->SetTapInterval(100000);
+                                       __pTouchResult->SetText(L"The interval should be less than or equal to 1000!");
+                                       __pInterval->SetText(L"1000");
+                                       __pTapGesture->SetTapInterval(1000);
                                }
                                else if (interval < 200)
                                {