History log of /frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c826d759805928c84b20e646e442d55483e003c8 27-Nov-2014 Chris Banes <chrisbanes@google.com> Make sure that the decor is installed by onPostCreate()

BUG: 18525402
Change-Id: I196451786ad5dd47922fbed03f10ca7344957cc1
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
ac7e764e200e1e29b5bbaf2a71fe755c40cd1bf0 12-Nov-2014 Narayan Kamath <narayan@google.com> Fix duplicate function definition due to bogus merge.

This should really serve a warning to everyone
to carefully consider the usage of "DO NOT M****".

Change-Id: I55b0246d7f8a6c1f675842aa5a594a5dd57e4827
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
7e280263ed547a04fa900827d89ad5d6df09cd74 12-Nov-2014 Adam Powell <adamp@google.com> am 9c79d277: am 561461ff: Merge "Fix supportRequestWindowFeature() not working DO NOT MERGE" into lmp-dev

* commit '9c79d2777b9b8862d0c9a85fa0da283d1089968f':
Fix supportRequestWindowFeature() not working DO NOT MERGE
31ffa5421e54b16856fc1625910cca6f26a60fa2 20-Oct-2014 Chris Banes <chrisbanes@google.com> Fix supportRequestWindowFeature() not working DO NOT MERGE

- Don't let the theme override manually set flags
- Don't install the sub decor too early, which is a
side effect of calling getSupportActionBar(). We
now peek it.
- Throw exception if called after content added
like the framework

BUG: 18049469

Change-Id: I604da3bd9ad5ceb47b1a111f0103fc2f3800829c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
3d229684c41f79504167517c3de3236feadcbbf0 05-Nov-2014 Chris Banes <chrisbanes@google.com> Merge "Revert "Fix Window Insets again"" into lmp-mr1-dev
46dfe0c53492ef0cb59873123ca141906fbb7dcc 03-Nov-2014 Chris Banes <chrisbanes@google.com> Bring list menu fully into appcompat

We no longer delegate upto the Window to display
list menu items.

We now include more PhoneWindow. YAY.

BUG: 18004449
BUG: 17470603

Change-Id: Ieb072b6ac02db7a1438ab3ebfe2ba1cc29717a77
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
904935307f4d1bcf3fb94793c5ec2c851e93b100 02-Nov-2014 Chris Banes <chrisbanes@google.com> Revert "Fix Window Insets again"

Will need to rethink this.

BUG: 18156470

This reverts commit 8c9ce11dec24a32f438406286404be7ac294011d.

Change-Id: Ida24692c745042b73234e33e6af4fb1905500d93
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
d15ee7df01f2f48b536a610c4739f33b226d3f81 29-Oct-2014 Chris Banes <chrisbanes@google.com> Let the Action Bar handle keyboard shortcuts

BUG: 18021345
Change-Id: If7f555b0ae2dc5ef8662f2d42c87f2b98cbeb603
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
63b3c1d7bac27b133108f27779e392257bd84a78 24-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "More Material styled widgets" into lmp-mr1-dev
f6778b86ec2df8fefc381990d98995c0f1096f7e 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Fix Tinted Views being inflated with the wrong theme" into lmp-mr1-dev
331c4173e7ab2fc33cb52f21b7e4a2c576f99ac9 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Revert "Add kill-switch for AppCompat's compatible widget styles"" into lmp-mr1-dev
49dd96326a345654e396190d8c8d881b3fc6de63 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Fix supportRequestWindowFeature() not working" into lmp-mr1-dev
a9585dae398a69dd67797e7ca86f44ffcabd9e86 16-Oct-2014 Chris Banes <chrisbanes@google.com> More Material styled widgets

- RatingBar
- Button

Change-Id: Ia98a12151797d9e965b8ce2a6c53aa8e6209996a
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
1c7a431337d8794b8c72291a281d7ebed0d2b397 22-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Tinted Views being inflated with the wrong theme

Depends on Ibb7de7a3c49a1da22cd008aa6ae1791cc651fb3c

BUG: 18048105

Change-Id: Id57fb56f4d7a62f76c4ca6160ebfdc5ac561f37a
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
b73824b81c57b0a6821be9296a053ce4e516e583 23-Oct-2014 Chris Banes <chrisbanes@google.com> Revert "Add kill-switch for AppCompat's compatible widget styles"

This reverts commit c14b3a18fb92466a674e44ede2a6cd4c10caf3a0.

