History log of /frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
618cfc122d5ac99c673dc4d38761497fcab10962 29-Apr-2017 Vladislav Kaznacheev <kaznacheev@google.com> Fix submenu position when showing with Gravity.END

Bug: 37792927
Test: manual
Change-Id: I2a1033cb5b78465188958d8f24128d0fe082587f
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
c71b6302fe368ca2fbd4555177acf3cd157f6340 27-Apr-2016 Oren Blasberg <orenb@google.com> Merge "Show cascading popup menus if screen is big enough." into nyc-dev
7b457455c40a6f159d9d82b2fe2e03bc26e9c55e 20-Apr-2016 Oren Blasberg <orenb@google.com> Don't show icons for top level menus unless forced.

Prior to this CL, the cascading implementation would evaluate the
contents of the menu to determine whether to show an icon for this case.
However, the policy we have upheld is that top level menus should
never show an icon for this case. (Unless setForceShowIcon(true) was
called.)

Bug: 28275346
Change-Id: I09423596d49742aa7a9ba7245702c099581c0b48
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
93c195894de323b039ff62eb5c62bf9aeed2abf0 14-Apr-2016 Oren Blasberg <orenb@google.com> Show cascading popup menus if screen is big enough.

...even if in split screen mode.

Bug: 28175404
Change-Id: I63ff60090e299e48f2273477dc3b820d4d95db8d
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.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/MenuPopupHelper.java
021627eb5875372dea57ba91fa782fffbfbbc559 25-Nov-2015 Alan Viverette <alanv@google.com> Ensure only one context menu is shown at a time

Refactors the menu helper classes. Both classes now implement a common
MenuHelper interface, which eliminates the need to keep separate helpers
on PhoneWindow and unifies the DecorView showContextMenuForChild()
implementations.

We now explicitly dismiss any previously shown context menu before showing
a new context menu. Previously we relied on the modal nature of the dialog
context menu to prevent multiple menus from being opened at once, but this
is no longer reliable with popup context menus.

Bug: 25656520
Change-Id: Idab3daa6d6888f803f2e33660fe1dd488e4c28d1
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
708aa9d96441fe359a4c2a2c89e2ab709b367f8a 20-Nov-2015 Alan Viverette <alanv@google.com> Dispatch the actual PopupWindow dismiss callback to PopupMenu

Previously the dismiss callback was called immediately after the menu
received a close request; however, the dismiss callback implies that
the menu's window has finished animating and been removed from the
window manager.

Also cleans up handling of mPopup in MenuPopupHelper to prevent
unnecessary MenuPopup allocations and convert unnecessary fields into
method arguments.

Bug: 25323707
Change-Id: I8e3877ae6c40b4d0f1df23a4ff4fa48a7df34e0d
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
d6443f60e1d556a772a8b33ec172d2bae44de63a 20-Nov-2015 Alan Viverette <alanv@google.com> By default, display PopupMenu at Gravity.START and resolve X offset

Bug: 25801269
Change-Id: I8c8090a59780c131cee2d56b668f1c4e062b8ebe
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.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/MenuPopupHelper.java
9916282bac8ac8fab7ce5b649c049842acffa29b 10-Sep-2015 Oren Blasberg <orenb@google.com> Fix broken popup menu in Shelf (andromeda).

This addresses a few oversights from an earlier CL:
1. In MenuPopupHelper#show() make sure to create a new MenuPopup in
case the earlier one was dismissed.
2. Ensure the on-dismiss listener gets called even if the MenuPopupHelper's
MenuPopup was previously closed and if a new one is opened.
3. Handle global layout changes properly by having the MenuPopup
re-drawing/positioning itself.

Bug: 23973158
Change-Id: Iee866079770026f0fe17814892abc9825f9760a2
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.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/MenuPopupHelper.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/MenuPopupHelper.java
f44d90b5c247f0629201d1fa322b83fa55b20608 31-Aug-2015 Oren Blasberg <orenb@google.com> Pull out widget helpers into their own classes.

This is in service of desktop-style submenus. Follow up CLs will make
use of the newly independent classes. MOST of the changes in this CL
are simply moving code from one place to another. Below are
descriptions of the new files added:

DropDownListView:
Decouple this from ListPopupWindow, so other "menu popup"
implementations [forthcoming] may make use of it.
This class is UNCHANGED except for the addition of the
setListSelectionHidden method.

ForwardingListener:
Decouple this from ListPopupWindow, so that other clients of this
listener can expect a more general ShowableListMenu rather than a
concrete ListPopupWindow. This will be useful later when we want to
use something other than ListPopupWindow to show a menu.
This class is UNCHANGED, except for (1) using the getListView() on
popup rather than accessing its mDropDownList member, and (2)
replacing ListPopupWindow return values with ShowableListMenu.

