summaryrefslogtreecommitdiff
path: root/libs/androidfw/Input.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2012-04-26 17:38:21 -0700
committer Jeff Brown <jeffbrown@google.com> 2012-04-26 20:12:43 -0700
commit20c4f87b2916d05e860d11568d7db6b2d340e909 (patch)
tree76e0921a2daaa5f2cae88c9563e4ff9f4bb5a1aa /libs/androidfw/Input.cpp
parent97d5c418730946a0332f601cd140ed0b12ea19c1 (diff)
Use choreographer frame time to schedule animations.
Instead of using the current uptime millis, which can exhibit substantial jitter depending on when the code runs, use the current frame's vsync time when performing animations. The frame time provides a more consistent pulse. Bug: 6375101 Change-Id: Icf307cd8524246607db7496c6fef9a5eeb7c0439
Diffstat (limited to 'libs/androidfw/Input.cpp')
0 files changed, 0 insertions, 0 deletions