8eeb4d1a70faa4d5834de44bfa515742566c6ba3 |
|
13-Oct-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5394020 - Menus are pretty sluggish to bring up Clear out some obsolete "optimizations" leftover from the old menu system internals. Change-Id: I325530c9fae434de2d95200e648c63149334f444
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.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/ListMenuItemView.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/ListMenuItemView.java
|
e7d468410b3a783560d5158a5798cef1b4b67702 |
|
14-Jan-2011 |
Adam Powell <adamp@google.com> |
Rework action bar menus. Fix bug 3328810 - remove icons from action bar overflow menu. Popup menus now will not show icons. Give popup menu items a minimum width. Alter the sizing of popup menus. Fix bug 3192635 - revise rules for action menu dividers. Dividers now appear between the overflow button and any other items next to it, and anywhere they disambiguate touch targets between text and other content. Action views are on their own and should include their own dividers if needed. Remove dividers from around action bar spinners and tabs. Change-Id: I935b48b473606ac2adde5e2b251bf30ebe2a3da9
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.java
|
22f7dfd23490a3de2f21ff96949ba47003aac8f8 |
|
20-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127101
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/com/android/internal/view/menu/ListMenuItemView.java
|