MenuAdapter:
Decouple from MenuPopupHelper so it may be used by forthcoming "menu
popup" implementations rather than just by MenuPopupHelper itself.
This class is UNCHANGED.

ShowableListMenu:
A new interface to encapsulate a menu that can be shown or hidden.
This will be implemented by both ListPopupWindow and a forthcoming
"menu popup" class.

Bug: 20127825
Change-Id: I565b444d25e966ff8b8c6ceac7be8de56a9116df
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
31f581c5a64320d9a90ce3fb1a4625f94f4f8021 02-Apr-2015 Jun Mukai <mukai@google.com> Introduces mouse actions for popup menu.

- mouse hover moves the selected item in the menu. It moves
the selection rectangle, and further up/down key or enter
key will start from the hovered item.
- when the mouse exits from the entire popup window, the
selection is canceled. Further up/down key will start from
the first item.

To implement these behaviors, and consider about other keyboard
behaviors which is special to menus, I believe it justifies
to create another class for the menu popups rather than using
ListPopupWindow directly.

Bug: 19642104
Change-Id: I5e405c0491c67fdef9764898701119979ec13a9f
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
8fd949e680c15d397084430d4907c16cedfacdda 11-Mar-2015 Alan Viverette <alanv@google.com> Various fixes for popup monkey testing

Ensures PopupMenu works correctly when multiple calls are made to show
and dismiss. Ensure PopupWindow works correctly when multiple calls are
made to showAsDropDown and dismiss (fixes multiple clicks on Spinner).

Bug: 19672907
Bug: 19671831
Change-Id: Ib92accd8fd70a1ff1f8cda27155347b007a4d25b
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
75d837954c3673647e3a899f03cd56c0892066e0 08-Jan-2015 Alan Viverette <alanv@google.com> Add popup window accessors for anchor overlap, gravity, window

Cleans up comments and some code in PopupWindow.

BUG: 18245054
Change-Id: I2111d0c194ee1a39aaa721083041fc139efcf630
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
29632521c36548d71b610fc4de864281bab4dfb4 16-Oct-2014 Alan Viverette <alanv@google.com> Add style support to PopupMenu, clean up constructor javadoc

BUG: 18002523
Change-Id: Ice492686b814460248ccbe9727c64dd002e7ed7a
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
3d0f21dab8d891b9aebdd5277348d549eeb843e6 11-Jul-2014 Alan Viverette <alanv@google.com> API for inflating action bar menus against a different theme

BUG: 16162344
Change-Id: I5bf9f133de56a1830028bca6326cc2c50888a052
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
560f17098f90b15c8894cce127f2fed85f7aeb6b 05-May-2014 Alan Viverette <alanv@google.com> Add support for popups overlapping anchors

BUG: 14471731
Change-Id: I16e8d76caedfebd0c38b8c0b22cd9619d70877c8
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
54c94dea8a26e66fa59a31fd9170ca221052d3aa 27-Sep-2013 Adam Powell <adamp@google.com> Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu

Allow calling code to specify left/right/start/end gravity when
showing a popup attached to an anchor. This allows easy alignment of
either the right or left edges of the popup and anchor view.

Bug 10728401

Change-Id: Ie0844a04ea0576fa67b0972f5873aaa4c5b823f6
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
ca6a3611cdb28a514834adba35fcce2da6f2e7c2 16-Aug-2013 Alan Viverette <alanv@google.com> Move forwarding code to ListPopupWindow, add drag-to-open in Spinner

BUG: 9437139
Change-Id: I4599cf65a472b2ce74d2301988359d87917a6eec
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
c05027214f1f4dda67296a072dfc9af9176dc590 16-Aug-2013 Alan Viverette <alanv@google.com> Forward events to ListPopupWindow, highlight touched items

Moves most of the drag-to-open behavior into ListPopupWindow's
particular implementation of ListView. Uses hidden View API for
forwarding events between different windows.

Overflow menu opens on first touch, closes on touch end outside
the overflow button. Clicks that occur during drag-to-open mode
result in alpha animation of the selector drawable.

BUG: 9437139
Change-Id: I70f540555a03450638a27880b3ae3b031ca6e2ed
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
80e72700858eb58b379f77a0da5fd3a98e1aa07c 29-Jul-2013 Alan Viverette <alanv@google.com> Implement drag to open overflow menu, lift to select

BUG: 9437139
Change-Id: Iaa962453ba1b2c739a04b6b1be4f6de1fb2fa752
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
0bce6ab8cd8aadc9784dda2f3f4cc9dd91b796c7 27-Jun-2013 Alan Viverette <alanv@google.com> Optimize width measurement and cache result in MenuPopupHelper