Change-Id: Ibb7de7a3c49a1da22cd008aa6ae1791cc651fb3c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
c198cf6a06284059f294dbcb380b9d3c6ff1d9c8 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Fix Window Insets again" into lmp-mr1-dev
236f480f36ccd55cb46dc9fa1a954539961ea507 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Remove ActionBar Progress Bar and no-op the related calls" into lmp-mr1-dev
8c9ce11dec24a32f438406286404be7ac294011d 22-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Window Insets again

Caused by the original window's decor fitting
the system windows for us. This CL disables all
inset handling on the decor, meaning that it falls
through to our sub decor.

BUG: 18052816
Change-Id: I31cc187f361ec003e1f9065da4d561338731ea13
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
cc7aada3ee922cfb38eeb36ee696cc73dcbae0a4 20-Oct-2014 Chris Banes <chrisbanes@google.com> Fix supportRequestWindowFeature() not working

- Don't let the theme override manually set flags
- Don't install the sub decor too early, which is a
side effect of calling getSupportActionBar(). We
now peek it.
- Throw exception if called after content added
like the framework

BUG: 18049469

Change-Id: I604da3bd9ad5ceb47b1a111f0103fc2f3800829c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
c14b3a18fb92466a674e44ede2a6cd4c10caf3a0 20-Oct-2014 Chris Banes <chrisbanes@google.com> Add kill-switch for AppCompat's compatible widget styles

Added a new theme attribute and ActionBarActivity method
to enabled/disable the default widget styling. This does
not completely disable the tinting functionality, just disables
the default styles (which are used by the tinting functionality).

This means that you can still manually set a
Widget.AppCompat.Blah style on a compatible widget and
still get tinting, which is needed for the internal views.

BUG: 18050902
Change-Id: Iaee8ff5eb2e82106a07e02fbb78e477b0535d49e
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
c132781c9ed6354e451c647737013600b0da2425 16-Oct-2014 Chris Banes <chrisbanes@google.com> Remove ActionBar Progress Bar and no-op the related calls

BUG: 17997180
Change-Id: I4903c6daba0f6d65fbee73d40fefa3a3fbe5f6fd
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
012047c60d03e61498955b7fa3e9cb9b409fbad8 11-Oct-2014 Chris Banes <chrisbanes@google.com> Add tint aware (Multi)AutoCompleteTextView

BUG: 17934833

Change-Id: I825f6b282f695c03582b6f5e11e192563686a9be
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
bbb50c78cc6ee24677c79bd4548fa38fcdc41d92 30-Sep-2014 Adam Powell <adamp@google.com> Inset the non-overlay appcompat contextual action bar without a status guard

When the status guard is not available, (e.g. when the window is not
drawing system bars) do not consume the insets when an action mode is
active.

Bug 17691453

Change-Id: I5c89195d21d9bc54b1f575957e832934e012065d
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
0b7aedbbe43b9d4af60cc4ebd4994c74ebe6bc5f 29-Sep-2014 Chris Banes <chrisbanes@google.com> More list menu fixes

Fix Menu not having it's callback set. Caused by a timing issue
in ToolbarActionBar's new list menu. If Toolbar.getMenu() is
called before Toolbar.setMenuCallbacks() then the menu
callback is never used. Fixed by making sure we set
the callbacks before getMenu() is called.

Also fixes the scenario where Toolbar does not return a panel
view (no action-items to display), resulting in the standard
'window' panels being checked. This previously meant that the
Toolbar's panel view is never used. We now never check the
'window' panels if there is a Toolbar list menu presenter
available.

BUG: 17049242

Change-Id: I355db4c782b38cd09f7def29224af849b74da0b7
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
7efc56b68ff933dfeeac81dd2d8a32096b90f0f4 27-Sep-2014 Adam Powell <adamp@google.com> Fix window inset handling for overlay action modes

Port of the patch fd6feada665e90acf47d53092d271508c8d038f7
from frameworks/base

Bug 17670911

Change-Id: Ibb6411a7df69f7dd8f956aa775af6859a0f8eb98
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
db90b158d840706f6c8a3084ac16becfe8cb79a0 24-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Fix List Menu for Toolbar Action Bars" into lmp-dev
da0b9d63d6f940cbfd5b526c3f81858aeadcb7e8 24-Sep-2014 Chris Banes <chrisbanes@google.com> Fix List Menu for Toolbar Action Bars

The problem is that PhoneWindow keeps hold of
the first menu returned from onCreatePanelView(). The update
of that is controlled by PanelStateFeature.refreshDecorView flag
is rarely set, so the new view returned by onCreatePanelView()
is never actually used.

This CL works around it by keeping one ListMenuPresenter (and thus
one MenuView) and passing it to each ToolbarActionBar. It can
then update the view as needed.

BUG: 17049242

Change-Id: Iedaa93c1dfc0068e4ce588aee28548949f9c4d15
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
ea4f700ac38424954c56df5138ff794def50b019 23-Sep-2014 Chris Banes <chrisbanes@google.com> Properly handle window inset changes on L

Added ViewCompat APIs for OnApplyWindowInsetsListener
since it was needed for the fix.

BUG: 17608376

Change-Id: I59411d6b364f2da22a1b187b206b8f47e25bf38b
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
415f740df4981ef2f5fb462a50c7cf095cc21128 22-Sep-2014 Chris Banes <chrisbanes@google.com> Material Widget styling

- Spinner
- CheckBox
- CheckedTextView
- RadioButton
- Switch

BUG: 17210888
Change-Id: I996415770d048f6b18152228427b2bf15fe611b3
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
01f416d488317785d3b29161cd3e58a38f24b683 22-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Apply window insets to standalone action modes" into lmp-dev
ec3f49d21a507835c1f50ce5600000b587a2af08 19-Sep-2014 Chris Banes <chrisbanes@google.com> Apply window insets to standalone action modes

BUG: 17567245
Change-Id: Iaa77f672693dbeae033b78ab3487492bd3bc755e
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
57c6de90985a63358129b99b9f0cd4d6afe887d6 19-Sep-2014 Chris Banes <chrisbanes@google.com> List menu fixes galore.

- ToolbarActionBar now handles it's own list menu.
- Also fixed theming of the list menu once and for all.
It's now tied to actionBarTheme and actionBarPopupTheme.

BUG: 17319897
BUG: 17049242

Change-Id: I0e523323f9f53060d1ebd678f344c56b9f9dda63
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
9b1b5bfac6abfda6c7543fc1b57050649b04f41b 17-Sep-2014 Chris Banes <chrisbanes@google.com> Don't call onCreateOptionsMenu if the Activity has been destroyed

BUG: 17453290
Change-Id: Ic536dee58304652b13de6abaa23873b11c2989b2
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
4bd5cbd6ca4f1e5ed43217b808068a48f937feab 05-Sep-2014 Chris Banes <chrisbanes@google.com> Use the Toolbar's context when inflating an action mode

BUG: 17262483
BUG: 17513621

Change-Id: I8e136b4b6619934b434e516892a40f5982b317d1
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
f9f4d371fced53e03c72c62cbc2348c96fc628e4 12-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "More window inset fixes" into lmp-dev
28cca4bf59e7f3fd35f9da05caa9418251b5227a 11-Sep-2014 Chris Banes <chrisbanes@google.com> Make sure we close the options menu when an item is selected

Change-Id: Ie8a3c5671c36fa9de9819d509ecc4c6afe050244
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
1f4989216d62f70088cea29f9ae200a9bb3ff955 09-Sep-2014 Chris Banes <chrisbanes@google.com> More window inset fixes

The final fix is to make appcompat's decor optionally
fit system windows, just like PhoneWindow's decor.
Unfortunately the only way to enable this is via reflection.
Yuck.

With this turned on, we now need to call computeFitSystemWindows()
in ActionBarOverlayLayout. Again via reflection.

BUG: 17411097
Change-Id: I18c8e9b50cb5ab8d72dda1c106c4638d676e09d7
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
f2045f06bdfc9e2cc40a734e41e45d11adf2bc23 10-Sep-2014 Chris Banes <chrisbanes@google.com> Let the action bar invalidate the menu

This is needed for ToolbarActionBar

BUG: 17453285
Change-Id: I496ce3299cc4486816d143e6feecc035cc26db67
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
469286122bcbbecbdd0bef74fb50f9d8920e77b9 02-Sep-2014 Chris Banes <chrisbanes@google.com> Add dynamic Drawable tinting to appcompat

Brings the res folder down to 297kB from 435kB,
saving > 30% of disk space (compressed).

Change-Id: Ia64ceacb5afed7f17203ff17ce5eaa990d58be7c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
00d183885b54de433e43118d3032340f40cac8c0 08-Sep-2014 Chris Banes <chrisbanes@google.com> Update ActionBarActivityDelegateBase's panel handling

