commit | 341fa84c5e5c8b051f4b6e1e5c2f8a486e68b5ea | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Mon Jun 01 17:43:54 2020 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Mon Jun 01 17:55:25 2020 -0700 |
tree | 847dcca04f5cdc48b8e1631de4587b5271acd6ff | |
parent | 2a4dce14029937d48ebcb4134fbfb86d744dd478 [diff] |
Fixing animation jittering during swipe-up AnimatorPlaybackController was using setCurrentPlayTime to control animation, which converts progress (float) to duration (long) causing the progress to loose accuracy. Instead calling setCurrentFraction(float) on the target animation. Bug: 155164803 Change-Id: I3e4c93c5a75a9ba16e80adee97229c974ffc86b1