summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/anim/SpringAnimationBuilder.java
AgeCommit message (Collapse)Author
2020-08-12Wrapping display properties in a wrapper classSunny Goyal
This would allow us to support gestures on multiple-displays Change-Id: I8f426bbdf04520f4189cadce2bde6aab4933c8d9
2020-05-12Only set spring end value if animation wasn't canceledTony Wickham
Animations should only be canceled (as opposed to ended) if the caller is intending to update the state from there. In that case, we shouldn't jump to the end value. Bug: 155335494 Change-Id: I93a21f0e2e1923ccdfab890adcb58c49ceb98a28
2020-04-29Ensure final values are set when StaggeredWorkspaceAnim is cancelled/ended.Jon Miranda
Was able to repo the bug reliably when calling cancel() and end() immediately after starting the StaggeredWorkspaceAnim. Bug: 153584267 Change-Id: I954d38ad69e72a83535f4dd1ec21dba0f61a3cfb
2020-04-22Fixing animation player not overshooting spring animation; tuning springsSunny Goyal
=> setCurrentPlayTime is bounded between [0, duration] by the animation framework Instead using interpolator so that we can go outside the bounds => Tune spring stiffness and dampening for overview card dismiss animations Bug: 154061408 Change-Id: Iaa31491fff499db916b36d9779ec159b8a89a2de
2020-03-06Converting some anonymous classes to lambda callsSunny Goyal
Change-Id: I386046a4a515d84801a8bbd11cfa090ba7adfd71
2019-09-09Adding support for building a "spring like animation" with precomputed valuesSunny Goyal
Bug: 138396187 Change-Id: Idba323090ecd9aca43c01414a32ab3b2e292e73e