BUG: 9591217
Change-Id: I0cc2fad39f967e92b2c954f6417430a42dce8e43
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
76889f3482d6391b17f0961f7356c1e8169c8813 09-May-2012 Adam Powell <adamp@google.com> Forgive me monkeys, for I have sinned.

It has been several hours since my last commit.

Fix an obscure bug that could cause call ordering problems while
updating ListAdapter-based MenuPresenters. This would trigger an
inconsistent return value from the adapter's getCount method that
didn't take the expanded menu item into account, resulting in the
infamous ListView "you didn't call notifyDataSetChanged" exception.

Bug 6412318

Change-Id: I6262846d9c2acdb87ff99116ad78ca4a388efa6d
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
275702c2f47ed87ab642462530092d9777f32ecd 24-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5355889 - Search action showing up in the menu dropdown in
spite of search actionview being expanded

Make sure that menu items with an expanded action view don't show up
in list menus presenting the rest of the menu.

Change-Id: I8c7b4e184a9d3ea2457543d0b8b36bc8e7068052
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
9151103ff20d28e8db2a2cc0386d57b8dad4b5d5 13-Jul-2011 Adam Powell <adamp@google.com> Preserve spacing for icons in menus

Change-Id: I3269fcffb98a84b6a5c5f9198afd2b2eae7d5f02
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
11ed1d6cae9214335c92ac38498a4e6c7d1c8324 12-Jul-2011 Adam Powell <adamp@google.com> Fix bugs around restoring submenu state after activity teardown/restore

Change-Id: I6cb5b3cad39b141dff84b8e0ca62f8f0a76a03b1
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
42b91bbcdaf64b2f19d0a9ce168964b31a5dc139 22-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4818050 - Need a way to get notified when a PopupMenu gets
dismissed/canceled

Add an OnDismissListener to PopupMenu.

Change-Id: I7abe1b9c9bea5e758a9c32631185e50cd7eb1ed0
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
38639b1d75933bfb720db79fce26f09478709614 18-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4689431 - PopupMenus too narrow on phones

Change-Id: I624b46d17c1d964fd6cb04abf96333c7a8474d75
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
8d02deabac62c4a68a335a7b3141795466362b89 01-Jun-2011 Adam Powell <adamp@google.com> Implement bug 4500971 - Collapsable action views

Action views may now be flagged as 'collapsable'. This means that the
action menu will always show them in the collapsed state by
default. When selected, the action view will "take over" the
navigation/view side of an action bar until dismissed via the home/up
button.

This feature allows for more long-term exclusive modes akin to
ActionModes but less intrusive. The action menu itself remains
unaffected. Collapsable action views are ideal for things such as
search or categories of tool palettes.

Change-Id: Ibafce5631befbfe67c5d834c2e2617d3d7f6da7a
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
696cba573e651b0e4f18a4718627c8ccecb3bda0 29-Mar-2011 Adam Powell <adamp@google.com> Refactor menu internals.

In the old world, MenuBuilder and MenuItemImpl were responsible for
generating views for any presentation of a menu. MenuBuilder needed to
know any types and resources involved, and the implied caching
semantics did not work well for menus presented within AdapterViews.

In the new world, the MenuPresenter interface takes over the
responsibility of generating views or adapters for menu
items. MenuBuilder/MenuItemImpl still provide extra metadata tracking
used by these presenters. Mutiple presenters may be active for a
single menu at a time. All of this remains internal framework
implementation details.

BaseMenuPresenter provides a simple base for presenters that treats
the host MenuView more like an AdapterView. This allows for less
rebuilding of views when items are added/removed.

Callbacks have been restructured. Calls that relate to the menu itself
are still handled by MenuBuilder.Callback, but calls related to a
specific presentation of a menu are handled by MenuPresenter.Callback
objects attached to a MenuPresenter.

Also add API to programmatically set divider options for LinearLayout
and hidden API so that ActionBarView can have finer-grained control
over divider placement.

Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
4afd62b18c52a55371ab923d54f93615ad68fd7a 19-Feb-2011 Adam Powell <adamp@google.com> Add an API to listen for window attach/detach events on a View.

Fix bug 3312949 - inconsistent state in MenuPopupHelper

Change-Id: Ie802ada3f8de4cf71c92fcc7c6abce9ba85e7b75
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
ca51e8788a58f2af3525b7214a675f2d0233e5da 15-Feb-2011 Adam Powell <adamp@google.com> Fix some bugs with MenuPopupHelper and ListPopupWindow

Clean up handling of a few conditions in MenuPopupHelper that the
monkeys manage to trigger around the use of ViewTreeObserver. (bug
3443819, bug 3312949)

Fix a bug where a stale handler message could cause a ListPopupWindow
to reopen itself after being dismissed. (bug 3453607)

Change-Id: I488014767ccee785500862a2572beb35901d173b
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
e2b03a62e5014ea60e24a989544fa549b493a520 25-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3387855 - Menu flashes on left side of screen

Post popup menu click events rather than executing inline so that the
popup can close undisturbed.

Change-Id: I01481bd37d7921c10c6b8b484eab33f0d25447ff
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
f0ad6e6eaf48ac8f4007232ad0a8511a7b5cfc0e 11-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3333015 - Overflow menu item submenus do not open

Submenus of action bar menus will open as new menus.

Change-Id: I924b87bbea91b0df5e3608ec894530302c0e1d8d
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
5e3f284baa271cb0fbf90e504d19fdd2e385382e 08-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"

Add protection against views disappearing before previously posted
Runnables attempt to show a menu anchored to them.

Change-Id: Ia2a322e76665e61feb5bdb92377d5066cb6d5b04
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
1700ae0aef4e6a3f412b758389955abd049060db 20-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3295495 - Wrong menu item selection in PopupMenu

Change-Id: I17ec55f09dbed9797cb702a7252f6c89e861cc6a
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
50f784cf2dc2dea8061153ac3a843f60a9d88781 20-Dec-2010 Adam Powell <adamp@google.com> Measure spinner items for sizing the dropdown view.

Only a limited window of items will be measured around the currently
selected item.

Change-Id: Ie0431948fdd564fa4bbeb82dede9e2abebbaee55
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
aa0b92ce2b51987e9c864164234fe968ab5b9311 14-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3210201 - Popup window wrong size/position when IME hidden

Fixes a case where ViewRoot does not recompute its size properly.
This caused various offsets to get out of sync and the window would
draw improperly.

Change-Id: Id0abb37bbf27b60de2dca4077c21040ec84ef163
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
8515ee846bd76aee86ec5ddfcc4dd1e626dd999c 30-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3240444 - add OnMenuVisibilityListener for action bar.

Fix bug 3180015 - leaking window handles on configuration change for
action bar dropdown menus

Rename ActionBar.NavigationCallback to something more consistent with
the rest of the API.

Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
ed8b403cc8066bf76cdf98f8d9906ff810defc5b 16-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3198503 - NPE at MenuPopupHelper.dismiss

Make sure dismiss() can be called even when the popup is not currently
showing.

Change-Id: I48077d8b3bfe0df04bceeb056ed54cbd79a6e660
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
0458796f1401732b38660794148f4c5e5602f432 12-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3146938 - Menus spawned by ActionBar should hide when action
bar is hidden

Any popup spawned by the private class MenuPopupHelper will be hidden
if its anchor becomes hidden. ("hidden" == !View#isShown())

Fix a bug where ActionBar subtitle views were not going away when
subtitle text was set to null.

Fix a bug when switching out of ActionBar tabbed nav mode with no
active tabs.

Change-Id: I1f30c067156221f96905ac69ab876418ad2e94f8
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
0b2d306e7000f4c0c6ad4e00d494bb401d8a9fc2 15-Sep-2010 Adam Powell <adamp@google.com> Style new popup widgets.

Change-Id: I208ed292afd9919071778baa9ea61d7ca9e7743c
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
6c6f575423d6718c3ff322224c1520901ce881e1 21-Aug-2010 Adam Powell <adamp@google.com> More ActionBar/config change tweaks. Preserve open overflow menus

Change-Id: Ic8ad2b1e3909fbf84ff4d852ae046a9f9508477c
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
3d3da27ab394108fd51771616cca3279baae99d1 12-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2911529

Change-Id: I18d7f5d8a300bbc73ef721c5d4deb200d6a490b8
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
4be0d52125b88dc992a4c500edbe95bf55484e0b 04-Aug-2010 Adam Powell <adamp@google.com> Added android.widget.PopupMenu

Change-Id: Id507cf93ebd0484f141a0a44266b883c01aa10db
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
8028dd32a4a04154050220dd0693583d5b750330 15-Jul-2010 Adam Powell <adamp@google.com> Overflow menu for action bars.

The overflow menu replaces the normal options menu panel for
activities with an action bar. It always appears as the rightmost
action button and is displayed as a dropdown menu. The menu key
summons and dismisses the overflow menu instead of the options panel
where applicable.

Change-Id: I0b4fa7e36f35ab12e2f0c1d12bec79ccab8cc4b1
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java
4267534d1c42af847ed0cefd1c88c99f66b36571 10-Jul-2010 Adam Powell <adamp@google.com> Action Bar now supports submenus as popups.

Change-Id: I1691c16081b3474ed6d6e406f91f5f74a2dc8fcb
/frameworks/base/core/java/com/android/internal/view/menu/MenuPopupHelper.java