commit | 057c91a20dda36776b7f0bfc60bfce4331d83ab5 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Jan 24 13:02:16 2018 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Wed Jan 24 13:05:17 2018 -0500 |
tree | 0cef3d342870bbb2aac29eeab881a10e742420d8 | |
parent | 5511634f52fe7b760b1819f06bcd1c4d4acc9cd2 [diff] |
Fix start/pause behavior for AnimatedImageDrawable Bug: 63908092 Test: HwAccelerationTests Do not start the animation at creation time When starting, first update the time, so it doesn't think we skipped a bunch of frames if we're resuming. Continue storing the SkPicture when stopped, so that we can continue to show the same frame, without a jump. Change-Id: I5ac77f2561fc9f42f8f69ebfbee21fe647cfc75a