summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Powell <adamp@google.com> 2011-12-07 17:57:08 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2011-12-07 17:57:08 -0800
commitdb81dc7233c29ab098792924e90bc8aebfb2b408 (patch)
treed23217df1f9b8f81774303c3c73d98a6e7727e31
parentb490d8d6214114391622b4302ca2f5f39b2166c6 (diff)
parentcf6a6522fdbce05896d3a551f7cd6243857ceced (diff)
am cf6a6522: Merge "Raise touch slop value from previous experiment" into ics-mr1
* commit 'cf6a6522fdbce05896d3a551f7cd6243857ceced': Raise touch slop value from previous experiment
-rw-r--r--core/java/android/view/ViewConfiguration.java2
-rwxr-xr-xcore/res/res/values/config.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/ViewConfiguration.java b/core/java/android/view/ViewConfiguration.java
index ce8aecc12ec0..9bd42ef03511 100644
--- a/core/java/android/view/ViewConfiguration.java
+++ b/core/java/android/view/ViewConfiguration.java
@@ -149,7 +149,7 @@ public class ViewConfiguration {
* It may be appropriate to tweak this on a device-specific basis in an overlay based on
* the characteristics of the touch panel and firmware.
*/
- private static final int TOUCH_SLOP = 4;
+ private static final int TOUCH_SLOP = 8;
/**
* Distance a touch can wander before we think the user is attempting a paged scroll
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 1853444a7ac5..30002c540cc6 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -744,5 +744,5 @@
<!-- Base "touch slop" value used by ViewConfiguration as a
movement threshold where scrolling should begin. -->
- <dimen name="config_viewConfigurationTouchSlop">4dp</dimen>
+ <dimen name="config_viewConfigurationTouchSlop">8dp</dimen>
</resources>