6eea0d2a4ce20c9709d2cc9c24c823f7ef795c0a |
|
21-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Add support for tinting icon menus Test: CTS tests in separate CL (same topic) Bug: 31545315 Change-Id: I8877c77dab9b7b229b4246012b9380beadeb4790
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
2ef1d0cfca010b398fef5b6ee242c110a823bb95 |
|
06-Mar-2017 |
Peeyush Agarwal <apeeyush@google.com> |
Store alphaChar as lower case in MenuItem's implementations We should be working with lowercase everywehre (since SHIFT is also a modifier). Also, in findItemsWithShortcutForKey, we only compare the character against the lower case version of key pressed (and not the upper case version). Bug: 35992521 Test: Manual Change-Id: I01f24afc5f6c9ef55d477806a64a4a1ec262f28a
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
e631e32a1a771a36267af3f8af8b64e9365bc19e |
|
19-Oct-2016 |
Peeyush Agarwal <apeeyush@google.com> |
Extend MenuItem to allow modifier keys for shortcut Before this, CTRL was the default modifier for MenuItem shortcuts. Now, It's possible to specify the modifier in XML or via MenuItem methods. The modifier list includes META, CTRL, ALT, SHIFT, SYM and FUNCTION. WIP on support library implementation Bug: 32165848 Test: Run the tests using following commands: > cts-tradefed run cts-dev -m CtsViewTestCases -t > android.view.cts.MenuTest#testPerformShortcut > cts-tradefed run cts-dev -m CtsViewTestCases -t > android.view.cts.MenuInflaterTest#testInflateShortcutModifiersFromXml Change-Id: I7db4607d4657451934761914efe4c250de109653
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
6a944ca17547e520ed4988125ee4c1f172c87946 |
|
19-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Rename View.setTooltip/getTooltip to setTooltipText/getTooltipText Bug: 34454987 Test: android.view.cts.TooltipTest Change-Id: I7203d5c61804b79584ba8449643c6c0f27a90747
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
7039cbc6f3a596aee6851014019849490f358f13 |
|
04-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Add content description and tooltip to menu item Bug: 34076597 Test: manual Change-Id: Ide32463252457721286c929ab2f8f7bae241835d
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
a41b78973db3dfde159f7d641f794f462ad323d3 |
|
09-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
API council review feedback for ActionMenuView Reverts "MenuItem, navigation and overflow icon tinting" CL, and adds getter and setter for the overflow icon to ActionMenuView and Toolbar. BUG: 21571899 Change-Id: I591f43650356443fa3256e4d74e28b6ddd8c2b33
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
9cc36ca1b520c06f882e84b909f3a2b75d303a06 |
|
23-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
MenuItem, navigation and overflow icon tinting - iconTint and iconTintMode attrs for MenuItem, with associated setters. - navigationTint and navigationTintMode attrs for Toolbar with associated setters. - overlflowTint and overflowTintMode attrs for Toolbar with associated setters. BUG: 18126050 BUG: 19148351 BUG: 19305408 Change-Id: Ibd1fae7cdbc7a7c42809e52541fae5d8beb18e92
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 |
|
04-Feb-2014 |
Alan Viverette <alanv@google.com> |
Add APIs for obtaining themed Drawable from Theme, Context BUG: 12611005 Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
e0e2f4fd3ac8e70e341ae52d6376d8d67bd9edce |
|
06-Apr-2013 |
Adam Powell <adamp@google.com> |
Fix accessibility in action bars and add extra customization Fix a bug where the content description of the big unified Home/Up button was not getting set properly. Add the ability to change the home-as-up glyph from ActionBar. Add the ability to set a custom action description for the home-as-up button, useful if the above functionality is used. Bug 8548229 Change-Id: I0635799772c7234b68247dfc105dce7f11acda32
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
51ac0e94a83cfccb5105aa14df1077729a5b4ccc |
|
17-Jun-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Adding a ShareView and ActionProvider for menus. 1. Adding a widget for sharing contenet with other applications. The widget orders the share targets based on previous shares. It displays the share target list as either a popup anchored to itslef or as a dialog. 2. Added a ShareDataModel that will back widgets or other classes that are interested in share targets for a given intent ordered according to share history. This class is backing the ShareView 3. Added ActionProvider mechanism for the MenuItems. The action provider of a menu creates the action view as well as performs a default action if the menu item is on the overflow menu and is triggered but none of the menu callback has handled that. bug:4590827 Change-Id: Iaa4add2df2538b8c6c7edbeaf2880486d4fd75c5
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.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/ActionMenuItem.java
|
3f476b34049d062942eafcf48396f593e00bd324 |
|
04-Jan-2011 |
Adam Powell <adamp@google.com> |
Revisiting ActionBar API and layout. Fix several bugs where ActionBar was ignoring LayoutParams in action views. Add convenience methods for toggling display options flags. Add layout resource version of ActionBar#setCustomView Fix a bug preventing actionViewClasses from being loaded properly in menu xml. Change-Id: I0d9a0b635fd9cfc020bac69369c0c7749c226349
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
cf78b3e5101349fdddbde14b3a55140f9562ae66 |
|
13-Sep-2010 |
Adam Powell <adamp@google.com> |
Add support for custom action views in ActionBar menus Change-Id: Ic7850bc00fcfe95d805dd6a1b15cb5d413942475
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
89e0645b4157961e8c465eb9c819f965fdb453d8 |
|
24-Jun-2010 |
Adam Powell <adamp@google.com> |
Added context modes to ActionBar API. Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|
33b974393b6fadcefc896ec4a0f9b66724f61e9f |
|
20-Apr-2010 |
Adam Powell <adamp@google.com> |
ActionBar added to framework, integrated with Activity and styles. Added onClick attribute support to menus in MenuInflater. Change-Id: I739771b4f249d87a0d8b15969f3d526b099067a1
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItem.java
|