diff options
| author | Amith Yamasani <yamasani@google.com> | 2009-10-21 16:53:31 -0700 |
|---|---|---|
| committer | Amith Yamasani <yamasani@google.com> | 2009-10-27 10:27:49 -0700 |
| commit | aea1b3b24ee895c24ed25c5706bc2f390b41689d (patch) | |
| tree | 50eb94bf06934a19de28873b2b9efb305096ec55 /core/res | |
| parent | a2058e431736810503bc85fadec31a8e0bfcad95 (diff) | |
| download | frameworks_base-aea1b3b24ee895c24ed25c5706bc2f390b41689d.zip frameworks_base-aea1b3b24ee895c24ed25c5706bc2f390b41689d.tar.gz frameworks_base-aea1b3b24ee895c24ed25c5706bc2f390b41689d.tar.bz2 | |
Disambiguation between multiple pointers and swipe gestures.
Sometimes quickly touching the screen with two fingers will result
in the firmware thinking one finger moved very quickly. This code
tries to identify the difference between the two based on velocity
of the last N points versus the velocity of the last M points and
figure out if there was mostly acceleration or a sudden deceleration.
It's still not perfect and very dependent on the touch hardware.
Diffstat (limited to 'core/res')
| -rw-r--r-- | core/res/res/values/config.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 057e10a..bd6e7b4 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -204,4 +204,7 @@ This must be overridden in platform specific overlays --> <integer-array name="config_autoBrightnessKeyboardBacklightValues"> </integer-array> + + <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> + <bool name="config_swipeDisambiguation">true</bool> </resources> |
