diff options
author | Oren Blasberg <orenb@google.com> | 2015-09-08 14:59:12 -0700 |
---|---|---|
committer | Oren Blasberg <orenb@google.com> | 2015-09-16 13:47:03 -0700 |
commit | 23087be7792c2d22173cf022a72d0648aa430ab5 (patch) | |
tree | d3b26eb5615b3decdb2ef640dcd90ac9c2ced03e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9916282bac8ac8fab7ce5b649c049842acffa29b (diff) |
Cascading popup menus: open submenu on mouse hover.
When the cascading feature is enabled, users can mouseover a
submenu item in a popup menu to expand and open the new submenu
(after a short timeout). Similarly, if a user mouseovers a
different menu item in the original menu, the submenu gets closed
(again, after a short timeout).
This should complete the implementation of cascading submenu
functionality.
Also fix two other issues:
(1) Update some oudated code in PopupMenu that was still opening
the submenu when a user clicks on a submenu item; this
responsibility now lives within the MenuPopupHelper's delegate
MenuPopup class, so it doesn't need to live in PopupMenu anymore.
(2) Fix an issue where icons would be force-set on a submenu when they
should not be. Instead, decide whether to show icons in a submenu
based on whether to show them in the top level menu, as intended.
Bug: 20127825
Change-Id: Ia46852c7f99436065ab4bc234de94dffc0019666
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions