summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-12-07 17:55:35 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-07 17:55:35 -0800
commitcf6a6522fdbce05896d3a551f7cd6243857ceced (patch)
treed23217df1f9b8f81774303c3c73d98a6e7727e31
parent29933fb26a4294a9bd30f9227809e28949252833 (diff)
parent6720a87ad161a12c9dc7e11b2ae0165e65483464 (diff)
downloadframeworks_base-cf6a6522fdbce05896d3a551f7cd6243857ceced.zip
frameworks_base-cf6a6522fdbce05896d3a551f7cd6243857ceced.tar.gz
frameworks_base-cf6a6522fdbce05896d3a551f7cd6243857ceced.tar.bz2
Merge "Raise touch slop value from previous experiment" into ics-mr1
-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 ce8aecc..9bd42ef 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 1853444..30002c5 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>