The current handling is simplistic and doesn't handle
multiple panels like PhoneWindow. The new handling is
99% the same as PhoneWindow now.

As a side effect, we now also trigger the proper callbacks
for the Action Bar/Activity.

BUG: 17403017

Change-Id: I6174df0d9e67afdbea74ef703224fc9e5821459c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8616937c50df2b77b04db4c1e90780d0c8ff3d38 05-Sep-2014 Chris Banes <chrisbanes@google.com> Don't show list menu when an action mode is displayed

BUG: 17049242
Change-Id: I47335e47ba6dd5c1eb3e21785d7dd03b638acf60
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
c4b9e0cb716a4caff218b27d86f37ef8117d257b 05-Sep-2014 Chris Banes <chrisbanes@google.com> Menu Callbacks for appcompat Toolbar

BUG: 17326424
Change-Id: I1c06029a62626efe2cd2d88f198b7fbe76e057c2
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
dea1122145ed85590d298a3a9d88ba9f9e2f5f46 03-Sep-2014 Chris Banes <chrisbanes@google.com> Fix Keyboard shortcuts

BUG: 17070243
Change-Id: I2e726b6149fbbd14244939dc2adda4230cbd6659
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
a6e86333cb4de18fc9b86746a49643e213db7c18 03-Sep-2014 Chris Banes <chrisbanes@google.com> Fix memory leaks caused by multiple setSupportActionBar calls

BUG: 17345564
Change-Id: Ia162316e0ee258b1eee40ac74483a41d152bfcb1
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
4b217eaec19887b37d6d124df5ba04c5bb8b8141 28-Aug-2014 Chris Banes <chrisbanes@google.com> Flatten appcompat's decor view hierarchy

- Remove action_bar_root as it's not really needed
- Fix windowContentOverlay being displayed twice

BUG: 17131069
Change-Id: Ic46dfc8f224dd880b6aa9f837f988badde3f9ed4
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
ca58f2ce7cd9f0e0f2c4a46c3bcc98013209f6b3 27-Aug-2014 Chris Banes <chrisbanes@google.com> Update Toolbar/Action Bar title handling to match fw

BUG 17138048

Change-Id: Ib787757a991178787bbd1bf9dc405a9a507fe7c3
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
0b216f2263135782c361e122892a12156d5d2ce1 26-Aug-2014 Chris Banes <chrisbanes@google.com> Fix a bug propagating navigation events from ToolbarActionBar

Migrates fix from I2c3d7525489a21847f4af9b80f6ebf9b34b4dd58
to appcompat

BUG: 16980711
Change-Id: Ic265c73881935e5d2df59a3b693e5f9e75b56bea
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
e909dcaaa24935b48a706273834c3e8ec4bf048d 13-Aug-2014 Chris Banes <chrisbanes@google.com> List Menu fixes for DarkActionBar

BUG: 16895420
Change-Id: I7552b15bbf54639d28830978186ee9aac2485466
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
03fc11b659da1645507062bddda450136e13af35 07-Aug-2014 Chris Banes <chrisbanes@google.com> A few fixes around menu window callbacks

- Fix the fact that we do not call onPrepareOptionsMenu
when the overflow/list options menu is shown.
- Fix the dark panel menu background.
- Fix support for native fragments.

BUG: 16853814
BUG: 16870272

Change-Id: I8e2dfcdc222d1568769364cc6f1ac579421443a5
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
024e4dfcc97766bde6941207af41f7703d35c93f 11-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Implement windowOverlayActionMode" into lmp-dev
0bf48858279237f95d6aad565a074490745491cd 08-Aug-2014 Chris Banes <chrisbanes@google.com> Don't wrap a created action mode if it's null

BUG: 16870451
Change-Id: I98e803dedcb6d9e74688d2b098393fa8b2b9815d
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
de9f38cc4a30b33ac46b105edf470fbc4a044e99 07-Aug-2014 Chris Banes <chrisbanes@google.com> Implement windowOverlayActionMode

Allows the action mode to overlay the Toolbar

BUG: 16824727
Change-Id: If4d90e81bb44bd7f8b98ea0dc4d9a3b04700bbe3
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
4c2a95906254748cb9a843b061288265d6e185a9 01-Aug-2014 Chris Banes <chrisbanes@google.com> Fix ActionMode behavior in appcompat

