[animation worklet] Add tests for fill mode behavior
Previously upon setting the local time beyond its duration we assumed the behavior should be the same as we set it to the end point. However, it's only true if the effect has fill mode: fowards specified. Otherwise the animation should be deactivated. The expected behavior for the test is updated. Added a new test to cover the animation behaviors with fill modes. Bug: 897167 Change-Id: Iecbf9e86e137ff2b98cdc0f2602222c49470e21e Reviewed-on: https://chromium-review.googlesource.com/c/1308084 Commit-Queue: Yi Gu <yigu@chromium.org> Reviewed-by:Majid Valipour <majidvp@chromium.org> Reviewed-by:
Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#608813}
Showing
Please register or sign in to comment