summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Luca Zuccarini <acul@google.com> 2024-09-30 12:17:39 +0000
committer Luca Zuccarini <acul@google.com> 2024-10-09 11:54:21 +0000
commita2930f6bbecc8f85c3cbc1805e16231ccc76ec98 (patch)
treeaf03e6cd2d7344de65fdb33afcfb198b3322a874 /api/api.go
parent61cc9d3009c8e1e4db856aa31fa99f1b813ff530 (diff)
[1/3] Refactor animator creation to prepare for the new spring.
For return animations, in some scenarios we will be taking over transitions in which the outgoing window has momentum (e.g. gesture nav, predictive back). In these cases, using the default interpolators can cause a jarring stagger between the tracking motion and the non-tracking portion. Instead we will use a spring which can keep the momentum while maintaining a similar duration and curve as the interpolators. Bug: 323863002 Flag: EXEMPT refactor only Test: atest TransitionAnimatorTest Change-Id: I29ce76fd6a739144ff4945d3c9a6da0b1a0fb1db
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions