summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-10-21 16:53:31 -0700
committerAmith Yamasani <yamasani@google.com>2009-10-27 10:27:49 -0700
commitaea1b3b24ee895c24ed25c5706bc2f390b41689d (patch)
tree50eb94bf06934a19de28873b2b9efb305096ec55 /graphics/java/android/renderscript/ProgramStore.java
parenta2058e431736810503bc85fadec31a8e0bfcad95 (diff)
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 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions