summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-05-29 13:53:16 -0700
committerRomain Guy <romainguy@android.com>2009-05-29 13:53:16 -0700
commitd1c67d42abdf41d10c9a7589da1e0088af1e123a (patch)
treea6fc0eeae8c9d694a44e598b710543a469c774f5 /core/res
parentd9cc7659fa9b8544e2a3ca7b7040fbd79afdf7ea (diff)
downloadframeworks_base-d1c67d42abdf41d10c9a7589da1e0088af1e123a.zip
frameworks_base-d1c67d42abdf41d10c9a7589da1e0088af1e123a.tar.gz
frameworks_base-d1c67d42abdf41d10c9a7589da1e0088af1e123a.tar.bz2
Fixes #1878499.
Ignore touch up events that happen after a gesture was cancelled. This fix also improves performance by ignoring move events that are within the touch threshold.
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/values/styles.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml
index 490abde..72402d0 100644
--- a/core/res/res/values/styles.xml
+++ b/core/res/res/values/styles.xml
@@ -177,7 +177,7 @@
<item name="android:uncertainGestureColor">#48ffff00</item>
<item name="android:fadeOffset">420</item>
<item name="android:fadeDuration">150</item>
- <item name="android:gestureStrokeLengthThreshold">30.0</item>
+ <item name="android:gestureStrokeLengthThreshold">50.0</item>
<item name="android:gestureStrokeSquarenessThreshold">0.275</item>
<item name="android:gestureStrokeAngleThreshold">40.0</item>
<item name="android:eventsInterceptionEnabled">true</item>