3610d06239e72bb51e4150889864d2b2c18347d5 |
|
14-Apr-2016 |
Oren Blasberg <orenb@google.com> |
Don't show icons in overlay popup menus. This was a "regression" in CascadingMenuPopup specifically. We now check for the overflow case and don't show icons. This preserves the behavior from Marshmallow. Bug: 28026351 Change-Id: Ifbc9a20b0dadd19ef7b727023b1b0cfa45ebf993
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|
ddf6b8130f62c82241544bef19bcee4ef3171a82 |
|
06-Apr-2016 |
Oren Blasberg <orenb@google.com> |
Fix icon spacing on both MenuPopup implementations. Ensure we calculate based on the actual menu items in a particular menu or submenu, not based on whether the parent menu had icon spacing enabled. Bug: 28026351 Change-Id: Ie6e56eb142f0b82de38bf39ee848ddd26df2bf1c
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|
91098574f90277128415e9593cce1e495cc51465 |
|
19-Jan-2016 |
Alan Viverette <alanv@google.com> |
Animate context popup menu around origin point Also enables the context popup menu enter transition. Bug: 25801140 Change-Id: Id7fb384e8ac8974189b32a052352bd2f6cbb176e
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|
28a8468995c71ba3fbba12557d143e7599db38d8 |
|
04-Jan-2016 |
Alan Viverette <alanv@google.com> |
Avoid NPE when ActionMenuPresenter is intialized with null MenuBuilder Also adds annotations to accurately reflect nullability. Bug: 26318920 Change-Id: Ia3b170dd301edfc0088a11ee5764c24bab2f10aa
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|
ed3912692f0ba8a647d795462e20fcdb67adbacb |
|
01-Sep-2015 |
Oren Blasberg <orenb@google.com> |
Make context menus show as popup menus. This means that right-clicking/long pressing on a view that is registered for context menu will show the context menu as a popup menu instead. Bug: 20016398 Change-Id: I96fea60435fff2f981d288521f490f8ff24ada15
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|
8e12f8df076d38853e0fedde7ed79e2e8689d59e |
|
02-Sep-2015 |
Oren Blasberg <orenb@google.com> |
Add Cascading submenus implementation. This change adds a new Cascading implementation of MenuPopup. When enabled, submenus will show up in a cascading side by side fashion when opened next to popup menus. Bug: 20127825 Change-Id: Ie3c797fb5dbada7521cd93dc4171950af2be2ff7
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|
b23976efdd6ffe42cb3b8fe6650fc77bd9a161e8 |
|
01-Sep-2015 |
Oren Blasberg <orenb@google.com> |
MenuPopupHelper: Factor out a MenuPopup interface. Move much of the responsibility into implementations of this interface. Delegate functionality to it where appropriate. Provide a standard (non-cascading) implementation for this interface. This CL should have NO BEHAVIOR CHANGES. A follow-up CL will provide a cascading implementation, whereby a config variable will enable submenus to open side by side with their parent menus. That CL will be the first with functional/ actual behavior changes. Bug: 20127825 Change-Id: Iecac2d340dd8750ebe4e99162d447c9411f09227
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopup.java
|