commit | ac5eda366fafce6ec9fd89b14e31f4aaaf08f762 | [log] [tgz] |
---|---|---|
author | Allen Hair <allenhair@google.com> | Thu Apr 24 11:50:37 2014 -0700 |
committer | Allen Hair <allenhair@google.com> | Thu Apr 24 12:12:18 2014 -0700 |
tree | eaf2edd14edaced064917bd4f4a15da681246180 | |
parent | 39a50bbf66b7a2c179147cfb12d45327cfef28ec [diff] |
Fix nativeGetAnimationFrameStats to use the correct times. Changed the method to use actualPresentTimesNano instead of desiredPresentTimesNano when initializing WindowAnimationFrameStats. The WindowAnimationFrameStats.init(..) method expects the actual presentation times, not the posted times. Additionally, the desiredPresentTimesNano values are all invalid (INT64_MAX) when working with window animation frames. Change-Id: I5e5ce888dac859179ef06e4bbd8bfbd959521dd2