diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-01-24 13:02:16 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-01-24 13:05:17 -0500 |
commit | 057c91a20dda36776b7f0bfc60bfce4331d83ab5 (patch) | |
tree | 0cef3d342870bbb2aac29eeab881a10e742420d8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions