commit | 34b6fbf7e6143f34274e664ad8139f678894199e | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Fri Mar 13 19:36:02 2020 -0700 |
committer | Ben Lin <linben@google.com> | Wed Mar 18 15:14:01 2020 -0700 |
tree | 8ac224dccc7b6dfd90b71ee976ead44afde53d97 | |
parent | 470d85fe56cfbc4f9f564f352c26b6e1986f7361 [diff] |
PIP: Add mouse hover/exit menu show support. This adds the ability to show/hide menu based on hover enter/exit events. This also changes the InputConsumer so that it's now attached to the pinned RootTask (Stack)'s SurfaceControl, so that the PipMenuActivity appearing will not cause a new HOVER_EXIT + HOVER_ENTER pair event. Bug: 144184591 Test: atest PipTests Hover in/out of PIP activity, see menu show/hide. Change-Id: I79536eb52cd234a82cbb7cb3004e31ada3ca0433