aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-03-30 16:49:15 -0700
committerAmith Yamasani <yamasani@google.com>2010-03-31 15:18:17 -0700
commit0fef498a07515bdd5ac1ccfa564776d72fd85a51 (patch)
tree15e217abc8490ede54343994b7eebd6d54a0d520 /java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
parentfbd1866424b39cf5c1b636a7bb31151dba00b9a0 (diff)
downloadlatinime-0fef498a07515bdd5ac1ccfa564776d72fd85a51.tar.gz
latinime-0fef498a07515bdd5ac1ccfa564776d72fd85a51.tar.xz
latinime-0fef498a07515bdd5ac1ccfa564776d72fd85a51.zip
Treat fast moves as multi-touch. Bug: 2561786
Detect sudden moves that have a large delta that would not be a typical drag by the user when hunting for a key. Drop move events until the user releases the touch and register both starting and ending keys instead of only the ending key. This reduces the frequency of dropped keys on touch hardware that isn't able to detect multi-touch reliably. This also takes into account diagonal moves or right angled moves due to pseudo-multi-touch. It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully, otherwise it will trigger 2 keys) Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
Diffstat (limited to 'java/src/com/android/inputmethod/latin/KeyboardSwitcher.java')
0 files changed, 0 insertions, 0 deletions