History log of /frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb4b601673a4f910d3e467bc5ce39538438859ce 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"

This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb.
and also fbc21e126f329b7b7c161858c1390ccb023be07e

I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as
we are resolving layout params on every child of a ViewGroup as of commit
fcc3348f61b2992f0b84e8e8dcb3535fc715298f

Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)

Part 2

- fix remaining UI widgets by asking layout params resolution when needed

Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
cf1ba0298c48ae56608ed556dc715eb69c54f9b9 26-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ActionBar aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Iea8a512311ee99548f39bbbe342f21eabaffbe09
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
b98a81f86ab87f1d718f329f03256111fdabd8d1 24-Feb-2012 Adam Powell <adamp@google.com> Add support for optional titles in action modes

Optional titles will only be displayed in the CAB if they entirely fit
instead of ellipsizing.

Fixes bug 5821883

Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
482ae5f2388a07d60d7f3b54432120172af25eee 18-Feb-2012 Adam Powell <adamp@google.com> Bug 6021294 - Contextual action bar animation tweaks

Remove the right-to-left cascade effect from action mode menu
items. Animation time is now fixed at 300ms for scaling in menu items.

Change-Id: I8eef2ed9f93c2af804663dd5e6b3f4915ed45cb1
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
678ed0c5a32bac1ea18a5ac99b0b814421ea79b4 28-Oct-2011 Adam Powell <adamp@google.com> Bug 5275928 - Don't try to open an overflow menu under invalid circumstances.

Change-Id: I62ea1e982f0d3c92cb504efbae95bce238b12f72
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
97e1836e1b07d91f18de9669c46b0c941b643a72 21-Oct-2011 Adam Powell <adamp@google.com> Bug 5275928 - Invasion of the monkeys

Fix a monkey bug where runnables set to open popup windows were being
left around.

Change-Id: I29f2c7763ab667c784b96b60ef0d7e04d358c4d9
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
538e565c06e915b91e7e3a901f872ccdd9bccdd3 11-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5396097 - menu theme consistency

Fix a bug where action bar menus were using the wrong context to
inflate stock views. This was causing them to use the action bar's
themed widget context instead of the current theme's specific action
bar items.

Note that action views in the menu will still be inflated using the
themed widget context. This can produce some weird side effects if
the action views use theme attributes relating to these action bar
item attributes.

Change-Id: Ied3614d1fedb10a0f5366bbe7b90cd5f2f1ff969
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
a05aba9c506cd12a753c53e060c289095c3477e9 23-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5341139 - bottom bar stays if app wants to handle orientation
change

Let action bars move between split/unsplit mode on configuration
changes if set to split when narrow.

Change-Id: I13f5115a65247cb1878ee823493ca8e2b6ba4cf6
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
86ed436b83d6b71ff00d1c3db910f2952018489e 15-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5237737 - ActionBar should fire an accessibility event when
action mode is turned on/off

Fire AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED when action modes
come and go to give an indication of UI change on the level of a menu
or dialog opening/closing.

Change-Id: Id36c6153b0722b4b6927c8d36503e8ac57c2d2b2
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
425689eea2f4f208f29b944b4973981bdbeda9f5 09-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5279075 - Handle action bar config changes when action mode is active

Change-Id: I83d40d2d555b01a9e678231c4f3c5278fab959d7
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
9a5cc2810bbbcb0eab4579aa4131039820d92101 29-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
bfcdfaf919cdb67897a6e24afc8f14b2c810596a 19-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items

Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
9ca705e323cb737a07a667c1e86bac702f11a29c 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5075761 - Visual assets: CAB states

Integrate new assets for the contextual action bar (action modes).

Change-Id: I8439196f8b7466ce862e1c21a34b7ae1abf88f36
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
f6ce6a9bacbb220c6ea7b552c481237f23e64ae7 29-Jun-2011 Adam Powell <adamp@google.com> Fix some issues with the action bar and action modes.

Fix bug 4976004 - bad title measurement for split action modes

Fix bug 4902960 - action modes leaving a hidden action bar in a bad state

Sync with design for the behavior of various permutations of action
bar configuration + modes.

Change-Id: Id75f6b5911b761fabc5fef2cc2600ce197cf9a92
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
1ab418a222e1834c4b1312fde355e41a1947af0d 10-Jun-2011 Adam Powell <adamp@google.com> Refine the behavior of split action bars.

Change-Id: I27212c7554025433ee366f0766971f0092b26d67
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.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/widget/ActionBarContextView.java
c619e74cc62678cef09b5f92e87e762a1f02aab7 01-Jun-2011 Gilles Debunne <debunne@google.com> ActionBar makes room for icons when no title is provided

