commit | 3a7a76f88e51453cc4b70fa68aef2724cccc02c6 | [log] [tgz] |
---|---|---|
author | Andy Wickham <awickham@google.com> | Wed May 01 14:57:51 2024 -0700 |
committer | Andy Wickham <awickham@google.com> | Fri May 03 17:53:34 2024 -0700 |
tree | 7f53bbdbe2aab547dec983feb82149f946099404 | |
parent | da82c82a2bd2f741fd8b2410af56c46a6c7912c0 [diff] |
Implement animateNavBarLongPress for stashed taskbar. I think ideally we would tie this into the taskbar's outline provider, but it seemed more complicated to deal with existing stashing animations. Instead I've just animated the stashed taskbar scale to 0.85 or 1.18, depending on the SHRINK_NAV_HANDLE_ON_PRESS flag. These are based on the existing navbar shrink/expand animations. Demo (the flickering doesn't happen on-device): https://drive.google.com/file/d/1CWCPRsuD3kjtOUbwXspkQ_ZJ6Ln7FnUo/view?usp=sharing&resourcekey=0-kJjfgnuEca1de4u8mbHrig Bug: 308693847 Test: Manual Flag: LEGACY SHRINK_NAV_HANDLE_ON_PRESS DISABLED Flag: LEGACY ANIMATE_LPNH DISABLED Change-Id: I6ecbc849ac1c066a4c018325f0237a61641d99aa