commit | 20c4f87b2916d05e860d11568d7db6b2d340e909 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Thu Apr 26 17:38:21 2012 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Thu Apr 26 20:12:43 2012 -0700 |
tree | 76e0921a2daaa5f2cae88c9563e4ff9f4bb5a1aa | |
parent | 97d5c418730946a0332f601cd140ed0b12ea19c1 [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