f6bf1d7b30078adf4fb26a89f3b5988954c3287c |
|
20-Dec-2014 |
Paul Miller <paulmiller@google.com> |
Fix crash on pasting text in a WebView WindowDecorActionBar and Chrome's ContentViewCore each have their own ActionMode reference. ActionModeImpl.finish() nulls WindowDecorActionBar's reference and calls mCallback.onDestroyActionMode() to null ContentViewCore's reference. But if the callback is deferred, there is a period when the ActionMode is finished (and mCallback is null), but ContentViewCore doesn't know. ContentViewCore may try to invalidate() the ActionMode, which will crash on the null mCallback. Make ActionModeImpl more permissive so that calling invalidate() during this period does nothing. BUG:18758329 Change-Id: I407fa0e0cd3cffa217e165caed83130d44760316
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
3abf5c4bd167547b7e995f1b14ae1bae210c5fec |
|
29-Oct-2014 |
Alan Viverette <alanv@google.com> |
Use action mode context for ActionMode menu inflater BUG: 18078900 Change-Id: Iff837e741dde79a565f1e8c83846ee6155da179e
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
f6a36e9cf347a851bc3b717e4c39b484fce4e9c2 |
|
29-Oct-2014 |
Alan Viverette <alanv@google.com> |
Inflate ActionMode items against the ActionBarContextView theme BUG: 18078900 Change-Id: I300a0268bacf7e1ebcd64eac3d79548e1c4a9606
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
2bbad0cddce213ffd3d1e0909f2dc74dd0038ba7 |
|
17-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Handle action mode changes properly for actionbar tabs Bug: 17513613 Change-Id: I4ebcadc618558153b72bf577232adc3e616adb6b
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
af2d85973ed768e390bc2f40f255ea39cc6f6fe5 |
|
27-Aug-2014 |
Adam Powell <adamp@google.com> |
Adjust toolbar/action bar title handling Treat activity title changes as window title changes when propagating to action bars. This gives it lower priority if a "hard" title has been set. Fix some lifecycle handling around this that previously resulted in multiple calls. Automatically detect the starting display options for a ToolbarWidgetWrapper if we're not grabbing them from styles. This prevents setTitle and friends from going totally out to lunch if constructed around a Toolbar with no starting title. Bug 17138048 Change-Id: I9f58a3d222546745c8aa873e996b8f0d52a0ad21
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
5352a89e8a633e348c450aaee835d2a2d72e8ae0 |
|
21-Aug-2014 |
Adam Powell <adamp@google.com> |
Unify code paths for collapsing action views in action bars This reverts a well-intentioned bugfix that made ActionBarOverlayLayout focusable in touch mode and caused issues with some activity layouts. Removes the associated key handling code for the Back key in ActionBarOverlayLayout and handles it at a higher level in Activity instead. (This same code path was already in use by ToolbarActionBar.) Bug 17105724 Change-Id: I57e4cace44a6d11f25a2549644b565446d616a52
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
14d1fa4ba753d3480abf031525da0aa23d8e5abe |
|
11-Jul-2014 |
Adam Powell <adamp@google.com> |
Elevation for action bars Expose theme attributes and API for ActionBar to adjust elevation of the bar. Remove the windowContentOverlay fake shadow from material themes and use elevation instead. Mmm, realtime shadows. Bug 16207490 Change-Id: I254567a13422b6d2f657b9991608398885f45204
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
f65bfb700b19dbd2b0936d583c1493477e6d8a25 |
|
19-Jun-2014 |
Adam Powell <adamp@google.com> |
Fix ActionBar#isShowing when called before first layout Fix a regression introduced by the new hide offset API addition where an action bar height of 0 (not yet measured) would cause the bar to be considered hidden. Bug 14574446 Change-Id: Ic8e22923ab59df6078136daa336e074c4b7adaf5
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
6790b0502b0ab6375ab9f750a5faf6a9b1748a4c |
|
02-Jun-2014 |
Adam Powell <adamp@google.com> |
Support list navigation mode for toolbar action bars Add support for the list(spinner) navigation mode for ToolbarActionBar and WindowDecorActionBar when a Toolbar is substituting for an ActionBarView. Bug 15332084 Change-Id: Ic618686f7767c4a14410ae359435d7c1b244e4fa
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
76d1466dfcdfbeb80dac64b9ec210c61b0b08574 |
|
30-May-2014 |
Adam Powell <adamp@google.com> |
Fix bad casts in action bars Not all DecorToolbars are themselves views. Use the interface passthrough instead. Bug 15335176 Change-Id: I88f1701822406d4204d344aef855a4a707e4c7ab
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
6fdeeb34ae1be8ef7579456b443befd7e9b92ac0 |
|
29-May-2014 |
Dan Sandler <dsandler@android.com> |
Use DecorToolbar.getViewGroup() to get the view properly. Bug: 15320825 Change-Id: Ib7e162c816fadf2b5c83af1326e7158f6bd69c8e
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
e021e6ed8931a0a8296af182fc9b0c76b64fb0c4 |
|
24-May-2014 |
Adam Powell <adamp@google.com> |
Toolbar factoring and ActionBar functionality integration Toolbars now can act in the role of ActionBar with the exception of navigation modes. Expandable action views are now supported as well as populating menu items from a host window. Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
4369e7d0b087d777e5012e2706acc5be9be47de7 |
|
17-May-2014 |
Adam Powell <adamp@google.com> |
Action bar refactoring, round 1 Decouple PhoneWindow and ActionBarView to allow for using Toolbar in some circumstances later. Change-Id: I907743e06c3a1203e21cfd84860a1884c66f3527
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
76d8f968059d27ef8500cabf7690c18552c22d5a |
|
15-May-2014 |
Adam Powell <adamp@google.com> |
Add content insets to Toolbar Content insets allow a Toolbar to define horizontal gridlines for the start/end or left/right edges of major content (not counting the navigation button or menu). This allows apps to align their layout content above or below a Toolbar with the title and other contents of the bar by using app-defined measurements. Change-Id: Ibd7e0810bf81070eb5f59a42ad3257f35bc0156a
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
b36e4f944fe28ce68182f9ec91e5341866b49084 |
|
01-May-2014 |
Adam Powell <adamp@google.com> |
Add support for hiding action bars on scroll. Also tweak the nested scrolling API around nested flings and fix a bug where recursive nested scrolling would stop prematurely. Change-Id: I561226db878b2493970440a6af3e2332c56a1913
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
31a217290cf376d0573fc36e21c8940987485019 |
|
25-Mar-2014 |
George Mount <mount@google.com> |
Split Activity Transitions out of PhoneWindow. Bug 13622834 Made it possible to use shared elements without making Views invisible. Change-Id: I1e85c6bc19e634a9af225ad7f0309b4f003ea462
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
14bf0cef7eeed572a67c29a328581afac4decc20 |
|
12-Dec-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Action bar rendering in layoutlib This also makes a couple of changes to the framework: 1. ShareActionProvider - Use edit mode to execute activity chooser code. 2. WindowDecorActionBar - add a new constructor for use by layoutlib. This also relies on some changes to the plugin to pass the correct params. Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|
e43340c80dc66c45edc793ecd0343774aa34d108 |
|
18-Mar-2014 |
Adam Powell <adamp@google.com> |
android.widget.Toolbar Add the new Toolbar widget for use in app layouts. ActionBar can now be used as a point of control for either a traditional window decor action bar or for a Toolbar that appears inline in an Activity's layout. ToolbarActionBar is currently WIP. Change-Id: I0da093e5645840f4fd032aa34efa0ae5f1825ff2
/frameworks/base/core/java/com/android/internal/app/WindowDecorActionBar.java
|