summaryrefslogtreecommitdiff
path: root/libs/ui/SharedBufferStack.cpp
diff options
context:
space:
mode:
author Cary Clark <cary@android.com> 2009-09-08 14:15:07 -0400
committer Cary Clark <cary@android.com> 2009-09-08 14:15:07 -0400
commitaa7caa60324d69b5cd7bf3cbd8eeac2a63ad7a99 (patch)
treea7feecfefffa7d30a3885407e346c1b6e02446e1 /libs/ui/SharedBufferStack.cpp
parent377c5c15f8fea14b575b6b0f14ac7fd3a4d44b3a (diff)
don't fling if there's nowhere to go
Add a test to doFling() to return quickly if the fling has no effect. For simplicity, only test for horizontal or vertical flings. The man purpose is to avoid suspending webkit until the fling animation is complete when the purpose of the touch drag is to activate a touch event, like a swipe in superpudu. fixes http://b/issue?id=2052852
Diffstat (limited to 'libs/ui/SharedBufferStack.cpp')
0 files changed, 0 insertions, 0 deletions