diff options
| author | Hongwei Wang <hwwang@google.com> | 2022-06-27 11:20:07 -0700 |
|---|---|---|
| committer | Hongwei Wang <hwwang@google.com> | 2022-06-27 15:47:56 -0700 |
| commit | ab392150d4b1460c0686186a4ddb4a472b2894c4 (patch) | |
| tree | cc58e8e07be9ce7a496aab776132bad1181cbaac /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 6ad1f71cce190b526a1444c6ba77a99f5262edc1 (diff) | |
Polish enter PiP animation on back pressed
The PipTransitionAnimation#ofBounds is used when entering PiP on back pressed.
- Adjust the scale based on current animation progress
- Alter the auto-enter-pip animation running in Launcher to use the same
mechanism
- Update the ofBounds animation to ignore small source rect hint,
similar to what's in auto-enter-pip animation running in Launcher
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dv35ov6nK2Mrr98DGkLNaE
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gm8Kl7N3NPIoWoDKyDfd5s
Bug: 235268241
Test: Verify enter PiP animation on back pressed with YouTube in \
both folded and unfolded state. See also videos.
Change-Id: I6043cff31eed7b63087ea03b17ced7549c89e4fb
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
