commit | c6357f1cab86578952c212e61d61f94bf365d751 | [log] [tgz] |
---|---|---|
author | Shan Huang <shanh@google.com> | Wed Oct 12 05:38:55 2022 +0000 |
committer | Shan Huang <shanh@google.com> | Fri Oct 21 15:34:19 2022 -0700 |
tree | 7d72bbac01b86e4a768763747501bafb4f8329ec | |
parent | 7b2288e0bbf67f24f13a9bed995fd86a453033de [diff] |
Spring controlled back progress API This CL introduces BackProgressAnimator which runs in app's main thread. It receives target progress values from SysUI and drives the actual progress value passed to the app with a high stiffness, no bounce spring. Bug: 238475284 Test: atest WindowOnBackDispatcherTest Test: atest BackAnimationControllerTest Test: atest TouchTrackerTest Change-Id: I5183fc8e77ada4dfb985addd8d5193ef335a558a