Skip to content

Commit db81dc7

Browse files
adampAndroid Git Automerger
authored andcommitted
am cf6a652: Merge "Raise touch slop value from previous experiment" into ics-mr1
* commit 'cf6a6522fdbce05896d3a551f7cd6243857ceced': Raise touch slop value from previous experiment
2 parents b490d8d + cf6a652 commit db81dc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/java/android/view/ViewConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public class ViewConfiguration {
149149
* It may be appropriate to tweak this on a device-specific basis in an overlay based on
150150
* the characteristics of the touch panel and firmware.
151151
*/
152-
private static final int TOUCH_SLOP = 4;
152+
private static final int TOUCH_SLOP = 8;
153153

154154
/**
155155
* Distance a touch can wander before we think the user is attempting a paged scroll

core/res/res/values/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,5 +744,5 @@
744744

745745
<!-- Base "touch slop" value used by ViewConfiguration as a
746746
movement threshold where scrolling should begin. -->
747-
<dimen name="config_viewConfigurationTouchSlop">4dp</dimen>
747+
<dimen name="config_viewConfigurationTouchSlop">8dp</dimen>
748748
</resources>

0 commit comments

Comments
 (0)