aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2017-10-11 08:32:18 +0200
committerdoc HD <doc.divxm@gmail.com>2017-10-21 12:57:21 +0300
commite9764d9fb2da662661a5c144e2d910f7326e7d74 (patch)
treee984efc53d9f563cdfdfe81b8435ce8a823c3abc
parentc4fe33bfb40d99ce2e366c1302f3044477a514b3 (diff)
serrano-common: Set minimum touch scaling span to 35mm
Change-Id: I6851a2cd8fcfd7eacc398cfb8d7443dfe7f02a9c
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index a41a3d6..f7f3512 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -276,6 +276,13 @@
-->
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
+ <!-- Minimum span needed to begin a touch scaling gesture.
+ If the span is equal to or greater than this size, a scaling gesture
+ will begin, where supported. (See android.view.ScaleGestureDetector)
+
+ This value has been tuned for the "msm8960" device. -->
+ <dimen name="config_minScalingSpan">35mm</dimen>
+
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>