This CL fixes a few issues. First is that the action mode
isn't visible when started.
Second, ToolbarActionBar wasn't hooked up to start an action
mode.
Third, we know wrap any implicit action modes (textIsSelectable, etc)
in a support action mode so that the styling is consistent.

BUG: 16721002
Change-Id: Iba7e7b7ab2589a4b1f759edb21f79caab16f2459
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
c6c2828bb4fe597c371f1c17d535912582d339bd 05-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Fix AppCompat.DarkActionBar theme" into lmp-dev
61c0bbe56a13fe55ce91a5b1d64e751164ecb894 31-Jul-2014 Chris Banes <chrisbanes@google.com> Fix AppCompat.DarkActionBar theme

appcompat now uses a ThemeOverlay theme structure like
the framework.

BUG: 16674772

Change-Id: I25e4b98fdff5d8e959c95079ac73e7da7d69683c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8088261dec5dd277ccace13fe00f280ffa80098c 31-Jul-2014 Chris Banes <chrisbanes@google.com> Fix up navigation click handling

Caused by not calling setMenuPrepared(). Also
cleaned up some of the Activity calls.

BUG: 16665053
Change-Id: I0187563854f7c3487fa19de960b7993746a22d67
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
49c78900da0d43140fb602431fb93212bd7f6c70 15-Jul-2014 Chris Banes <chrisbanes@google.com> Update internal Action Bar implementation to L

This CL brings all of the internal widgets and helpers
for the Action Bar up to date with L. We now only use the
unbundled ActionBar/ToolBar implementation. This is to ease
integration and make styling simpler.

Change-Id: I267c9ee90b5707d997910c57242e26130f2dbcf8
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
f4a93d160fc696de65e103e7e078106ea8f818fa 16-Dec-2013 Chris Banes <chrisbanes@google.com> Update ActionBar implementations to APIv18 spec

Implement methods added in APIv18, and add backports
for previous API levels. As a side thing, we now always
provide an ActionBarDrawerToggle.Delegate.

Change-Id: I8ed2f14a7611ec8d69a637d20eebc96f07079fdb
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
56fd50144df518461398a9b3397ee4842b346708 06-Nov-2013 Chris Banes <chrisbanes@google.com> Add AppCompat.DialogWhenLarge Themes

DelegateBase has been changed so that it always installs a custom
Decor layout.

Change-Id: I7624930c1252cc7c124f41b8a30f4feaacdea2eb
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8902df1bf0006a156503d40b1fc8a01f95d5b806 29-Oct-2013 Chris Banes <chrisbanes@google.com> Sync PhoneWindow Menu Handling

We were previously using a much simpler version of handling
the menu instantiation in appcompat, but it looks like it has
some race conditions in it.

This CL syncs ActionBarActivityDelegateBase with the functions
from PhoneWindow + PanelFeatureState as much as possible.

Bug: 11370375

Change-Id: I565c2aed94ac4eabd2409b85b2dc68b7ccecf78d
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
d64322f4b9686fabfd5a03f402d50a8e3fe5aded 28-Aug-2013 Chris Banes <chrisbanes@google.com> Fix onContentChanged not being called in appcompat

https://code.google.com/p/android/issues/detail?id=59445

Change-Id: I66c9ae04b637ef0423451b24cb2f08c3798214ac
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8befe35284f720362ec0a862ec840bd9fb598fe4 21-Aug-2013 Chris Banes <chrisbanes@google.com> Fix android.R.id.content change

Looks like I didn't test Id425b59522b59e9db6c6f08974c648f88240f5e9
properly. This commit fixes it so that it actually works.

Change-Id: I543262a3821424e9fa92c44966f659cdaf7c7b1f
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
f53c7bf3146bf9bcba46324f9f06449df475be36 19-Aug-2013 Chris Banes <chrisbanes@google.com> Fix Title Setting if changed before setContentView

https://code.google.com/p/android/issues/detail?id=58982

Change-Id: I5fde438aee87b2f6a9a57b0853a16083aff86206
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
92b18eb0263ef2421fda5bf977fea3bf044bf941 19-Aug-2013 Chris Banes <chrisbanes@google.com> Change the content ID to be android.R.id.content

I expected this change to cause problems but it works fine
on all of the samples I've tried it on.

https://code.google.com/p/android/issues/detail?id=59118

Change-Id: Id425b59522b59e9db6c6f08974c648f88240f5e9
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
2bc5191a8cc331b404724759a015949a4b5499fb 18-Jul-2013 Chris Banes <chrisbanes@google.com> Fix ABC ActionProvider visibility refresh

