commit | cc3755da6e9c7b389fbf44dc6cf0a7faeb8012a7 | [log] [tgz] |
---|---|---|
author | Tony <twickham@google.com> | Sun Jun 24 22:47:04 2018 -0700 |
committer | Tony <twickham@google.com> | Wed Jun 27 12:25:35 2018 -0700 |
tree | 2494313cfddcf568a02e7880c527762ecf03f3f1 | |
parent | 563bc3d1faae4be3c998ba89c5d102acf4f2dba8 [diff] |
Swipe up overshoot always plays Instead of using an OvershootInterpolator, we adjust the end progress to > 1 and add a second interpolator to settle back to 1. That way, even if the animation runs starting very late, e.g. 1.0, it still has room to overshoot. We use this same OvershootParams class to calculate an overshoot for a blocked long fling as well. Bug: 109709720 Change-Id: I43152237e4350f93e7c462c22e68d09d05c1dd57