Change-Id: I5bd09e00b50496032deda40ea22367d727230611
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
b51cc1dd63808da505cd8beb7300f57dc98ff1d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Merge "Only delay pressed feedback for Views inside a scrolling parent"
e0a799a2ac1ca78e30fbac9e4e12a063425c08d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Only delay pressed feedback for Views inside a scrolling parent

Add a method on ViewGroup to determine whether it supports scrolling.
This allows us to show the pressed feedback immediately in many cases,
improving responsiveness of buttons, etc.

This patch also lengthens the timeout in order to reduce flashes
when the user is scrolling.

Change-Id: Ieb91ae7a1f8e8f7e87448f2a730381a53947996f
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
640a66eac612b850b5dabd3b93bd94f83ed2d567 29-Apr-2011 Adam Powell <adamp@google.com> Refactoring of action bar internals

Split action bar implementation details. Factor out common components
into AbsActionBar. Layout rules for the lower half of split action
bars.

Change-Id: I6bc39ba6c343055597880a7d4663dd8f30aa4999
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.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/widget/ActionBarContextView.java
b0ff6f995553a5deb1f22e43e44715b316d33a88 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge

Also adjust default web text selection menu to allow overflow, preventing items
from being cut off in portrait or on smaller screens.

Change-Id: I686c9a8daab31a38c2fcb75ee1402f09f568c238
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
a1e6358a4c62c8b6de1f2428901e45b688bd9e9f 19-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing

Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
77769c7a9130afa48e46dbd79da8271c271ab1e9 17-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3360954 - Text overlaid on menu icons

Change-Id: Ie59a325b7037d93aeec01c862646f900d52e1d7c
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
00bba682efedbe121f31c98697f91101b1c22b82 09-Jan-2011 Adam Powell <adamp@google.com> Amendment to fix for bug 3332414

Change-Id: Id3047f6ea6f8f5c68318057798e285cc1e06d094
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
dd10b66601ed0b288dc93b43e14cd9fd71355728 09-Jan-2011 Adam Powell <adamp@google.com> Bug 3332414 - UI glitch in CAB options

Change-Id: Ic066f968b0125276c315f31adbd96420e528362f
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
128b6ba93d0549fd2beff4482678e1229dc1cf3d 13-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3280187 - ActionMode menu content not getting cleared properly when finishing

Fix bug 3279956 - FastScroller resource loading errors

Change-Id: I224b2b820636f88b09740a511aa0a9c480e54a2f
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
45f1e08c348ccb129bcc25e438c05421f7123f41 10-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3259354 - Handle ActionBar backgrounds better for interacting
with action modes.

Tweak ActionBar/mode transition animation to look better with a
variety of action bar styles.

Fix bug 3273773 - ActionBar disappearing while displaying
popupwindow. Some SurfaceFlinger optimizations require a relayout to
recalculate the bounds of overlaid views.

Fix bug 3266010 - Cancel animations properly when switching between
modes.

Change-Id: Ic431176b11115a2211bd0a46d09c8998aefe58d6
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
d8b3f2e8eee5f24de6653a918613674e9495f751 02-Dec-2010 Adam Powell <adamp@google.com> Action mode animations

Change-Id: I132791217a38257e4fe730f2dd364cf48069c75d
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.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/widget/ActionBarContextView.java
9ab978713ce86fdaefed2407f4f3c998ab0e3178 27-Oct-2010 Adam Powell <adamp@google.com> Action bar API updates - new display options

Change-Id: I55e56cd7aafa53994990079e88ef85e4eb1a0b3f
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
85446e95afa480cee2247bb96795fccc8cf812af 23-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3105695 - Action modes in dialogs or other small windows

Overlay action modes now show in their own windows aligned to the top
of the screen.

Change-Id: I81600bbd1bcaeb59fdcf0a959bd35f82165baa2c
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
f16888f1e849b0bc0b9c17e5f833c4e2cd54c382 12-Oct-2010 Adam Powell <adamp@google.com> Holo fixes

* Fix up ButtonGroup to behave better.
* Fix bad states with holo list selectors.
* Clean up action mode UI components.
* Change action mode UI to use a text button instead of 'X' to dismiss.
* Fixed spinner dropdowns for Holo.Light

Change-Id: Ifc092bd549ffb539d6a3b2ddd95ebd4b114a441f
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
be4d68e7b238b8ee879de0481e39c40d3f1683b6 09-Oct-2010 Adam Powell <adamp@google.com> Updated styles and metrics.

* Added preliminary ButtonGroup support for buttons that display as a unit.
* Fixed a bug with MenuBuilder that caused old-style icon menus to fail.
* Added support for explicitly setting line height in text.

Change-Id: I1ba65f09dd9e1bc833d247ebe72052a21e3f99f0
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
2a5a53709ee40d4e400ef78adc695a1a9ae874e2 13-Sep-2010 Adam Powell <adamp@google.com> Fix broken ActionMode close button styling

Change-Id: I425df1433d43c1b2bd392464ed10142532640f81
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
bc234a19f4c74116454e2c77f4739290e761995a 10-Sep-2010 Adam Powell <adamp@google.com> Clean up action bar styles

Change-Id: Ib19698e08d643994c4416aac29a43e9197bbe1f3
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
9146ac706265cd8cce66907e617bc8572152eb97 17-Aug-2010 Adam Powell <adamp@google.com> Prevent starting an action mode from within an actionbar/mode UI.

Don't let a View start an ActionMode if it would be obscured or destroyed
by the ActionMode UI.

Change-Id: Ifdb28f1d6704ede550a89903d3823a09b103fcd5
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
e2194445b078932733a2d1a02fc084ea2f3c7360 13-Aug-2010 Adam Powell <adamp@google.com> Clean up some Action Bar style handling.

Action Bar now obeys the titleTextStyle/subtitleTextStyle attributes
and has a better way of handling custom sizes. Any attached Action
Mode bar will keep in sync with the Action Bar's height.

Change-Id: I7d16319f5609d4d6c80a3043dcb60303e6e903db
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
f6148c53f93978af678cc0559a4417b608a33ae1 12-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2911311 and bug 2911700

Integrate the action bar overflow menu better with the options menu lifecycle.

Change-Id: I1e3fdba04b01718c3ee3367f92e5dabe7bc84b5c
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
8350f7dbc3a62211b2891f35911e4073d24c4cc5 28-Jul-2010 Adam Powell <adamp@google.com> Added CHOICE_MODE_MULTIPLE_MODAL to ListView.

Based on ActionModes, CHOICE_MODE_MULTIPLE_MODAL supports the new
Honeycomb-style selection mode.

Change-Id: I293ea22487db8e081c95e5236f1e053f7dd4ada6
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
5d27977f9da482627ceb19317a2cd70467aff046 28-Jul-2010 Adam Powell <adamp@google.com> Action modes without action bar

Change-Id: I0367ab35e598a17980bd373b30828175f6283acc
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
6e34636749217654f43221885afb7a29bb5ca96a 23-Jul-2010 Adam Powell <adamp@google.com> Moved context modes into view, renamed to action modes

ContextualMode renamed to ActionMode. Adds a reference to the action
bar and reduces confusion around things named "Context".

Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
ac695c608ba620e2362f57126d7be453cf5b7e1b 21-Jul-2010 Adam Powell <adamp@google.com> Refactored contextual modes out of action bar.

Change-Id: I1fc1c9383e5ee90f135b92a5afa8eadbf1c13d20
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
269b8bb0cbd78969450ea9ab255232d047580210 21-Jul-2010 Adam Powell <adamp@google.com> Fix a bug with closing action bar context modes

Change-Id: I4f11549664f11cdc02d135288e05459007dbf0c8
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
b366bbae2b5a3009893ef64246e3430cea4b7736 20-Jul-2010 Adam Powell <adamp@google.com> Make sure action bar context modes reserve space for overflow menus on all devices.

Change-Id: I393f041efef3852b7f3ee57c6a4c26ba176b2702
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
2c9c9fe806e51f29276e66b8ba40cb4b7a80c3f4 16-Jul-2010 Adam Powell <adamp@google.com> Action bar context mode support for overflow, submenus

Change-Id: I951ae179698b08b6aba5b174b3d47f0cf847352e
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
dcdefbbff2bfecbfeb7b6459de130f376595c590 20-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2852909 - screen density for contextual action bar

Change-Id: I9e3d8fe4e6f5eb0282cc103a98ed60ca2911c91e
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
29ed7575c2129974a57ad77b3531bc5995940c6c 15-Jul-2010 Adam Powell <adamp@google.com> Bug 2841148 - Add accessors for action bar context mode state.

Change-Id: I04f3efce5a692b346756cc80c8d15f3abba10558
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
a7db03705f53c59e63e63c2e67e2db78f8226dcc 01-Jul-2010 Adam Powell <adamp@google.com> Define measuring behavior for action bar/context mode custom views

Change-Id: Idbe25c81a16005f153d5b425fb366eef4bea290f
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.java
0e94b5151d817e600a888448a662208b29b5ef46 30-Jun-2010 Adam Powell <adamp@google.com> Add subtitles for action bars and context modes.

Fix an issue where context mode content was cleared before animating out.

Change-Id: Ie7a065e65bc18e3da32de07543d0f71d2a2d648c
/frameworks/base/core/java/com/android/internal/widget/ActionBarContextView.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/widget/ActionBarContextView.java