The problem was <4.1's version of Activity.onPreparePanel
checks to see if menu.hasVisibleItems() == true, whereas v4.1+
just ignores this and lets the menu presenter handle it.

Bug: 9907372

Change-Id: Iea3fc048a1f147d1261dbd25615ccb92756b656c
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
904507029cd8ea2d070b6df0911b2dd36b7075a6 25-Jun-2013 Chris Banes <chrisbanes@google.com> DO NOT MERGE Fix overwriting Action Bar title

This commit fixes the Action Bar title being overwritten by
the Activity title. The wrong method on ActionBarView was
being called from Activity.onTitleChanged(), which didn't
check to see if a title had been explicitly set.

Bug: 9569582
Change-Id: I8c03fa03fc6fe34852896841fec52a3d24c080e6
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8123e4b3d19031e34a60c0db202f0b3d100eb9d8 03-Jun-2013 Chris Banes <chrisbanes@google.com> Ensure native Action Mode position on HC

- Added a new layout to the decor for v11+
which ensures that the compat action bar
is at least invisible when a native action
mode is started.

Bug: 9251554

Signed-off-by: Chris Banes <chrisbanes@google.com>

Change-Id: I0932aaaa0b74166de6cb9134fd96d019ec204119
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
10d5cc85f23e10447e9d6fc326b963f415fbf63d 29-May-2013 Chris Banes <chrisbanes@google.com> Merge changes I93332eca,If4777c50 into jb-mr2-dev

* changes:
Rename remaining resources to use abc_ prefix
Import of SearchView into AppCompat
45d973fcc4c43f5ea00cddd3d9b947d9e8d8fc4e 28-May-2013 Chris Banes <chrisbanes@google.com> ActionBarCompat support for ActionBarDrawerToggle

Bug: 9167781
Change-Id: I927788a093d27e26b8b693766127f1a608d1b540
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
07a07ce59efb770e9fb9ca53a0133e5e64a63bbc 23-May-2013 Chris Banes <chrisbanes@google.com> Rename remaining resources to use abc_ prefix

Bug: 9100364

Change-Id: I93332ecaf1e8d5234acf005e263c6c0309e6413f
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
6e6abe6eb358db4c3932752249c8ac61dd3dab21 08-May-2013 Jeff Brown <jeffbrown@google.com> Fix several issues with menu wrappers.

The menu wrappers were being created for the wrong version due to
an upside-down if tree in the menu wrapper factory.

The action provider wrapper code was duplicated and failed to
propagate the visibility changed event correctly. The new JB
API bits were also mixed into the ICS bits.

Added @Override in a few places where it was absent.

Renamed MenuWrapper to MenuWrapperFactory to avoid confusion
in the subtype relation between it and the actual wrapper types.

Simplified the wrapper hierarchy by moving construction of
support wrapper types into this factory instead of having to
override individual createXXX methods on each wrapper type.
This means we can get rid of several types, a possible diamond
inheritance hierarchy involving MenuWrapperHC and SubMenuWrapperHC
and their subtypes and the maintenance hassle of having to update
four places whenever a new version specific subtype needs to
be added.

Added a SupportSubMenu interface type to complete the set
of defined interface types.

Fixed handling of null listeners in a few places.

Bug: 8175766
Change-Id: I8c164893a6025308751a8c05671945874fe047c4
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
30837f1095c803f332f4a1c3f0917c8afdd50156 24-Apr-2013 Adam Powell <adamp@google.com> API changes for support action bar menus

Refactor support action bar to use standard framework menu interfaces
instead of additional interfaces. This simplifies the API and results
in fewer disjoint callbacks which could make life difficult for
library authors.

SupportMenu/SupportMenuItem are now private implementation details of
the support lib rather than interfaces used directly by app
developers. Developers must use standard support shim *Compat classes
to access new methods, and these shims are now aware of
SupportMenu/SupportMenuItem and will do the right thing.

Fix up a few other general issues and bugs.

Change-Id: I833dce76485741b680bef84c1c0ed8d81ea57616
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
f2b7cd67036d78fd5b487b0a2dab28aee11d9c88 23-Apr-2013 Adam Powell <adamp@google.com> Remove "Compat" suffix from non-shim classes

Change-Id: I9cab9a0e7ac900b98ad019e38eb3296ea066da10
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java