diff options
author | jorgegil@google.com <jorgegil@google.com> | 2021-02-12 14:22:56 -0800 |
---|---|---|
committer | jorgegil@google.com <jorgegil@google.com> | 2021-02-12 14:36:51 -0800 |
commit | a997c886e32f1ada236b1671d188c1b72e51f25e (patch) | |
tree | dcca4f8294d5775f242196a1899ba169c066ee21 /rs/java/android/renderscript/Program.java | |
parent | edad8e7fe0ec2bba51105dd9bc4777e93b0ced63 (diff) |
Hide the Pip menu on drag resize, expand and dismiss
- In drag resize, removes the call to #hideMenuWithoutResize
since that only triggered a menu state change but didn't actually
hide the menu view. The following call to hideMenu would also no-op
because of it. Instead, just call hideMenu with resize=false. This
will actually hide the menu view and then update the state.
- During expand pip, also use hideMenu(animate, resize) to
really hide the menu view - do not animate in this scenario
- During dismiss pip, also use hideMenu(animate, resize) to
really hide the menu view - do animate the menu fade here
Bug: 178391622
Test: Expand, dismiss, drag resize - make sure the menu hides
correctly
Change-Id: Ia84b998e275506f22dd40c977fcd2d87ba63c45a
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions