• Home
  • History
  • Annotate
  • only in /frameworks/support/v7/appcompat/src/android/support/v7/
History log of /frameworks/support/v7/appcompat/src/android/support/v7/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4b5c35036e68c7551dd77641ceec17b92c6368d 19-Aug-2015 Chris Banes <chrisbanes@google.com> Fix AppCompatDialogFragment crashing

We now model PhoneWindow in when it reads the theme
window flags. Added a unit test too

BUG: 23336734

Change-Id: I990bd91d29d1009e0e18f976c7b3c542782660e6
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
c9b517a68ed7070d4edcdd5be818540d81b43db0 20-Aug-2015 Chris Banes <chrisbanes@google.com> Fix button on Gingerbread when using Toolbar

BUG: 23379766
Change-Id: I64e4a42e1f10a3f7726258f768ea45e1da3a6781
pp/AppCompatDelegateImplV7.java
802b4db47e1aea2ef808afa89278340016c0c7d3 10-Aug-2015 Andrew Solovay <asolovay@google.com> am e21c8fc5: Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc

* commit 'e21c8fc54201f7ba818dc089c0bdb4e8e4ee289f':
Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc
e21c8fc54201f7ba818dc089c0bdb4e8e4ee289f 01-Aug-2015 Andrew Solovay <asolovay@google.com> Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting.
Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc

There was a major formatting problem in
ShareActionProvider.setShareHistoryFileName() (because of badly-formed
closing tags) and a minor one in setShareIntent() (an extra space in
the code-snippet-background color).

Chris also caught some substantive errors that I fixed (I'm guessing
because this Javadoc was copied from the Framework version of the
method and some changes needed to be made).

See first comment for doc stage location.

bug: 22857881
Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc
idget/ShareActionProvider.java
d2f8851a0a27ea6a2ddf5a88097f3d10eed38485 03-Aug-2015 Chris Banes <chrisbanes@google.com> Fix crash caused when clicking on list menu item

Caused by an recursion on the closePanel() method,
which leads to a crash. Fixed by using the correct
Window.Callback to dispatch to.

BUG: 22879253
Change-Id: Ia352b67975a90e32c7c9b36cb79a6986bef7fbb9
pp/AppCompatDelegateImplV7.java
58d52ab3241a033e9f61e70f02846d41842b5841 30-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Add ThemedSpinnerAdapter.Helper class" into mnc-dev
10c8130fe03a6fb77857ac8ec91c0a21b81fcc5e 29-Jul-2015 Chris Banes <chrisbanes@google.com> Add ThemedSpinnerAdapter.Helper class

Allows easier integration of ThemedSpinnerAdapter
into existing Adapter classes pre-M.

BUG: 22788140
Change-Id: I30b4e1480377b768cc98553e05c444334ac00a18
idget/ThemedSpinnerAdapter.java
fa29430a0f794fd2ae698f996e0d25fdeab716ae 29-Jul-2015 Bart Sears <bsears@google.com> Merge "Revert "Add ThemedSpinnerAdapter.Helper class"" into mnc-dev
5ea7fa5bbce68011e3e788e66707dfdf786ab990 29-Jul-2015 Bart Sears <bsears@google.com> Revert "Add ThemedSpinnerAdapter.Helper class"

This reverts commit 6567f676e3a8708ada5033bb481b95d47ae034b2.

Change-Id: I81581d102a367fd9e2fc54a0cd463327f5f910e0
idget/ThemedSpinnerAdapter.java
4b9cad322560da8ac0f9006c5fbe470bf06126cc 29-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Add ThemedSpinnerAdapter.Helper class" into mnc-dev
6567f676e3a8708ada5033bb481b95d47ae034b2 29-Jul-2015 Chris Banes <chrisbanes@google.com> Add ThemedSpinnerAdapter.Helper class

Allows easier integration of ThemedSpinnerAdapter
into existing Adapter classes pre-M.

BUG: 22788140
Change-Id: Ie1aef5b62002b8f65353ca2be9289c7cda94f15f
idget/ThemedSpinnerAdapter.java
8ba0fdde8e91fd59808ce3453eef079e54915ce8 28-Jul-2015 Chris Banes <chrisbanes@google.com> Fix ActionMode not being inset correctly

Caused by the new action mode animations delaying
the call to setVisibility(VISIBLE), without delaying
the call to requestApplyInsets. This means that the
resulting call to onApplyInsets() happens with the action
mode view being GONE.

BUG: 22651908
Change-Id: I6e8ad429fccb8f73abd339d821a1d792b6f2d565
pp/AppCompatDelegateImplV7.java
b290812e5d79643e587c1c76f9179077bdf3758d 28-Jul-2015 Chris Banes <chrisbanes@google.com> am fcefab49: Merge "Fix alpha keyboard shortcuts with ToolbarActionBar" into lmp-mr1-ub-dev

* commit 'fcefab49a0d08ceadf64d67a364e007006fc0bc0':
Fix alpha keyboard shortcuts with ToolbarActionBar
fcefab49a0d08ceadf64d67a364e007006fc0bc0 28-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Fix alpha keyboard shortcuts with ToolbarActionBar" into lmp-mr1-ub-dev
aab25a62660666eb76031c3dc0bc2d8f37337d9f 27-Jul-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for merge of 4c18f4d7 to mnc-dev

Change-Id: Ifbad10fb4f49cde559e270217b8b63af1db2ab2b
46be6a08e9d1b4b989f74f800b71a1221321ab6e 27-Jul-2015 Chris Banes <chrisbanes@google.com> Make AbsActionBarView eat touch/hover events

This code is taken straight out of Toolbar.

BUG: 22709057
Change-Id: I9a3e4c58e8fa8d15d7cef9f05adbb416006aedc0
nternal/widget/AbsActionBarView.java
f7aba4a12a3da9a53a98d227a89ab16c62581613 24-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Make DrawerArrowDrawable LayoutDirection aware" into mnc-dev
b01b01dddd64c945dd8dfa896648aa36dc47dde3 22-Jul-2015 Chris Banes <chrisbanes@google.com> Make DrawerArrowDrawable LayoutDirection aware

Using the newly public getLayoutDirection() in M,
and new reflection methods in API 17+.

BUG: 22635283
Change-Id: Idb0bdb6ec5e43a2b04b3a0c14d0a3c3421314e09
pp/ActionBarDrawerToggle.java
raphics/drawable/DrawerArrowDrawable.java
2e81b889c997f4af18eee0650c1d041337cf6eb8 23-Jul-2015 Chris Banes <chrisbanes@google.com> am 433ad501: Merge "Add extra getters and setters to DrawerArrowDrawable" into lmp-mr1-ub-dev

* commit '433ad5016a94b6547ead3ae096f707f7ec17daf8':
Add extra getters and setters to DrawerArrowDrawable
433ad5016a94b6547ead3ae096f707f7ec17daf8 22-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Add extra getters and setters to DrawerArrowDrawable" into lmp-mr1-ub-dev
9d9c6a22548670bf017e69fd5d0f47134a18b53f 22-Jul-2015 Chris Banes <chrisbanes@google.com> Fix alpha keyboard shortcuts with ToolbarActionBar

BUG: 22651750

Change-Id: Ia012f19cb31840f8df85ba69de45cf284ab06441
nternal/app/ToolbarActionBar.java
beb1c4e9453c0cd6153f85872ee912e4b0cef42c 22-Jul-2015 Chris Banes <chrisbanes@google.com> am 66bc56b8: Merge "Fix detection of root view within inflate() call" into lmp-mr1-ub-dev

* commit '66bc56b89cb906e4a152ef574b2de44693049e04':
Fix detection of root view within inflate() call
fab671ee55f26d6f3c9381a3e6d444d23dd970d2 11-Jul-2015 Chris Banes <chrisbanes@google.com> Add extra getters and setters to DrawerArrowDrawable

Also renamed some of the 'less-than-clear' attribute
names to match the new getters/setters.

BUG: 22414899

Change-Id: I4863de8c0a33d6cc03d112c7c2be6860aa601363
raphics/drawable/DrawerArrowDrawable.java
66bc56b89cb906e4a152ef574b2de44693049e04 22-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Fix detection of root view within inflate() call" into lmp-mr1-ub-dev
d082e0ce8aec8e6c7b8393d21f010d203e4173d7 21-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Remove DayNight functionality DO NOT MERGE" into mnc-dev
871e1fd7971cf8802beb5c2323d4257f2b278c22 21-Jul-2015 Chris Banes <chrisbanes@google.com> am c63438dc: Merge "Fix KEYCODE_MENU not being dispatched to an Activity" into lmp-mr1-ub-dev

* commit 'c63438dce2904355f08ad2b57a8386d474b309be':
Fix KEYCODE_MENU not being dispatched to an Activity
f2149b131fa96dc0a26fc86b3a36c4094c63a73a 16-Jul-2015 Chris Banes <chrisbanes@google.com> Remove DayNight functionality DO NOT MERGE

BUG: 22488087

Change-Id: I69298e07b8aae124a4982d30c070ea042c6e3568
pp/AppCompatActivity.java
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV14.java
pp/AppCompatDelegateImplV23.java
pp/AppCompatDialog.java
4d95686e7ade79bfb1081047e90de4bf2affbbca 20-Jul-2015 Chris Banes <chrisbanes@google.com> Fix KEYCODE_MENU not being dispatched to an Activity

Also fix onPanelClosed() not being called, by moving
the related logic closer to that of PhoneWindow.

BUG: 22596497
Change-Id: Ia1b66b92646aceb49ed58b913c05984e81503124
pp/AppCompatDelegateImplV7.java
f2b833b408c2169dee906a43268c41e55c8964b3 16-Jul-2015 Chris Banes <chrisbanes@google.com> am 9efaee2e: Always return true from ToolbarActionBar onKeyShortcut

* commit '9efaee2e7e3a147405847736eacdb5e1c66ae1c2':
Always return true from ToolbarActionBar onKeyShortcut
9efaee2e7e3a147405847736eacdb5e1c66ae1c2 16-Jul-2015 Chris Banes <chrisbanes@google.com> Always return true from ToolbarActionBar onKeyShortcut

BUG: 18021345
Change-Id: Idb8128d087364042e83f16ba1ac9c0580ced6ecf
nternal/app/ToolbarActionBar.java
7c15736b22c7bb0abc7b7964810b4426e998966b 15-Jul-2015 Adam Powell <adamp@google.com> am 33556e6b: Return consistent SupportActionModeWrappers for native action modes

* commit '33556e6b972f1aa8126a88605b455afd6d6ee0bd':
Return consistent SupportActionModeWrappers for native action modes
33556e6b972f1aa8126a88605b455afd6d6ee0bd 15-Jul-2015 Adam Powell <adamp@google.com> Return consistent SupportActionModeWrappers for native action modes

Fix a bug where AppCompat could return inconsistent action mode
wrappers back to the framework. As a result the framework could become
confused as to the active action mode and how to dispose of one after
it was finished.

Bug 22265882

Change-Id: I647cd41bb389fff954e33958286291065d0c828c
pp/AppCompatDelegateImplV14.java
nternal/view/SupportActionModeWrapper.java
080abff1400d6461206a6dc367411115590abda9 14-Jul-2015 Adam Powell <adamp@google.com> Remove prerelease codename checks

Bug 20692412

Change-Id: I96adcd887d45ca07a6175a62ccb601a8fcee6458
idget/AppCompatSpinner.java
94ec49fdd1a22f3d95833a381c20f15c40acddf3 09-Jul-2015 Chris Banes <chrisbanes@google.com> am 8ec51db6: Merge "Update ShareActionProvider to the framework" into lmp-mr1-ub-dev

* commit '8ec51db6ff81d464b5f26379ea6459fff0370cb0':
Update ShareActionProvider to the framework
994c4d5cb3abb8c6085a5b011dbaef2cec001e77 08-Jul-2015 Chris Banes <chrisbanes@google.com> Update ShareActionProvider to the framework

Allows us to fix where the SAP doesn't update
it's history.

BUG: 22346942

Change-Id: I5639d5a4aa5b87dd077b0075455f17006ad39dcd
nternal/widget/ActivityChooserModel.java
d95c99933cb57a5678afeff01d91269be61e2502 08-Jul-2015 Chris Banes <chrisbanes@google.com> Fix detection of root view within inflate() call

This CL expandes the simplistic isAttachedToWindow()
check with additional checks on the parents.

BUG: 21792119

Change-Id: Ie69e7c681bb4a8bed5fd03fe80843a53ece15f28
pp/AppCompatDelegateImplV7.java
42a46b38ef4baee9816e991910e77edb24a448bb 06-Jul-2015 Chris Banes <chrisbanes@google.com> am b53cde05: Merge "Ensure that AppCompat\'s setTint calls match the framework" into lmp-mr1-ub-dev

* commit 'b53cde057f1654f81c9c75864a5993b729141c12':
Ensure that AppCompat's setTint calls match the framework
39cb4c1c59fa156ed28bc8835ef05eeb356ad13c 06-Jul-2015 Chris Banes <chrisbanes@google.com> Ensure that AppCompat's setTint calls match the framework

Currently calling setTintList(null) will cause an NPE
since it treats null as a valid tint. We now match the
framework by clearing the color filter.

BUG: 22288809
Change-Id: I6ca022f2aa59fdb0434f325d8af4f657bcaf4e60
nternal/widget/TintManager.java
def1ea84f43a3553a130cb66ed48f916eb393813 02-Jul-2015 Chris Banes <chrisbanes@google.com> am 609a8d18: Merge "Fix memory leak in setActionProvider() - support edition" into lmp-mr1-ub-dev

* commit '609a8d182fc5b5a81cf7c9bfb3f93d885873aa00':
Fix memory leak in setActionProvider() - support edition
5d3c47dccb89d5616ec6f3625e586a5cc4fa61c9 30-Jun-2015 Chris Banes <chrisbanes@google.com> Fix memory leak in setActionProvider() - support edition

Caused by ActionMenuItem's SubUiVisibilityListener
not being nulled when it is replaced via setActionProvider().

BUG: 22189734

Change-Id: I1294fd44125db4271a081184fa59eb0935fd0986
nternal/view/menu/MenuItemImpl.java
80f2710b679782055404c1ba526fd08ac4b43f4b 27-Jun-2015 Yuichi Araki <yaraki@google.com> am 33c086b1: Merge "Fix SubMenu in NavigationView" into lmp-mr1-ub-dev

* commit '33c086b170ad408746728df4a4b5d6d9f10e7508':
Fix SubMenu in NavigationView
e51ef1cefdb7004696f706cdb9c4a57035217836 27-Jun-2015 Ian Lake <ilake@google.com> am 74befadd: Merge "Fix NotificationCompat.MediaStyle crash on ICS" into lmp-mr1-ub-dev

* commit '74befadd5ca79be67563a42c41ccc4e19797e379':
Fix NotificationCompat.MediaStyle crash on ICS
33c086b170ad408746728df4a4b5d6d9f10e7508 26-Jun-2015 Yuichi Araki <yaraki@google.com> Merge "Fix SubMenu in NavigationView" into lmp-mr1-ub-dev
6e511d12ff3a713dc56a3b8a50b246b9a0fe6cdf 25-Jun-2015 Doris Liu <tianliu@google.com> Merge "Add enter/exit animation for window provided CAB - support version" into mnc-dev
bf61606ac234432b2d7f98a8219a59cc8c07cf70 25-Jun-2015 Chris Banes <chrisbanes@google.com> Fix docs build

Change-Id: I267db59fb1a731750ad9a5beb8ed68409cf33f4b
idget/AppCompatSpinner.java
8ab6b02ab7c3b54472cbc530b38230b0d3389aaf 25-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Update AppCompatSpinner with popup theme" into mnc-dev
956192ae5d9dd882c91c9cb607954f0eebcb7976 24-Jun-2015 Ian Lake <ilake@google.com> Fix NotificationCompat.MediaStyle crash on ICS

Guard call to RemoteViews.setContentDescription() to only run on
ICS MR1 (API 15) or higher devices, preventing it from crashing on
API 14 devices.

BUG: 22066476
Change-Id: I7f143bab3b8d3dc02582da9af2a0c9be135bc092
nternal/app/NotificationCompatImplBase.java
c04ae73a9793cdad7784fd543f3b7ad32cc8dbed 24-Jun-2015 Doris Liu <tianliu@google.com> Add enter/exit animation for window provided CAB - support version

Bug: 21886856
Change-Id: I9a88ef337adf27b728185cb6fc27328b338a7818
pp/AppCompatDelegateImplV7.java
f1708242d5b83c4b1aabec134a09bd4516dd327d 23-Jun-2015 Chris Banes <chrisbanes@google.com> am 576121ce: Merge "Make sure that DrawerArrowDrawable invalidates itself" into lmp-mr1-ub-dev

* commit '576121ce3775d906141f60b22bd75bf5b8fcd857':
Make sure that DrawerArrowDrawable invalidates itself
ba9c39f06f44dc728c7a7a7d1ab0b2ded3a887f9 23-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Stop spamming logcat with location permission denials" into mnc-dev
576121ce3775d906141f60b22bd75bf5b8fcd857 23-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure that DrawerArrowDrawable invalidates itself" into lmp-mr1-ub-dev
486ecff84a98c7b397e4a19c85a87f565d09f197 23-Jun-2015 Chris Banes <chrisbanes@google.com> Make sure that DrawerArrowDrawable invalidates itself

BUG: 22010355
Change-Id: I2f5807ba72a7e8a99574a50ccaf6cf7dfc189df2
raphics/drawable/DrawerArrowDrawable.java
4e0a0984e80ced79b8aa3cf71fc261044ecc08a6 23-Jun-2015 Chris Banes <chrisbanes@google.com> am 5ba742a3: Merge "Fix leak for MenuInflater + setSupportActionBar" into lmp-mr1-ub-dev

* commit '5ba742a37d06a0961f20e41c18cc6f8f4d5fd514':
Fix leak for MenuInflater + setSupportActionBar
5ba742a37d06a0961f20e41c18cc6f8f4d5fd514 23-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Fix leak for MenuInflater + setSupportActionBar" into lmp-mr1-ub-dev
f0ec407dc5fdb420550ed29f9556909bd9f635a9 22-Jun-2015 Chris Banes <chrisbanes@google.com> Stop spamming logcat with location permission denials

Currently we use isProviderEnabled() to check if we can
access a location provider, but this call also
requires the relevant location permission to be granted.

This CL adds an explicit permission check before we
call anything on LocationManager.

BUG: 21993901

Change-Id: I4de69df092e2d0704ccd704ea6c87824e57a7d82
pp/TwilightManager.java
4f5b17adf5017c497b20decab1ba308e088d7ac1 22-Jun-2015 Chris Banes <chrisbanes@google.com> am 56606fdf: Merge "Improve "does not support current theme" exception" into lmp-mr1-ub-dev

* commit '56606fdfdbdf57b691d76a0234b83e6a3788069f':
Improve "does not support current theme" exception
725df1cf793a42aa8f1175c69668419b92f3512f 22-Jun-2015 Chris Banes <chrisbanes@google.com> Improve "does not support current theme" exception

BUG: 21950315

Change-Id: Ic4b378ab8712e4f045365e0bd18c5f52cc229964
pp/AppCompatDelegateImplV7.java
5ecdb2c5042da49d36d7cda3fa08f1d9151a1fbd 22-Jun-2015 Chris Banes <chrisbanes@google.com> Fix leak for MenuInflater + setSupportActionBar

Caused when there are multiple calls to
setSupportActionBar(). getMenuInflater() will
instantiate and keep an instance to the first
Toolbar (and it's container, etc).

BUG: 21638877
Change-Id: I4c79b4832534b06e7ab2819e78e303dde4a7d76a
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
6c72ea0134a3309ff8197f0862aad8d7bc712b55 15-Jun-2015 Yuichi Araki <yaraki@google.com> Fix SubMenu in NavigationView

This introduces new wrappers; NavigationMenu and NavigationSubMenu.
These are necessary to notify the top menu when its sub menu is changed.
https://code.google.com/p/android/issues/detail?id=176300

Change-Id: I1ea97880dfb0e0c1dee6426b3c528d6d60323063
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuItemImpl.java
2a5e18155a210d06ebb142059746becb31f67945 18-Jun-2015 Chris Banes <chrisbanes@google.com> Merge commit '62d9aaed' into manualmerge

Change-Id: I22d22d6a496759a98b81c3f1bf1c226b48fa8e17
9a767d6b502f9289c58216f4e3c622ec2c5dfbd6 18-Jun-2015 Chris Banes <chrisbanes@google.com> am 1d0e76a0: Fix List Menu not responding to dpad events

* commit '1d0e76a0ba8bfc5e280203a56e10be95dd959a51':
Fix List Menu not responding to dpad events
62d9aaed232f8669e79a01ae1c4f6d077ba59984 18-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Fix memory leak in ToolbarActionBar" into lmp-mr1-ub-dev
1d0e76a0ba8bfc5e280203a56e10be95dd959a51 18-Jun-2015 Chris Banes <chrisbanes@google.com> Fix List Menu not responding to dpad events

We were not giving the view a chance to consume
the KeyEvents.

Change-Id: If7a78db824a3ec5c2e3032fef5805bfbda85e881
pp/AppCompatDelegateImplV7.java
8d4765883ff24f0f79bf64fea23d4687d50cec85 18-Jun-2015 Chris Banes <chrisbanes@google.com> Fix memory leak in ToolbarActionBar

Caused when there are multiple calls to
setSupportActionBar() (i.e. fragments). ToolbarActionBar
currently just wraps the Window's current Callback. Which
means that for every setSupportActionBar() call, we're
re-wrapping a ToolbarActionBar Window.Callback wrapper.

This CL fixes it by making sure that we always wrap the
correct 'root' Window.Callback.

BUG: 21914909

Change-Id: I8f21b94d60eb488630b1fe7377ba62d3608accef
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
nternal/app/ToolbarActionBar.java
11f753b60de3d1d63224e701b5b9e600748fe8dc 18-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Change ActionBar animtion from/to ActionMode - support edition" into mnc-dev
64c32ba7ea8a7c71835e33d7f208824bf1081a24 17-Jun-2015 Adam Powell <adamp@google.com> Add matching xml attributes for existing Toolbar properties

AppCompat edition

Bug 21010256

Change-Id: If5d4c2b1950d3593c27379fd229f276b686cd583
idget/Toolbar.java
acce58688e2c3e5abd0b13e78dcf2c26710eabd0 15-Jun-2015 Chris Banes <chrisbanes@google.com> Change ActionBar animtion from/to ActionMode - support edition

This CL changes the animation going from/to ActionMode per UX request.
The previous animation uses a combination of scale and translation
animation, whereas the new animation uses fade-out and then fade-in
(no cross-fade) for the action bar transition.

Also removed any internal code support split action bars.
AppCompat does not support it is not used.

Bug: 20882034

Change-Id: I65d39fd785cbd7c80357fae7411350100225eb5f
nternal/app/WindowDecorActionBar.java
nternal/view/ViewPropertyAnimatorCompatSet.java
nternal/widget/AbsActionBarView.java
nternal/widget/ActionBarContextView.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/DecorToolbar.java
nternal/widget/ToolbarWidgetWrapper.java
58783afdac2cc39d1e6898318ead976b46057816 16-Jun-2015 Adam Powell <adamp@google.com> Merge "Fully remove Toolbar children when action views expand" into mnc-dev
f933672168f6deff5e3636584bec735416b5a93b 28-Apr-2015 Chris Banes <chrisbanes@google.com> Update AppCompatSpinner with popup theme

This is done by handling the dropdown popup
ourselves in AppCompatSpinner. This enables
us to control the context.

Also removed the old copy-pasta SpinnerCompat
implementation moving us to the new AppCompatSpinner
everywhere.

BUG: 17625714

Change-Id: Ic2ded027898cf441241b6a22eb1a6d62fd77dcee
nternal/app/NavItemSelectedListener.java
nternal/view/ContextThemeWrapper.java
nternal/widget/AbsSpinnerCompat.java
nternal/widget/AdapterViewCompat.java
nternal/widget/DecorToolbar.java
nternal/widget/ScrollingTabContainerView.java
nternal/widget/SpinnerCompat.java
nternal/widget/ToolbarWidgetWrapper.java
idget/AppCompatSpinner.java
idget/ThemedSpinnerAdapter.java
f6ad5d5a5d205696951a04c49dc04fa65a428e58 15-Jun-2015 Adam Powell <adamp@google.com> Fully remove Toolbar children when action views expand

AppCompat edition

The previous implementation of toggling visibility resulted
developer-set child visibility getting stomped. Fully detach child
views that shouldn't be shown instead. This is more consistent with
the coming and going of other system child views.

Bug 18156260

Change-Id: I028443115abd305076bf517b1c0d9de1265f00f5
idget/Toolbar.java
00374d6956602a63c2d57b1962131b175e20d811 15-Jun-2015 Adam Powell <adamp@google.com> Fix crash in ToolbarActionBar when setting null custom view

AppCompat edition

Bug 21291849

Change-Id: I1cfdd8e7aa9d0845259380da11d7b14a06a7f46d
nternal/app/ToolbarActionBar.java
ac1206f77c3add2aba9c38c6405be30da828ac37 15-Jun-2015 Chris Banes <chrisbanes@google.com> am 27006ef6: Merge "Make DrawerArrowDrawable public" into lmp-mr1-ub-dev

* commit '27006ef6ef1b84cdd0574b02ab572d948c6a3f4d':
Make DrawerArrowDrawable public
c0dc35dd54229e89d89aceceb44989a11d748fe7 15-Jun-2015 Chris Banes <chrisbanes@google.com> am 32d048f6: Merge "Make Toolbar accessible" into lmp-mr1-ub-dev

* commit '32d048f6e59a4007b3996a7fb7cafca9b87948f9':
Make Toolbar$SavedState accessible
89204fbab7bf454ebcf022cbc6b5a27c91a891c0 15-Jun-2015 Chris Banes <chrisbanes@google.com> am 490e0d39: Merge "Fix subsequent drag-to-open SubMenus" into lmp-mr1-ub-dev

* commit '490e0d39930d6f8dfc2d3d576cf607d2e77d2e42':
Fix subsequent drag-to-open SubMenus
27006ef6ef1b84cdd0574b02ab572d948c6a3f4d 15-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Make DrawerArrowDrawable public" into lmp-mr1-ub-dev
174b5f1e907abbaa70f94dc83fff86ea453d2cd3 15-Jun-2015 Chris Banes <chrisbanes@google.com> Make Toolbar$SavedState accessible

BUG: 21836037

Change-Id: Ia67d334200701cca3bc66d40dba08b102c15b93c
idget/Toolbar.java
93011d6b0ca0622a6b098d3c3670ac7cc7bf9632 12-Jun-2015 Chris Banes <chrisbanes@google.com> Make DrawerArrowDrawable public

BUG: 18612549

Change-Id: Ie455f862edc575a9a0c374dea8571cab87f4196d
pp/ActionBarDrawerToggle.java
pp/DrawerArrowDrawable.java
raphics/drawable/DrawerArrowDrawable.java
7e3865a3c83a2c85af215bf1d9ec9c4f37438e19 11-Jun-2015 Chris Banes <chrisbanes@google.com> Fix subsequent drag-to-open SubMenus

Caused by a timing issue in the dismiss calls.
The framework uses an Animation before performing
the item click after selecting an item. As AppCompat
doesn't use an Animation, the popup is dismissed and
thus null'ed out before onForwardingStopped() has been
called.

This messes up ActionMenuItemView's onForwardingStopped()
impl since it will now return false and make ListPopupWindow
think it's still forwarding. The fix is to just use the
default onForwardingStopped impl which works correctly.

BUG: 18141053
Change-Id: I5f4aef456157d926eb341e47393048ee22eef690
nternal/view/menu/ActionMenuItemView.java
ded3a5d5890aee32b9624aa605d1f35b1359010d 11-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "API council review feedback for ActionMenuView - support edition" into mnc-dev
8b6062d084e75466ace36485004193f6a68fbc59 10-Jun-2015 Ian Lake <ilake@google.com> am 18037797: Merge "Ensure NotificationCompat.MediaStyle methods return MediaStyle" into lmp-mr1-ub-dev

* commit '18037797371e1f7e10f63ecdca53888645441208':
Ensure NotificationCompat.MediaStyle methods return MediaStyle
786db17f5d4be344ae6c6a0f28ab76b1e7588af7 10-Jun-2015 Chris Banes <chrisbanes@google.com> am d9f74f74: Merge "Ensure AppCompat can load it\'s theme before Activity.onCreate()" into lmp-mr1-ub-dev

* commit 'd9f74f74853b7c6b168b99579c6d8a9ae3f796d8':
Ensure AppCompat can load it's theme before Activity.onCreate()
96a9d498bc35b27ec24ae419ca9127e9fe3dbb7d 10-Jun-2015 Chris Banes <chrisbanes@google.com> am 0ef64908: Merge "Fix options list menu when Toolbar doesn\'t have items" into lmp-mr1-ub-dev

* commit '0ef64908166d67a58e073d36e783c775f6512b35':
Fix options list menu when Toolbar doesn't have items
8ea513e9946c461001d18d6999da77f8f40313a6 10-Jun-2015 Chris Banes <chrisbanes@google.com> am a29ef86d: Merge "Fix location for ActionMenuItemView cheat sheet" into lmp-mr1-ub-dev

* commit 'a29ef86d21de1c6e42f664043c4f338f20ffa57f':
Fix location for ActionMenuItemView cheat sheet
18037797371e1f7e10f63ecdca53888645441208 10-Jun-2015 Ian Lake <ilake@google.com> Merge "Ensure NotificationCompat.MediaStyle methods return MediaStyle" into lmp-mr1-ub-dev
7325cdad103472c460c1dd492ec9f9ac0df57d50 09-Jun-2015 Chris Banes <chrisbanes@google.com> API council review feedback for ActionMenuView - support edition

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: I4ba7f6bb5c94ea52bfc482590b9de620640bd8d5
nternal/view/SupportMenuInflater.java
nternal/view/menu/ActionMenuItem.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/widget/TintImageButton.java
nternal/widget/TintImageView.java
idget/ActionMenuPresenter.java
idget/ActionMenuView.java
idget/Toolbar.java
d9f74f74853b7c6b168b99579c6d8a9ae3f796d8 10-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure AppCompat can load it's theme before Activity.onCreate()" into lmp-mr1-ub-dev
eba6361c28fad482737765413aed1290da67f2da 08-Jun-2015 Chris Banes <chrisbanes@google.com> Add hasWindowFeature() to AppCompatDelegate

BUG: 17879624
Change-Id: I3d2aa9d542ae116fdbe9dd3673bd126f434946d0
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplV7.java
c7102743e3f30a50c4725c336b5f019f6e7b91c4 08-Jun-2015 Chris Banes <chrisbanes@google.com> Add hasWindowFeature() to AppCompatDelegate DO NOT MERGE

BUG: 17879624
Change-Id: I3d2aa9d542ae116fdbe9dd3673bd126f434946d0
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplV7.java
0ef64908166d67a58e073d36e783c775f6512b35 10-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Fix options list menu when Toolbar doesn't have items" into lmp-mr1-ub-dev
a29ef86d21de1c6e42f664043c4f338f20ffa57f 10-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Fix location for ActionMenuItemView cheat sheet" into lmp-mr1-ub-dev
924b73bd0744363c063dc75a879414680c9cbeb4 10-Jun-2015 Ian Lake <ilake@google.com> Ensure NotificationCompat.MediaStyle methods return MediaStyle

All other NotificationCompat Styles use a fluent style, returning
this to allow chaining methods together. Ensure that MediaStyle
methods follow the same pattern.

BUG: 21740373
Change-Id: If3c9be7c1c87b10bdb320f97d20eac6c3ffaeb7c
pp/NotificationCompat.java
1057e755a01e6eea7b6121e1272e78bb36bc3aab 10-Jun-2015 Chris Banes <chrisbanes@google.com> am 450f0f8c: Merge "Jump SwitchCompat to end state in jumpDrawablesToCurrentState()" into lmp-mr1-ub-dev

* commit '450f0f8c0e9501fd3a654247fc3841e09d7998d2':
Jump SwitchCompat to end state in jumpDrawablesToCurrentState()
8122ad54f129c2214631fad86cabda82815cc0d8 08-Jun-2015 Chris Banes <chrisbanes@google.com> Fix window decor Action Bar init

BUG: 21575069

Change-Id: I2e9919c36f221c968bc38c8d7ba4e476f41b45f7
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
88c0ac5649d6b82c882e2de4bc4f043b107a4428 02-Jun-2015 Chris Banes <chrisbanes@google.com> Move our Window flags handling closer to PhoneWindow

Fixes some issues around stack overflows for certain
flag combinations.

BUG: 21575069
Change-Id: I6f6c98863f7cfb4510cbeeb8a1be6e16c6de509f
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
6094d733a9bcc923491937532255f79eb23fab90 09-Jun-2015 Chris Banes <chrisbanes@google.com> Fix options list menu when Toolbar doesn't have items

When using a ToolbarActionBar, and there are 0 non-actions
items, it will return null in onCreatePanelView. This then
means that the 'window' will show it's list menu. As the
'window' doesn't know what is an action item or not,
it shows all items.

This CL fixes it by disabling the window list menu view
when a ToolbarActionBar is used. ToolbarActionBar's own
list menu view is unaffected.

BUG: 21718389
Change-Id: I8e8cb7915cc27abcf1e06a0ef09ac14129c4adce
pp/AppCompatDelegateImplV7.java
df71544bda1bce474389328ce24ce46bb4d96d1d 09-Jun-2015 Chris Banes <chrisbanes@google.com> Ensure AppCompat can load it's theme before Activity.onCreate()

There are situations where the content view can be set
in Activity.onCreate(), which is before AppCompat has had a chance
to load it's window features from the theme. This leads to a
AppCompat not knowing what decor to install, and throwing an
exception.

BUG: 21475077
Change-Id: I0e39398cb011965260fffdf08b660d937478e249
pp/AppCompatActivity.java
2f6f9480ddbe941a13c9c3da335caa1a022fa017 08-Jun-2015 Chris Banes <chrisbanes@google.com> Jump SwitchCompat to end state in jumpDrawablesToCurrentState()

BUG: 21459481
Change-Id: Ie1716615f9b76116af381cc4c1f83c83edcd08e4
idget/SwitchCompat.java
8b18135662bd0531adfd66d06cf203fc98f6188a 08-Jun-2015 Chris Banes <chrisbanes@google.com> Fix location for ActionMenuItemView cheat sheet

Currently handling does not take the screen position into
account.

BUG: 21690674
Change-Id: I3a5841ffd6c132266211f6f5c832ecee973a0345
nternal/view/menu/ActionMenuItemView.java
1282e55f13234e9275cd76d3e02559e1eabf12e3 08-Jun-2015 Chris Banes <chrisbanes@google.com> Fix window decor Action Bar init

BUG: 21575069

Change-Id: I2e9919c36f221c968bc38c8d7ba4e476f41b45f7
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
85d77caf73c0bfe957304951f94f88650a064efb 08-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Move our Window flags handling closer to PhoneWindow DO NOT MERGE" into lmp-mr1-ub-dev
c27d0a499183aeb0be1fb9b6ede7132228a64cf3 06-Jun-2015 Chris Banes <chrisbanes@google.com> am ceacdb3a: Fix list menu theme when using Toolbar as AB

* commit 'ceacdb3af2ceaaded8d27e0393483a7eef59aa17':
Fix list menu theme when using Toolbar as AB
ceacdb3af2ceaaded8d27e0393483a7eef59aa17 05-Jun-2015 Chris Banes <chrisbanes@google.com> Fix list menu theme when using Toolbar as AB

The list menu presenter theme now matches what you
would get from a decor Action Bar.

BUG: 21586666
Change-Id: Ie1f7634d0ffab90fdf5b4a8d5152b767d9ff1abb
nternal/app/ToolbarActionBar.java
559fa14454cc053127b3b96c0e63c48c06937e38 03-Jun-2015 Chris Banes <chrisbanes@google.com> Revert the previous fix for stealing KEYCODE_MENU

We now just steal those events if we can actually
handle them.

BUG: 20529185
Change-Id: I09119b9efcd24e15b39990a22a7da55257ebfd96
(cherry picked from commit a6624356b85f8a31c5d951c92ce39ef1070fd9db)
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
a6624356b85f8a31c5d951c92ce39ef1070fd9db 03-Jun-2015 Chris Banes <chrisbanes@google.com> Revert the previous fix for stealing KEYCODE_MENU DO NOT MERGE

We now just steal those events if we can actually
handle them.

BUG: 20529185
Change-Id: I09119b9efcd24e15b39990a22a7da55257ebfd96
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
0c4414fd7d27eef2a3545cb36db29070f8a3ea77 02-Jun-2015 Chris Banes <chrisbanes@google.com> Move our Window flags handling closer to PhoneWindow DO NOT MERGE

Fixes some issues around stack overflows for certain
flag combinations.

BUG: 21575069
Change-Id: I6f6c98863f7cfb4510cbeeb8a1be6e16c6de509f
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
15ad53853d367f5d593bb019d88fb613878fd8fc 14-May-2015 Chris Banes <chrisbanes@google.com> Theme.AppCompat.DayNight working back to API v14

This CL enables the use of -night and -notnight resource
qualifiers, and thus allowing Theme.AppCompat.DayNight
to work on those API levels.

TwilightCalculator and TwilightManager are simplified versions
of those internally in the framework. Since we don't want to
force the use of location permissions, we have a fallback of
hardcoded 'night' time.

BUG: 21119724

Change-Id: I48ff5f0ea0c02ba60d3c2979aa9fa2997080de37
pp/AppCompatActivity.java
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV14.java
pp/AppCompatDelegateImplV23.java
pp/AppCompatDialog.java
pp/TwilightCalculator.java
pp/TwilightManager.java
a08712cd8c537c68f5bb0c50c002304324b06763 22-May-2015 Wojciech Staszkiewicz <staszkiewicz@google.com> Remove StandardCharset usages from support v7 code

This is a fix removing StandardCharset references from
ActivityChooserModel, we cannot use it because it was introduced
in API 19 and we have to be compatible with API 7.

Change-Id: I96a6290fd4fa2bf0ab13fdfddc8caf9ed41e0eb2
nternal/widget/ActivityChooserModel.java
9887bd58aa2d49db919adab6b38b1da2ea6ba62e 19-May-2015 Chris Banes <chrisbanes@google.com> Merge commit 'd3d2b0f1' into manualmerge

Change-Id: I336180260d5d43f5fa739f13e1faee08f224931f
ee322d85233b857047ba629a2456adc0b0392b4b 19-May-2015 Chris Banes <chrisbanes@google.com> Fix windowActionBarOverlay

Caused by us using a new feature id, looks like
this check was missed.

BUG: 21167554
Change-Id: I7dcf2629a32a41e2800b26ad785ad53f0e08eab9
nternal/widget/ActionBarOverlayLayout.java
20680c49584c26f7818c2dec8fb00633af753e4a 19-May-2015 Chris Banes <chrisbanes@google.com> Allow FragmentActivity to hook in to Factory2 method

Since Activity will automatically install itself as a
private factory on HC+, we need to ensure that FragmentActivity
also hooks in as a Factory2. Currently, if FragmentActivity's
Factory is *not* called, the framework FragmentManager will
attempt to inflate a support Fragment and crash.

Also removed some AppCompat code which is now uneeded.

BUG: 21287184
Change-Id: Id163caa3ec46654e25706e58415d4aa7b0213dd1
pp/AppCompatDelegateImplV11.java
976b6a8c18550ace670e0410453741d11dafa474 15-May-2015 Ian Lake <ilake@google.com> Introduce NotificationCompat.MediaStyle DO NOT MERGE

Make Notification.MediaStyle available from v7 with the support
library. For versions prior ICS, the normal template is used, as
buttons within notifications weren't supported. From ICS to
Jellybean, a custom template is used which maches the platform one.
On Lollipop and later, the platform implementation is used.

Bug: 17425365
Change-Id: I6a44c8b325c0fb204e3043e1114c4a2c3276d78f
(cherry picked from commit 10d7d250bc41b21059a90095e8b693c9e7bc3bc3)
pp/NotificationCompat.java
nternal/app/NotificationCompatImpl21.java
nternal/app/NotificationCompatImplBase.java
c291e9cf854ce5e131e0cff9485b61703dfc132b 15-May-2015 Chris Banes <chrisbanes@google.com> am da4f4e9b: Merge "Re-add deprecated app:theme functionality" into lmp-mr1-ub-dev

* commit 'da4f4e9b73c2bd1b843d999e2b07ed71b0fc93df':
Re-add deprecated app:theme functionality
091b0f935e68ce9bfecc2422e60eada33fa3b09c 06-May-2015 Chris Banes <chrisbanes@google.com> AppCompatWidgets, now with added pixie dust.

This CL moves a lot of the internal code for apply background
tints to a central helper class. This allows us to have one place
to add/fix things. This has enabled an easier implementation of
reading the backgroundTint and backgroundTintMode attributes.

With that, our CompoundButton implementations have followed in
the same vain with a new helper class, reading of the new
buttonTint and buttonTintMode attributes, with a v4 shim to allow
dynamic setting.

Also tidied up the javadoc on each class too so that developers
know what they're getting from each class, and fixed an NPE in
the AutoCompleteTextView classes.

BUG: 19037149
BUG: 21102590

Change-Id: Ice097ed44e1253e5799bbe9ab30285912617b4dc
idget/AppCompatAutoCompleteTextView.java
idget/AppCompatBackgroundHelper.java
idget/AppCompatButton.java
idget/AppCompatCheckBox.java
idget/AppCompatCheckedTextView.java
idget/AppCompatCompoundButtonHelper.java
idget/AppCompatEditText.java
idget/AppCompatMultiAutoCompleteTextView.java
idget/AppCompatRadioButton.java
idget/AppCompatRatingBar.java
idget/AppCompatSpinner.java
idget/AppCompatTextHelper.java
idget/AppCompatTextView.java
484705a5e6fdc1f6ef746b822716a45f82652ab9 14-May-2015 Chris Banes <chrisbanes@google.com> Re-add deprecated app:theme functionality

BUG: 21128917
Change-Id: Ib922c8c9fe218859c8ca15d625ef58ec8d46fb56
pp/AppCompatDelegateImplV7.java
nternal/app/AppCompatViewInflater.java
2182d05354395b88b80d901ac11c132b2abbe1ad 14-May-2015 Chris Banes <chrisbanes@google.com> Merge "Update AppCompat styles to M framework" into mnc-dev
e00820637552c206f61427fada6b3e63d36d8496 14-May-2015 Chris Banes <chrisbanes@google.com> am 60355aff: Merge "Make sure we return consistent ActionMode instances" into lmp-mr1-ub-dev

* commit '60355aff7728301dc452369394f77c8ee756e153':
Make sure we return consistent ActionMode instances
b1131c6dfc9affe5751523f235878055cb699960 08-May-2015 Chris Banes <chrisbanes@google.com> Update AppCompat styles to M framework

This is a first pass. There's more to do but it's a good
start.

Change-Id: Ia090e12d77f7e439504eadc9052e7a6bfd109d20
nternal/widget/TintManager.java
069368f96a44e0bf4333247b7d0481414a9be7c0 13-May-2015 Chris Banes <chrisbanes@google.com> Revert "Update AppCompat styles to M framework"

This reverts commit a7487e720ee70afe573bb330952fe70ea1749408.

Change-Id: I37553c50e2e3c9276a8e851dda0467692f9293fd
nternal/widget/TintManager.java
a7487e720ee70afe573bb330952fe70ea1749408 08-May-2015 Chris Banes <chrisbanes@google.com> Update AppCompat styles to M framework

This is a first pass. There's more to do but it's a good
start.

Change-Id: I341f610ef4512c13915c2f1abdc750e6300f972f
nternal/widget/TintManager.java
9fbc1a39c60b3511ab8e939b905820ccd0c90d2c 13-May-2015 Wojciech Staszkiewicz <staszkiewicz@google.com> Merge "Pass charset to XmlPullParser.setInput instead of null" into mnc-dev
515e5121889e182cba12ce560493834470b8a42b 13-May-2015 Chris Banes <chrisbanes@google.com> Make sure we return consistent ActionMode instances

This CL ensures that we return consistent ActionMode
instances to modes started via the framework APIs. There
were two problems:

- We needed to let the Callback know about the original
wrapped mode.
- Seems to be an issue around equals() with the wrapper.
We've now moved to a loop with explicit == check, as an
easy fix.

BUG: 17642552
Change-Id: I1cd865a6b0f7f596af3c24ce962cbbb3e4fbca21
pp/AppCompatDelegateImplV14.java
nternal/view/SupportActionModeWrapper.java
e543dcde15d93b83877efc7af141384f2020b109 09-May-2015 Chris Banes <chrisbanes@google.com> am b22ded2e: Merge "Fix CheckBox and RadioButton pre-v21 drawable tint" into lmp-mr1-ub-dev

* commit 'b22ded2edc9d1197e35356e82ff3c58f24fe81c2':
Fix CheckBox and RadioButton pre-v21 drawable tint
3ca91282b3ef702cc2a8754f8baf756328397b91 09-May-2015 Chris Banes <chrisbanes@google.com> Merge "Replace Material text cursor with XML shape - AppCompat edition" into mnc-dev
e0ade69e70b1adc9c82f2a51c0ec8a2567857a01 08-May-2015 Wojciech Staszkiewicz <staszkiewicz@google.com> Pass charset to XmlPullParser.setInput instead of null

Passing null to XmlPullParser.setInput forces it to do additional
work, which can be easily avoided if we know the charset beforehand.

bug: b/20849543

Change-Id: Ia873ef5dbac2f28f9fee10b00c06b86f3df501c6
nternal/widget/ActivityChooserModel.java
1752dfd10e8242d6e017b3828c7d6e94f044691c 08-May-2015 Chris Banes <chrisbanes@google.com> Fix CheckBox and RadioButton pre-v21 drawable tint

They were previously a bit eager to show the activated
tint.

BUG: 20934571
Change-Id: Id1e9efc930a58d8fc63bbb5e4a9406c6c93d2141
nternal/widget/TintManager.java
d25af35061a9f20d59b25329d613c62c20184dad 04-May-2015 Chris Banes <chrisbanes@google.com> Window.Callback passthrough fixes

We currently do not proxy onMenuOpened or onPanelClosed
events to the Activity because we overload the FEATURE_ACTION_BAR
ID internally. From v11+, those methods in Activity do special
handling and try and init it's own Action Bar (which usually results
in a crash).

To fix this, we now use our own special feature IDs:
FEATURE_SUPPORT_ACTION_BAR and FEATURE_SUPPORT_ACTION_BAR_OVERLAY.
Meaning, we can now pass the calls through without the default impl
blowing up.

We still accept the normal window feature IDs for requestWindowFeature()
but we log an info message.

BUG: 20816353

Change-Id: Ieea6d451279469b9de7bd96a17e5338600fdf9d8
pp/ActionBar.java
pp/AppCompatActivity.java
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
nternal/app/ToolbarActionBar.java
f65da421a61773f1ce03550230dcd6f58cee54e9 08-May-2015 Chris Banes <chrisbanes@google.com> Replace Material text cursor with XML shape - AppCompat edition

Bug: 20754494
Change-Id: I043b559381a8041b6d991b7672e8a2746c99a393
nternal/widget/TintManager.java
e4b1545d40188f77f6423f96eee6f1688b4164a9 06-May-2015 Chris Banes <chrisbanes@google.com> Merge "Add AppCompatDialogFragment" into mnc-dev
77f512d399bf8e61b13e4dd8912a865ab55cfa27 06-May-2015 Chris Banes <chrisbanes@google.com> Merge "Make constructor accessible before calling - AppCompat + Design" into mnc-dev
172a94c580e111987830a352c50d76c7db504088 26-Apr-2015 Chris Banes <chrisbanes@google.com> Add AppCompatDialogFragment

Needed so that it calls the correct window request method

BUG: 20590925

Change-Id: I3bd1a5aed1a1206eb058486b99c05f4c082b0429
pp/AppCompatDialogFragment.java
0e4289d8af2b80828e4f68f77a9dbafa24319d48 05-May-2015 Chris Banes <chrisbanes@google.com> am 959ed6af: Merge "Add ViewCompat.isAttachedToWindow()" into lmp-mr1-ub-dev

* commit '959ed6af05f77e9924fc908176c733d6e3260c8e':
Add ViewCompat.isAttachedToWindow()
878384f1e6de7bd9196958224ced1ecfca3be6a7 05-May-2015 Chris Banes <chrisbanes@google.com> Make constructor accessible before calling - AppCompat + Design

ART fixed newInstance method's accessibility checks which means if
provided class/method is not accessible, we will crash.

This CL makes AppCompat + design lib call setAccessible(true) before
calling the constructor to avoid any issues after new ART is released.

Bug: 20824258
Change-Id: I2001bd7fc80713c7effe57bec2eff8622cceb0cc
nternal/view/SupportMenuInflater.java
ce611065e0a3f766381c7eee6106e24d9d58adc5 05-May-2015 Chris Banes <chrisbanes@google.com> am ce0734df: Merge "Don\'t inherit a parent\'s context if view is layout root" into lmp-mr1-ub-dev

* commit 'ce0734df1fffcd9c85530ae236a2a4aa7047ce7b':
Don't inherit a parent's context if view is layout root
23df28e8f2fa712aecb838ee2372531354e69afe 04-May-2015 Chris Banes <chrisbanes@google.com> am e68db207: Fix SearchView\'s AutoCompleteTextView default style

* commit 'e68db207928c55c3c4941aab5ed6ec9dccc3c8fc':
Fix SearchView's AutoCompleteTextView default style
f6610f183f0afe6e392dea804474f722d82083fd 04-May-2015 Chris Banes <chrisbanes@google.com> Add ViewCompat.isAttachedToWindow()

BUG: 20695142
Change-Id: Ibdff3d24721e9ed94de9c00813fe9528a734267d
pp/AppCompatDelegateImplV7.java
ce0734df1fffcd9c85530ae236a2a4aa7047ce7b 03-May-2015 Chris Banes <chrisbanes@google.com> Merge "Don't inherit a parent's context if view is layout root" into lmp-mr1-ub-dev
e68db207928c55c3c4941aab5ed6ec9dccc3c8fc 01-May-2015 Chris Banes <chrisbanes@google.com> Fix SearchView's AutoCompleteTextView default style

BUG: 20745011
Change-Id: If813808fedbd921a1f63068e51aa5f8af46cc8da
idget/SearchView.java
e183f2600fb31c69eceacc1c263cd56f12489a65 01-May-2015 Chris Banes <chrisbanes@google.com> Don't inherit a parent's context if view is layout root

Previously AppCompat would make an inflated view
inherit a parent's context, regardless of whether it
was the root view. This is different to the framework
functionality which only allows children to inherit.

BUG: 20695142

Change-Id: I9ec90654a08824f7ee64b73ba76bdc0ee3ea28fc
pp/AppCompatDelegateImplV7.java
nternal/app/AppCompatViewInflater.java
nternal/widget/ViewUtils.java
a4ddcfbaddd0ddd81f9ded800e2c786199019e52 01-May-2015 Chris Banes <chrisbanes@google.com> am 6b09aad7: Merge "Fix SearchView\'s hint selection - support edition" into lmp-mr1-ub-dev

* commit '6b09aad7f5533c9c02cc4447f8e5fc98986aa8d1':
Fix SearchView's hint selection - support edition
59d8f3515b8e21c4872ad40a44b102006792dda2 01-May-2015 Chris Banes <chrisbanes@google.com> am 556a65bc: Merge "Fix our pre-JB onPreparePanel() workaround" into lmp-mr1-ub-dev

* commit '556a65bcf38cb6197f018ff4700f822538758261':
Fix our pre-JB onPreparePanel() workaround
6b09aad7f5533c9c02cc4447f8e5fc98986aa8d1 30-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Fix SearchView's hint selection - support edition" into lmp-mr1-ub-dev
556a65bcf38cb6197f018ff4700f822538758261 30-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Fix our pre-JB onPreparePanel() workaround" into lmp-mr1-ub-dev
ecd75f2a7ec12bcbec7a9f0382cbd63b5c903188 27-Apr-2015 Chris Banes <chrisbanes@google.com> Fix SearchView's hint selection - support edition

As we know load a default hint via the default style,
the SearchableInfo's hint was never used. This CL
removes the hint from the style, and uses it manually,
if needed.

BUG: 20614122
Change-Id: I46967e8f74ec5a9bed49b276070cbd753aaa8331
idget/SearchView.java
32d1fe1ff2def78296ce2557f14ff4b94f2adfe3 29-Apr-2015 Chris Banes <chrisbanes@google.com> am b5d3d9e9: Merge "Ensure we wipe out our internal tinting if the background changes" into lmp-mr1-ub-dev

* commit 'b5d3d9e9b9b79683ccf6855d54c6550db090dd34':
Ensure we wipe out our internal tinting if the background changes
b5d3d9e9b9b79683ccf6855d54c6550db090dd34 29-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure we wipe out our internal tinting if the background changes" into lmp-mr1-ub-dev
2e1496346de0b512aaedb1d226e7cb9ef688e1e9 29-Apr-2015 Chris Banes <chrisbanes@google.com> am ba79f059: Fix getSupportActionBar() returning null for Toolbars

* commit 'ba79f0593a0f53d254b4e555c8702ed1d0435120':
Fix getSupportActionBar() returning null for Toolbars
ba79f0593a0f53d254b4e555c8702ed1d0435120 29-Apr-2015 Chris Banes <chrisbanes@google.com> Fix getSupportActionBar() returning null for Toolbars

Change-Id: I00d966f9de447c746355c5b820aecb3a49b6fde0
pp/AppCompatDelegateImplBase.java
4e411251159c965caccb3bf3727c2921d74f06c1 29-Apr-2015 Chris Banes <chrisbanes@google.com> Fix our pre-JB onPreparePanel() workaround

We now call Activity.onPreparePanel() as normal which
fixes FragmentActivity dispatching the call to it's
fragments.

BUG: 20680612
Change-Id: If9325b78e54f61c472284334133e0d29b3778f63
pp/AppCompatDelegateImplBase.java
nternal/view/menu/MenuBuilder.java
684dbfaf7105761b5a19a82e8273ed79d3b0641e 27-Apr-2015 Chris Banes <chrisbanes@google.com> Ensure we wipe out our internal tinting if the background changes

BUG: 20642147

Change-Id: I843d2aa3b73d460c7b6a3c3d980b9984489e9e8e
idget/AppCompatAutoCompleteTextView.java
idget/AppCompatButton.java
idget/AppCompatEditText.java
idget/AppCompatMultiAutoCompleteTextView.java
idget/AppCompatSpinner.java
f6bb5a36654838d8dd83864002ced5f441d3e2ee 28-Apr-2015 Chris Banes <chrisbanes@google.com> am b530834e: Merge "Fix AppCompatTextView not using the default style" into lmp-mr1-ub-dev

* commit 'b530834efc68655d32fa37808e0251edb4f183ae':
Fix AppCompatTextView not using the default style
e120656eaf98961d4550f6e4e970812839887b26 28-Apr-2015 Chris Banes <chrisbanes@google.com> Fix AppCompatTextView not using the default style

BUG: 20650691
Change-Id: If2aa6c641722bb9063f193c30b2cea3de8986286
idget/AppCompatTextView.java
9ce997cacea4174be69c927244e14b1eddb24192 28-Apr-2015 Chris Banes <chrisbanes@google.com> am 535c5737: Fix StackOverflowError if wrong theme features are enabled

* commit '535c5737ba868a622d7783d57f7078ab285717c0':
Fix StackOverflowError if wrong theme features are enabled
535c5737ba868a622d7783d57f7078ab285717c0 28-Apr-2015 Chris Banes <chrisbanes@google.com> Fix StackOverflowError if wrong theme features are enabled

BUG: 20650250
Change-Id: I2761c3184c5eb58f9c2383dc959728efd0002699
pp/AppCompatDelegateImplV7.java
b84a7b8485e5afa003080bc0cc49898019d9765d 28-Apr-2015 Chris Banes <chrisbanes@google.com> am 5ec61b42: Merge "Let the Activity/Dialog handle KeyEvents first" into lmp-mr1-ub-dev

* commit '5ec61b424dc658e52f65d40d05ee14b869c59374':
Let the Activity/Dialog handle KeyEvents first
5ec61b424dc658e52f65d40d05ee14b869c59374 28-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Let the Activity/Dialog handle KeyEvents first" into lmp-mr1-ub-dev
6b3b79ba1d58edad9b8e9246674af56cc34fce73 27-Apr-2015 Chris Banes <chrisbanes@google.com> am 8d2f1762: Merge "Don\'t allow an Action Bar to be created for floating windows" into lmp-mr1-ub-dev

* commit '8d2f17620af0015114d2a740b6cb9dfb6e88adfb':
Don't allow an Action Bar to be created for floating windows
3a174a144bec314767eddc9802b81b0ff075f7bd 27-Apr-2015 Chris Banes <chrisbanes@google.com> am d4914c83: Merge "More list menu improvements" into lmp-mr1-ub-dev

* commit 'd4914c8354c63135104d3ba70de7d86067fa9f25':
More list menu improvements
8d2f17620af0015114d2a740b6cb9dfb6e88adfb 27-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Don't allow an Action Bar to be created for floating windows" into lmp-mr1-ub-dev
a9279663ecb98b85bf95a5ba1ebc145756fc13a2 27-Apr-2015 Chris Banes <chrisbanes@google.com> Don't allow an Action Bar to be created for floating windows

BUG: 20624627
Change-Id: I9d3505b03d099ff8e09558094136094ad2e26213
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
nternal/app/WindowDecorActionBar.java
f57dafaf598bd6d328eef5d376c042a75ec878f5 27-Apr-2015 Chris Banes <chrisbanes@google.com> More list menu improvements

- Use AppCompat's AlertDialog for list menu.
Allows us to remove hack for Gingerbread
theming.
- Lighten the menu background to look more
like the overflow popup.

BUG: 20620677

Change-Id: I825eddf4c993e76646e682ec12027f3be3f1b943
nternal/view/menu/MenuDialogHelper.java
b5e38f5d9f0a126d5df513d7e4520f8b836b5b93 27-Apr-2015 Chris Banes <chrisbanes@google.com> am 0e2b903d: Merge "Remove a now uneeded hack for Toolbar theming" into lmp-mr1-ub-dev

* commit '0e2b903d4becf9032b4dfbff3c58d2296d20988b':
Remove a now uneeded hack for Toolbar theming
e68562a419ae9fdcd2505bbc146214e3ec1883b1 26-Apr-2015 Chris Banes <chrisbanes@google.com> Let the Activity/Dialog handle KeyEvents first

BUG: 20529185
Change-Id: I123aa7d206026c82984fb945f67f42bdf770ade9
pp/AppCompatDelegateImplBase.java
282b41afb218f7b7becd0a1c420ddd21fc14c3db 23-Apr-2015 Chris Banes <chrisbanes@google.com> Remove a now uneeded hack for Toolbar theming

We now read app:theme in the LayoutInflater.Factory
so this isn't needed.

Change-Id: I7934702451eb2067f9a2b1fdd048ff1f7eba9bb8
idget/Toolbar.java
f5829201b976fc650789accc22f325a2541ed478 13-Apr-2015 Chris Banes <chrisbanes@google.com> Action Mode fixes - M edition

- CABs from floating windows now display correctly
- We now let TYPE_FLOATING framework CABs through to
the window (when enabled)

BUG: 20171499
BUG: 20022929

Change-Id: I56b6f16ee62fc8f0f210da480ad1577863321470
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplV14.java
pp/AppCompatDelegateImplV23.java
pp/AppCompatDelegateImplV7.java
c8c7c5ec86268de9258caffb7f89a602ab158d81 16-Apr-2015 Chris Banes <chrisbanes@google.com> am 9dab3aa1: Merge "Action Mode fixes" into lmp-mr1-ub-dev

* commit '9dab3aa10c2484e84a6f22df55b95860f40cf350':
Action Mode fixes
547a80d347e0dc9751bbe3cf91f947477145bdba 13-Apr-2015 Chris Banes <chrisbanes@google.com> Action Mode fixes

- Added a switch to disable native CAB handling
- They now use the correct theme
- Using a better way to intercept framework CABs
- We now only intercept on v14+.

BUG: 20171499
BUG: 20022929
BUG: 20208108

Depends on Iacffdf908b98739770f13665732d7755b14b9a25

Change-Id: Ia64beb77ba0a08186e4cdea4544cd9880bf4a4d9
pp/AppCompatActivity.java
pp/AppCompatCallback.java
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV11.java
pp/AppCompatDelegateImplV14.java
pp/AppCompatDelegateImplV7.java
pp/AppCompatDialog.java
nternal/view/StandaloneActionMode.java
nternal/widget/NativeActionModeAwareLayout.java
10d7d250bc41b21059a90095e8b693c9e7bc3bc3 09-Mar-2015 Jorim Jaggi <jjaggi@google.com> Introduce NotificationCompat.MediaStyle

Make Notification.MediaStyle available from v7 with the support
library. For versions prior ICS, the normal template is used, as
buttons within notifications weren't supported. From ICS to
Jellybean, a custom template is used which maches the platform one.
On Lollipop and later, the platform implementation is used.

Bug: 17425365
Change-Id: I6a44c8b325c0fb204e3043e1114c4a2c3276d78f
pp/NotificationCompat.java
nternal/app/NotificationCompatImpl21.java
nternal/app/NotificationCompatImplBase.java
d29d697ef40ec109ecf149a2a9ed96818a1d9915 10-Apr-2015 Tim Kilbourn <tkilbourn@google.com> Add new onSearchRequested overload

Change-Id: I5a6ae1ebfce713c0057360abe04254404ffab24c
nternal/view/WindowCallbackWrapper.java
c005695ca3e01efb3c3486f5cb6bf1e7fb21995c 09-Apr-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for merge of 73a0c3c7 to master

Change-Id: I1652150b1499db455f1eee8d8743d2f7f7bb6fcc
a6a508b2296730ca6954aaebcca52a9962a5cb55 11-Mar-2015 Chris Banes <chrisbanes@google.com> AppBarLayout

There is still a few things missing for this, such as elevation
and fling support. I'll add these in a later CL.

Change-Id: Ie6d6d24a39a21bcd640f09c9da07ec2f6c1f4bb4
idget/Toolbar.java
78d43fdb32a21e535b42b416ce76ebef91d551ce 08-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Revert "Introduce NotificationCompat.MediaStyle""
76651ff7588ab266c87097b5610008d885b44090 08-Apr-2015 Jorim Jaggi <jjaggi@google.com> Revert "Introduce NotificationCompat.MediaStyle"

This reverts commit ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90.

Broke the SDK build.

Change-Id: I55d3a0d89799c2f253283df9789ee4abe54fc41f
pp/NotificationCompat.java
nternal/app/NotificationCompatImpl21.java
nternal/app/NotificationCompatImplBase.java
070a85911f4c4306f5b6f51aab9986abf827cccc 07-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Introduce NotificationCompat.MediaStyle"
ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90 09-Mar-2015 Jorim Jaggi <jjaggi@google.com> Introduce NotificationCompat.MediaStyle

Make Notification.MediaStyle available from v7 with the support
library. For versions prior ICS, the normal template is used, as
buttons within notifications weren't supported. From ICS to
Jellybean, a custom template is used which maches the platform one.
On Lollipop and later, the platform implementation is used.

Bug: 17425365
Change-Id: I854159991a6093b219d803036a74951c6437b6ff
pp/NotificationCompat.java
nternal/app/NotificationCompatImpl21.java
nternal/app/NotificationCompatImplBase.java
c7281c2860ed28ad3addfdeb14c6e2e20289507a 07-Apr-2015 Chris Banes <chrisbanes@google.com> am b300c7ca: Merge "Fix RatingBar with custom drawables" into lmp-mr1-ub-dev

* commit 'b300c7ca67e0998a8e79805dd0eb9e9abee38bd8':
Fix RatingBar with custom drawables
4ab820f4155444d20b37e105873775dd71907eef 31-Mar-2015 Chris Banes <chrisbanes@google.com> Fix RatingBar with custom drawables

We now only use our own tileify logic when we know
that the drawables come from AppCompat.

BUG: 20000273
Change-Id: I9f24949ec0772d6974a4b5e477eddf82b3ec0c6c
nternal/widget/TintManager.java
nternal/widget/TintTypedArray.java
idget/AppCompatRatingBar.java
5caf2eed342f4f87920a08edad1ee57fd6097863 30-Mar-2015 Tor Norbye <tnorbye@google.com> Merge "Annotate Toolbar and ActionMenuView with resource-type annotations"
28f254a903b76f5b52d29e2fdbef38ca7b6e0e20 26-Mar-2015 Chris Banes <chrisbanes@google.com> am dd557165: Fix AppCompatEditText\'s context wrapping

* commit 'dd5571652e2ea0eea4af8dbbf10304675d640e1a':
Fix AppCompatEditText's context wrapping
ce5fd1947050ee975f83e471faaefa580067bc26 26-Mar-2015 Chris Banes <chrisbanes@google.com> am fa4c72b6: Add compat nested scrolling support to ActionBarOverlayLayout

* commit 'fa4c72b658085b888c94688d6882e66eabc50e25':
Add compat nested scrolling support to ActionBarOverlayLayout
dd5571652e2ea0eea4af8dbbf10304675d640e1a 23-Mar-2015 Chris Banes <chrisbanes@google.com> Fix AppCompatEditText's context wrapping

BUG: 19867255
Change-Id: Ic0257b252b301c7eafb51076c45163ca954d984f
idget/AppCompatEditText.java
fa4c72b658085b888c94688d6882e66eabc50e25 20-Feb-2015 Chris Banes <chrisbanes@google.com> Add compat nested scrolling support to ActionBarOverlayLayout

Change-Id: Ie1d2ee1e32597acb187e8c22f3fd7de78212da09
nternal/widget/ActionBarOverlayLayout.java
f694ca99453213b7ce3c2a46e237209fcb5841cd 11-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate Toolbar and ActionMenuView with resource-type annotations

Change-Id: I0d9bb41aa55aab0c261c7aef900f1cfbafe4ecfa
idget/ActionMenuView.java
idget/Toolbar.java
32fa2860f8fa4f7535ef5244bb30f2b2fb78b23d 11-Mar-2015 Clara Bayarri <clarabayarri@google.com> Add new method implementation for Window.Callback

Preparation for API change in frameworks/base,
commit 2c3a4ddb2a1a3997e945ec5c5f88c1c8f29bea95

Change-Id: Ib15906ad8306837f41c3aaa2b3dc57407f97b857
nternal/view/WindowCallbackWrapper.java
c7159fc941ee867d65506bf0aeda6ffdb0252647 13-Mar-2015 Chris Banes <chrisbanes@google.com> am b95e66be: am 7b12fd9b: am 0bf08254: Merge "Fix Button touch feedback on Gingerbread" into lmp-mr1-ub-dev

* commit 'b95e66bee76eb069ddb38d13e77e72de24b54f56':
Fix Button touch feedback on Gingerbread
b95e66bee76eb069ddb38d13e77e72de24b54f56 13-Mar-2015 Chris Banes <chrisbanes@google.com> am 7b12fd9b: am 0bf08254: Merge "Fix Button touch feedback on Gingerbread" into lmp-mr1-ub-dev

* commit '7b12fd9b8e92d94a8b1625c0be2c92c3e1843891':
Fix Button touch feedback on Gingerbread
eb0d0c030a15e93f456cc1403fffb909c0ae4e66 12-Mar-2015 Chris Banes <chrisbanes@google.com> Fix Button touch feedback on Gingerbread

While there I also fixed the actual feedback color
so that it emulates RippleDrawable, by compositing
the ripple color over the button color.

BUG: 19711428
Change-Id: Ia3263940551d1f4d87bcdec1d6c9cdf6887a5256
nternal/widget/TintManager.java
68637fda1f21f74c35ad8e2e07f4905c2ef73fec 09-Mar-2015 Chris Banes <chrisbanes@google.com> am be6d8c58: am e4d0c9cf: am 132c4769: Merge "Fix AppCompat\'s Dialogs being larger than the framework impls" into lmp-mr1-ub-dev

* commit 'be6d8c58e63b644b379ccd470ea76077f3fec461':
Fix AppCompat's Dialogs being larger than the framework impls
be6d8c58e63b644b379ccd470ea76077f3fec461 09-Mar-2015 Chris Banes <chrisbanes@google.com> am e4d0c9cf: am 132c4769: Merge "Fix AppCompat\'s Dialogs being larger than the framework impls" into lmp-mr1-ub-dev

* commit 'e4d0c9cf9a2c89d4f5c7271f6833d8faa01f9ca8':
Fix AppCompat's Dialogs being larger than the framework impls
70acb0c19be3831a2080e4f902324de16bfbf62e 04-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate support library with @ColorInt, @CallSuper, etc

Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
pp/AppCompatActivity.java
idget/Toolbar.java
d8b7157eae680353a2821dca3c9e52b3aaf737a5 05-Mar-2015 Chris Banes <chrisbanes@google.com> Fix AppCompat's Dialogs being larger than the framework impls

Due to the fact that we measure at a lower level, so
we need to take padding higher in the hierarchy
into account.

BUG: 19509863
Change-Id: Icf0be74c2791383571b4d90e2d759e18139826da
pp/AppCompatDelegateImplV7.java
nternal/widget/ContentFrameLayout.java
a6b1406d668edabcfc6c73e6e18c80f0bea6ba8a 05-Mar-2015 Chris Banes <chrisbanes@google.com> am 6b795f79: am 39a2ebfb: am f324bdb8: Merge "Re-use state sets in TintManager" into lmp-mr1-ub-dev

* commit '6b795f79069e8e63befcb67a98e438677475a3b4':
Re-use state sets in TintManager
6b795f79069e8e63befcb67a98e438677475a3b4 05-Mar-2015 Chris Banes <chrisbanes@google.com> am 39a2ebfb: am f324bdb8: Merge "Re-use state sets in TintManager" into lmp-mr1-ub-dev

* commit '39a2ebfb89edfc33dfe72772ceef359495040338':
Re-use state sets in TintManager
bb1a62b3eed874aa47ea4763ac972902c77e988f 03-Mar-2015 Chris Banes <chrisbanes@google.com> Re-use state sets in TintManager

Stop littering the heap with small int[]s.

Change-Id: Idf6afadd5837ffe8d9f8ac2e1a962f72c61cf7ff
nternal/widget/ThemeUtils.java
nternal/widget/TintManager.java
467174b715b4b22868d407a80a930874464cb117 02-Mar-2015 Chris Banes <chrisbanes@google.com> am 0c46cf9c: am 09faf176: am 351428cd: Fix crash in AppCompat\'s background tinting

* commit '0c46cf9c2419063c14dfb3cb0772bfe2c646de09':
Fix crash in AppCompat's background tinting
0c46cf9c2419063c14dfb3cb0772bfe2c646de09 02-Mar-2015 Chris Banes <chrisbanes@google.com> am 09faf176: am 351428cd: Fix crash in AppCompat\'s background tinting

* commit '09faf176013a678130abe1d64291b365edcc302a':
Fix crash in AppCompat's background tinting
351428cd6e15e6d19fe48ce698c994ad3e6f0501 02-Mar-2015 Chris Banes <chrisbanes@google.com> Fix crash in AppCompat's background tinting

BUG: 19561949
Change-Id: Ib348b66d39f0c9723bb034d13876e0c56e65926f
idget/AppCompatAutoCompleteTextView.java
idget/AppCompatButton.java
idget/AppCompatEditText.java
idget/AppCompatMultiAutoCompleteTextView.java
idget/AppCompatSpinner.java
08b8453a77120d3336428b8d510759376afe9e4c 02-Mar-2015 Scott Kennedy <skennedy@google.com> am a7af78c2: am aa6e143b: am 94756719: Mark attrs @Nullable in Toolbar constructors

* commit 'a7af78c2c372249ef670072d9a43d4734c13b5cf':
Mark attrs @Nullable in Toolbar constructors
a7af78c2c372249ef670072d9a43d4734c13b5cf 02-Mar-2015 Scott Kennedy <skennedy@google.com> am aa6e143b: am 94756719: Mark attrs @Nullable in Toolbar constructors

* commit 'aa6e143ba85732f997933e0bc7c61ebd48ab64e2':
Mark attrs @Nullable in Toolbar constructors
94756719872ef2f4a60d59eb1e2169011312676b 02-Mar-2015 Scott Kennedy <skennedy@google.com> Mark attrs @Nullable in Toolbar constructors

Change-Id: I972392218debe491594d43c52d415940d645fb25
idget/Toolbar.java
c88bcc13910d9d1a0ddd077e7cb96f3d95bde76c 16-Feb-2015 Chris Banes <chrisbanes@google.com> MenuItem, navigation and overflow icon tinting - support edition

- iconTint and iconTintMode attrs for MenuItem, with
associated setters.
- navigationTint and navigationTintMode attrs for Toolbar
with associated setters.
- overflowTint and overflowTintMode attrs for Toolbar
with associated setters.

Depends on Ibd1fae7cdbc7a7c42809e52541fae5d8beb18e92

BUG: 18126050
BUG: 19148351
BUG: 19305408

Change-Id: I04e9ce376c925efe6f43e03e9627a9a83865dab8
raphics/drawable/DrawableUtils.java
nternal/view/SupportMenuInflater.java
nternal/view/menu/ActionMenuItem.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/widget/TintImageButton.java
nternal/widget/TintImageView.java
idget/ActionMenuPresenter.java
idget/ActionMenuView.java
idget/Toolbar.java
ef696150b0183f21556efb520158417cb9ac1c8c 26-Feb-2015 Chris Banes <chrisbanes@google.com> am 16ea2877: am bb928ef3: am fa912941: Workaround NPE on Android 2.1

* commit '16ea2877f2bcc29fae467d9d7a433772752310b5':
Workaround NPE on Android 2.1
16ea2877f2bcc29fae467d9d7a433772752310b5 26-Feb-2015 Chris Banes <chrisbanes@google.com> am bb928ef3: am fa912941: Workaround NPE on Android 2.1

* commit 'bb928ef31734dbf3b1bb6cdf71d5a4d9133bca74':
Workaround NPE on Android 2.1
fa91294114db5cfa43910d4d921fd06449192420 26-Feb-2015 Chris Banes <chrisbanes@google.com> Workaround NPE on Android 2.1

Caused by a bug in StateListDrawable which was fixed 2.2

BUG: 19448427

Change-Id: I1afb9d06fbac86a45e394fe7de93a737778fd428
nternal/widget/TintManager.java
idget/AppCompatCheckedTextView.java
8cc40d8a2e75d3333166d73181eb549cf549bee6 26-Feb-2015 Chris Banes <chrisbanes@google.com> am e28f88f9: am 4b0bc015: am 1c1b4c1a: Merge "Rename and move all of the tint widgets" into lmp-mr1-ub-dev

* commit 'e28f88f900762b608e659f4233d273f4a97918aa':
Rename and move all of the tint widgets
e28f88f900762b608e659f4233d273f4a97918aa 26-Feb-2015 Chris Banes <chrisbanes@google.com> am 4b0bc015: am 1c1b4c1a: Merge "Rename and move all of the tint widgets" into lmp-mr1-ub-dev

* commit '4b0bc01559e9607d933bf9b2800733d3e9b53539':
Rename and move all of the tint widgets
2cccf609662389d6a23dbc0711d5fb2e826e8c63 18-Feb-2015 Chris Banes <chrisbanes@google.com> Rename and move all of the tint widgets

They're public so shouldn't live in the internal package.
I've also stopped setting the setting the platform widget styles
(e.g. android:editTextStyle) and instead provide our own versions.
On Lollipop, we set these the default framework styles.

This fixes the times where the framework widgets are used but with
the untinted material style (e.g. Preferences).

BUG: 19407610
BUG: 19300319

Change-Id: I5dbdee240cbf28d4dc9b05f5c56b386d83b18df3
pp/AppCompatDelegateImplV7.java
nternal/app/AppCompatViewInflater.java
nternal/app/TintViewInflater.java
nternal/view/menu/ActionMenuItemView.java
nternal/widget/CompatTextView.java
nternal/widget/ScrollingTabContainerView.java
nternal/widget/ThemeUtils.java
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintButton.java
nternal/widget/TintCheckBox.java
nternal/widget/TintCheckedTextView.java
nternal/widget/TintContextWrapper.java
nternal/widget/TintEditText.java
nternal/widget/TintInfo.java
nternal/widget/TintManager.java
nternal/widget/TintMultiAutoCompleteTextView.java
nternal/widget/TintRadioButton.java
nternal/widget/TintRatingBar.java
nternal/widget/TintResources.java
nternal/widget/TintSpinner.java
idget/AppCompatAutoCompleteTextView.java
idget/AppCompatButton.java
idget/AppCompatCheckBox.java
idget/AppCompatCheckedTextView.java
idget/AppCompatEditText.java
idget/AppCompatMultiAutoCompleteTextView.java
idget/AppCompatRadioButton.java
idget/AppCompatRatingBar.java
idget/AppCompatSpinner.java
idget/AppCompatTextView.java
idget/SearchView.java
c3205d6b235da6679943640c889c9e70c4f798a5 24-Feb-2015 Scott Kennedy <skennedy@google.com> am 340ba5a0: am 4a43900c: am 4297ef0c: Merge "Mark some methods/parameters @Nullable" into lmp-mr1-ub-dev

* commit '340ba5a0b848c74d20bb316dc52dbcbfa6297b5c':
Mark some methods/parameters @Nullable
340ba5a0b848c74d20bb316dc52dbcbfa6297b5c 23-Feb-2015 Scott Kennedy <skennedy@google.com> am 4a43900c: am 4297ef0c: Merge "Mark some methods/parameters @Nullable" into lmp-mr1-ub-dev

* commit '4a43900ccadb3ab4fc34292b246a7d167bdf2450':
Mark some methods/parameters @Nullable
c861fd8b28b0b878ccc194ee6099b3b1bc4c3ae8 23-Feb-2015 Scott Kennedy <skennedy@google.com> Mark some methods/parameters @Nullable

These now match the corresponding classes in android.app.*

Change-Id: If20c32636a5e64a9a64dadb0001983bd2bd3b850
pp/AppCompatActivity.java
6ef36da40ea1fef642b55e340959ea2448bc6a60 20-Feb-2015 Chris Banes <chrisbanes@google.com> am e7d9c96e: am 96f36c50: am bc811bd8: Fix NPE in TintSpinner

* commit 'e7d9c96e58b8ce38fc230c8649fdd862ea790b78':
Fix NPE in TintSpinner
e7d9c96e58b8ce38fc230c8649fdd862ea790b78 20-Feb-2015 Chris Banes <chrisbanes@google.com> am 96f36c50: am bc811bd8: Fix NPE in TintSpinner

* commit '96f36c5048e50ebf036ffc00bb93e20e655e91a1':
Fix NPE in TintSpinner
bc811bd817e6a7bf16cf45d703f4a7d3963f7d12 20-Feb-2015 Chris Banes <chrisbanes@google.com> Fix NPE in TintSpinner

BUG: 19434162
Change-Id: I549d733f39e4c9da0d14030203cc33ad06efbc77
nternal/widget/TintSpinner.java
4ecd58d202b4c9217ddffcac4df3d563c1cdce96 20-Feb-2015 Chris Banes <chrisbanes@google.com> am 994399f7: am 6f2646b5: am c3365672: Merge "Add AppCompat AlertDialog" into lmp-mr1-ub-dev

* commit '994399f7a266ce7db5ee03bd9bfcfe041872ff63':
Add AppCompat AlertDialog
994399f7a266ce7db5ee03bd9bfcfe041872ff63 20-Feb-2015 Chris Banes <chrisbanes@google.com> am 6f2646b5: am c3365672: Merge "Add AppCompat AlertDialog" into lmp-mr1-ub-dev

* commit '6f2646b5417a2950b6336d3cb3e68d7577a8b55f':
Add AppCompat AlertDialog
c3365672ee81bc515194d70f4239f8946dfc0b22 20-Feb-2015 Chris Banes <chrisbanes@google.com> Merge "Add AppCompat AlertDialog" into lmp-mr1-ub-dev
595a197184dca59ad7d7d265121a8208e4abd2dc 18-Feb-2015 Chris Banes <chrisbanes@google.com> am 9a833cd2: am 86b663ef: am f9942101: Merge "Fix window insets when using overlay action bar" into lmp-mr1-ub-dev

* commit '9a833cd25fb03c275ed2e33d854bf3afe70f863c':
Fix window insets when using overlay action bar
b835d46f90d10400bafcd72b4c06b925f601a7c8 18-Feb-2015 Chris Banes <chrisbanes@google.com> am 88532a0a: am dc159aa5: am c51a1662: Merge "Improvements to AppCompat\'s tinting" into lmp-mr1-ub-dev

* commit '88532a0a735a74b3c870a56c99dc9002f8af6185':
Improvements to AppCompat's tinting
9a833cd25fb03c275ed2e33d854bf3afe70f863c 18-Feb-2015 Chris Banes <chrisbanes@google.com> am 86b663ef: am f9942101: Merge "Fix window insets when using overlay action bar" into lmp-mr1-ub-dev

* commit '86b663efca01a67d3cbb6e775fed6515beea75f8':
Fix window insets when using overlay action bar
88532a0a735a74b3c870a56c99dc9002f8af6185 18-Feb-2015 Chris Banes <chrisbanes@google.com> am dc159aa5: am c51a1662: Merge "Improvements to AppCompat\'s tinting" into lmp-mr1-ub-dev

* commit 'dc159aa5c13f422b4148ec49c72e41098b02a0d5':
Improvements to AppCompat's tinting
f99421018726b7b7b5bdac6dedd5b1602c2224fc 18-Feb-2015 Chris Banes <chrisbanes@google.com> Merge "Fix window insets when using overlay action bar" into lmp-mr1-ub-dev
cd6e77607caba0b3b26163791a361938afb8b9c5 17-Feb-2015 Chris Banes <chrisbanes@google.com> Improvements to AppCompat's tinting

- Fix Action Mode background not being tinted
- Use DrawableCompat's new tinting functionality
where we can.
- Added TintManager instance cache. Previously we
would create MANY instances per Context. Now we
only create one (by using a WeakHashMap).
- Refactor TintManager to be clearer
- Better memory usage in TintManager through
lazy loading.

BUG: 19403897

Change-Id: I28afa8151fbf6f74f15db962adf5f77dc36b5da3
nternal/app/WindowDecorActionBar.java
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintButton.java
nternal/widget/TintContextWrapper.java
nternal/widget/TintEditText.java
nternal/widget/TintManager.java
nternal/widget/TintMultiAutoCompleteTextView.java
nternal/widget/TintResources.java
nternal/widget/TintSpinner.java
nternal/widget/TintTypedArray.java
nternal/widget/ToolbarWidgetWrapper.java
ade8ff8ba125b7d370de9ef5033ccbe89b2a30cc 17-Feb-2015 Chris Banes <chrisbanes@google.com> Fix window insets when using overlay action bar

Regression from lmp-mr1.

BUG: 19403700
Change-Id: I61b9aba10baee372b4b63a52617d575480aef5e6
nternal/widget/ActionBarOverlayLayout.java
e85780427cf719a2564e9024aec185af5371f743 16-Feb-2015 Chris Banes <chrisbanes@google.com> am 83630ab4: am 4527e0ba: am bb2d663d: Merge "Make our CheckBox and RadioButton respect the drawable for padding" into lmp-mr1-ub-dev

* commit '83630ab40405d51f4b76695a32c5cb459fad1f3c':
Make our CheckBox and RadioButton respect the drawable for padding
83630ab40405d51f4b76695a32c5cb459fad1f3c 16-Feb-2015 Chris Banes <chrisbanes@google.com> am 4527e0ba: am bb2d663d: Merge "Make our CheckBox and RadioButton respect the drawable for padding" into lmp-mr1-ub-dev

* commit '4527e0ba1a6a34da8cb19ebf0916aa0d0a267b9f':
Make our CheckBox and RadioButton respect the drawable for padding
91fcb7588ef27ffdb5a221a401c05bb77aecc00e 18-Dec-2014 Chris Banes <chrisbanes@google.com> Make our CheckBox and RadioButton respect the drawable for padding

BUG: 18798219

Change-Id: Ic05d32de93521f5e93abcf6e89b18442a79b1787
nternal/widget/TintCheckBox.java
nternal/widget/TintRadioButton.java
5de8e28bc2689984820014d394329d8504ac7482 12-Feb-2015 Chris Banes <chrisbanes@google.com> am dbf051ac: am 2aeb0f42: Fixes to Button\'s disabled color

* commit 'dbf051acc897a76b4f24d332572b81fabc3a42aa':
Fixes to Button's disabled color
19eaf14cb3cca613f984a32be2fab2534427fb29 05-Feb-2015 Chris Banes <chrisbanes@google.com> Add AppCompat AlertDialog

Material themed, working back to API 7. Needed
because of AlertDialog's themes/styles are private.

BUG: 19192875

Change-Id: I4c6bf11be127c705389f0cb79df4a983d638f6f3
pp/AlertController.java
pp/AlertDialog.java
pp/AppCompatDelegateImplV7.java
nternal/widget/ContentFrameLayout.java
nternal/widget/DialogTitle.java
dbf051acc897a76b4f24d332572b81fabc3a42aa 12-Feb-2015 Chris Banes <chrisbanes@google.com> am 2aeb0f42: Fixes to Button\'s disabled color

* commit '2aeb0f4237bca35d7f650c3145354416306d4f7b':
Fixes to Button's disabled color
2aeb0f4237bca35d7f650c3145354416306d4f7b 06-Feb-2015 Chris Banes <chrisbanes@google.com> Fixes to Button's disabled color

- Use textColorSecondary for the disabled color
- Stop double applying disabledAlpha on Lollipop
- Moved some of TintManager's util methods to ThemeUtils

BUG: 19295863

Change-Id: Iea0637ae21863e657299614e95ee6feb07f6db71
nternal/widget/ThemeUtils.java
nternal/widget/TintButton.java
nternal/widget/TintManager.java
af634bb4d8005851277bc864e09e91092d91e65b 11-Feb-2015 Chris Banes <chrisbanes@google.com> am 90e8ee11: am 1ca8490e: Merge "Fix support Fragment inflation from layouts" into lmp-mr1-ub-dev

* commit '90e8ee110b5e7c5c9ee2d5758ffde546a6527206':
Fix support Fragment inflation from layouts
90e8ee110b5e7c5c9ee2d5758ffde546a6527206 11-Feb-2015 Chris Banes <chrisbanes@google.com> am 1ca8490e: Merge "Fix support Fragment inflation from layouts" into lmp-mr1-ub-dev

* commit '1ca8490e08847aa10666c6a24677ed29674cd345':
Fix support Fragment inflation from layouts
1ca8490e08847aa10666c6a24677ed29674cd345 11-Feb-2015 Chris Banes <chrisbanes@google.com> Merge "Fix support Fragment inflation from layouts" into lmp-mr1-ub-dev
0259d48e349fc577b3347a3d40b312f6702d9c10 11-Feb-2015 Chris Banes <chrisbanes@google.com> am d99a3fbf: am 35bef6e5: Fix CompatTextView allcaps on L

* commit 'd99a3fbf5ff77bd285ee1f3b531bcb2a25dc8299':
Fix CompatTextView allcaps on L
498356fea126122c3e3720a419969055cb889428 11-Feb-2015 Chris Banes <chrisbanes@google.com> Fix support Fragment inflation from layouts

Seems that the recent refactoring broke Fragment inflation.
The problem is that FragmentActivity needs it's onCreateView()
called on all API levels, rather than delegating to
Activity.onCreateView()

BUG: 19340311
Change-Id: Ifd45967e1def086a11203913fa1acb23e32191a2
pp/AppCompatDelegateImplV11.java
pp/AppCompatDelegateImplV7.java
d99a3fbf5ff77bd285ee1f3b531bcb2a25dc8299 11-Feb-2015 Chris Banes <chrisbanes@google.com> am 35bef6e5: Fix CompatTextView allcaps on L

* commit '35bef6e54d146df63a431ee559b2e966da8db059':
Fix CompatTextView allcaps on L
35bef6e54d146df63a431ee559b2e966da8db059 10-Feb-2015 Chris Banes <chrisbanes@google.com> Fix CompatTextView allcaps on L

Change-Id: Iada796950cbc225edb055949fcf11649898c5ae0
nternal/widget/CompatTextView.java
5caefee99f6e30629a87e42084958055083f87a1 10-Feb-2015 Chris Banes <chrisbanes@google.com> am fca3880e: am baf85744: Don\'t force ActionMenuItemView to use textAllCaps

* commit 'fca3880ed39f9858354f9300c2b2c5ae2c778548':
Don't force ActionMenuItemView to use textAllCaps
fca3880ed39f9858354f9300c2b2c5ae2c778548 10-Feb-2015 Chris Banes <chrisbanes@google.com> am baf85744: Don\'t force ActionMenuItemView to use textAllCaps

* commit 'baf857443f6e5fffd94c4627bfe064b2bf193514':
Don't force ActionMenuItemView to use textAllCaps
baf857443f6e5fffd94c4627bfe064b2bf193514 10-Feb-2015 Chris Banes <chrisbanes@google.com> Don't force ActionMenuItemView to use textAllCaps

BUG: 19320929
Change-Id: Icc43b91400234ea4109e608aca8ec2a22240b732
nternal/view/menu/ActionMenuItemView.java
eb590f85607a3316d3eed515bb3071de9c35275f 10-Feb-2015 Chris Banes <chrisbanes@google.com> am c90ef982: am e9b4baa6: Merge "Make ColorUtils public in support-v4" into lmp-mr1-ub-dev

* commit 'c90ef9821f0de0f672244f5d347b012e01cee63a':
Make ColorUtils public in support-v4
c90ef9821f0de0f672244f5d347b012e01cee63a 10-Feb-2015 Chris Banes <chrisbanes@google.com> am e9b4baa6: Merge "Make ColorUtils public in support-v4" into lmp-mr1-ub-dev

* commit 'e9b4baa653de6484afcc4a5e250e639e2becff38':
Make ColorUtils public in support-v4
711c3df64595e2404ff6aa642ee5303f510e1dcb 08-Feb-2015 Chris Banes <chrisbanes@google.com> Make ColorUtils public in support-v4

Migrate some of the other support libs to use it

Change-Id: If43fcb4bff988e222e3355e99a88f868e71fb958
nternal/widget/ThemeUtils.java
nternal/widget/TintManager.java
cccad7c6ad8e281494c4d7770a0841857673ba47 09-Feb-2015 Chris Banes <chrisbanes@google.com> am df251e14: am 7e82b999: Add tintable Drawables to support-v4

* commit 'df251e14f0d85fe784dbbb8852ff94786ce74bb0':
Add tintable Drawables to support-v4
df251e14f0d85fe784dbbb8852ff94786ce74bb0 09-Feb-2015 Chris Banes <chrisbanes@google.com> am 7e82b999: Add tintable Drawables to support-v4

* commit '7e82b99953680915596eaf0eb35927388e574ca8':
Add tintable Drawables to support-v4
7e82b99953680915596eaf0eb35927388e574ca8 27-Jan-2015 Chris Banes <chrisbanes@google.com> Add tintable Drawables to support-v4

Works by using AppCompat's tinting Drawbale wrapper
in support v4. I've also moved over AppCompat and
design lib to use DrawableCompat.

I've also added a workaround due to GradientDrawable
not supporting tinting of Lollipop.

Change-Id: Ifa178eae99207051bf72ba6b9f3148cdcbe1579f
raphics/drawable/DrawableWrapper.java
raphics/drawable/TintDrawableWrapper.java
nternal/widget/DrawableUtils.java
nternal/widget/TintManager.java
nternal/widget/TintRatingBar.java
59918087b031a194a9b5a123332aa3de35885951 06-Feb-2015 Chris Banes <chrisbanes@google.com> am 50297448: am 7e7ffedd: Merge "Ensure Buttons have a disabled text color state" into lmp-mr1-ub-dev

* commit '5029744816f25181c366c3b9a474731848524f84':
Ensure Buttons have a disabled text color state
9eeb20e99abdac385954a785383b10eba51908e1 06-Feb-2015 Chris Banes <chrisbanes@google.com> am a5f441b7: am 320c3e9f: New TabLayout

* commit 'a5f441b7d4d93da2adb4b48dab8ccb5d8457c63c':
New TabLayout
cc4217142c675fe81a3dde680bfc5dec2505f2d6 06-Feb-2015 Chris Banes <chrisbanes@google.com> am ebd2c61c: am e5cf164f: Merge "Fix SwitchCompat animating unnecessarily" into lmp-mr1-ub-dev

* commit 'ebd2c61c79556f856bf85e21e6b56a73fcb3e486':
Fix SwitchCompat animating unnecessarily
5029744816f25181c366c3b9a474731848524f84 06-Feb-2015 Chris Banes <chrisbanes@google.com> am 7e7ffedd: Merge "Ensure Buttons have a disabled text color state" into lmp-mr1-ub-dev

* commit '7e7ffedd3d9b4b806edd6c36615742287472359d':
Ensure Buttons have a disabled text color state
a5f441b7d4d93da2adb4b48dab8ccb5d8457c63c 06-Feb-2015 Chris Banes <chrisbanes@google.com> am 320c3e9f: New TabLayout

* commit '320c3e9fe1e100a5a7cda5dd217d2d1152d08b3f':
New TabLayout
ebd2c61c79556f856bf85e21e6b56a73fcb3e486 06-Feb-2015 Chris Banes <chrisbanes@google.com> am e5cf164f: Merge "Fix SwitchCompat animating unnecessarily" into lmp-mr1-ub-dev

* commit 'e5cf164f159f8ab73ece12a9e95ae774102c521e':
Fix SwitchCompat animating unnecessarily
7e7ffedd3d9b4b806edd6c36615742287472359d 06-Feb-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure Buttons have a disabled text color state" into lmp-mr1-ub-dev
320c3e9fe1e100a5a7cda5dd217d2d1152d08b3f 28-Jan-2015 Chris Banes <chrisbanes@google.com> New TabLayout

Change-Id: If8a0720ab759b80bcfce7fad645e5b2a8d6e7c3a
nternal/widget/CompatTextView.java
idget/SwitchCompat.java
a73cf65dff6d7fa58907e614f95e1d3679de0a79 04-Feb-2015 Chris Banes <chrisbanes@google.com> Ensure Buttons have a disabled text color state

BUG: 19252982
Change-Id: Iacb4416e01468678cb0997340128f19fe2015927
pp/AppCompatDelegateImplV7.java
nternal/app/TintViewInflater.java
nternal/widget/ThemeUtils.java
nternal/widget/TintButton.java
f91071ff037056101389f2cbfc5fadb0229a36a7 05-Feb-2015 Chris Banes <chrisbanes@google.com> Fix SwitchCompat animating unnecessarily

BUG: 19283952
Change-Id: I66f64d57505e3fa90f6c5395b356f457bb0f43ff
idget/SwitchCompat.java
4cea8e08bfcecf11f8ccdd874c36bf119f182ffb 04-Feb-2015 Chris Banes <chrisbanes@google.com> am f85ffcac: am 0f58401d: Add AppCompat specific windowNoTitle attribute

* commit 'f85ffcacbc031ef5f1321d513f9d0a26e914b498':
Add AppCompat specific windowNoTitle attribute
f85ffcacbc031ef5f1321d513f9d0a26e914b498 04-Feb-2015 Chris Banes <chrisbanes@google.com> am 0f58401d: Add AppCompat specific windowNoTitle attribute

* commit '0f58401dc72db8ea2a201e3c0220f6529f2a7b33':
Add AppCompat specific windowNoTitle attribute
0f58401dc72db8ea2a201e3c0220f6529f2a7b33 04-Feb-2015 Chris Banes <chrisbanes@google.com> Add AppCompat specific windowNoTitle attribute

More useful now that we support Dialogs. Also reworked
the sub decor code to match more closely to the framework.

BUG: 19194408
Change-Id: If48a338e583dddedfd620993aed92bca5e253781
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV7.java
fd108fa4315d35453ec35ba99b2a4284142cca5f 29-Jan-2015 Deepanshu Gupta <deepanshu@google.com> am 479a6aae: am 3576c4c7: am 10d69dc3: am 5ef36a93: am c5eb03a4: Change TintResources to a wrapper.

* commit '479a6aaebc26862d203362a56d71380f00b02fa6':
Change TintResources to a wrapper.
479a6aaebc26862d203362a56d71380f00b02fa6 29-Jan-2015 Deepanshu Gupta <deepanshu@google.com> am 3576c4c7: am 10d69dc3: am 5ef36a93: am c5eb03a4: Change TintResources to a wrapper.

* commit '3576c4c7de7995182439ab84c99718ab777e040a':
Change TintResources to a wrapper.
3576c4c7de7995182439ab84c99718ab777e040a 29-Jan-2015 Deepanshu Gupta <deepanshu@google.com> am 10d69dc3: am 5ef36a93: am c5eb03a4: Change TintResources to a wrapper.

* commit '10d69dc34dd2a4e02c3492123ac57de840c7769f':
Change TintResources to a wrapper.
10d69dc34dd2a4e02c3492123ac57de840c7769f 29-Jan-2015 Deepanshu Gupta <deepanshu@google.com> am 5ef36a93: am c5eb03a4: Change TintResources to a wrapper.

* commit '5ef36a9389e1174497f02d50766c6130bcdab861':
Change TintResources to a wrapper.
2f4016933835b50868f5f5aa05b3f4433990253d 28-Jan-2015 Chris Banes <chrisbanes@google.com> am a7dbcd49: am 6844a742: Merge "Fix NPE in ListPopupWindow when ListView has null selector" into lmp-mr1-ub-dev

* commit 'a7dbcd49a78e081f992417f721f2e82cb7dfe9f1':
Fix NPE in ListPopupWindow when ListView has null selector
a7dbcd49a78e081f992417f721f2e82cb7dfe9f1 28-Jan-2015 Chris Banes <chrisbanes@google.com> am 6844a742: Merge "Fix NPE in ListPopupWindow when ListView has null selector" into lmp-mr1-ub-dev

* commit '6844a742e592b1a9c11bd1b52058ff6c1b917f0d':
Fix NPE in ListPopupWindow when ListView has null selector
6844a742e592b1a9c11bd1b52058ff6c1b917f0d 28-Jan-2015 Chris Banes <chrisbanes@google.com> Merge "Fix NPE in ListPopupWindow when ListView has null selector" into lmp-mr1-ub-dev
b95eba2ff4309d6e32aafb5e11fba2c14c949680 28-Jan-2015 Chris Banes <chrisbanes@google.com> am 428d8f3c: am 74da077a: Merge "Tint the Editable text cursor" into lmp-mr1-ub-dev

* commit '428d8f3c95d521060413c8df73dc5751268d1180':
Tint the Editable text cursor
428d8f3c95d521060413c8df73dc5751268d1180 27-Jan-2015 Chris Banes <chrisbanes@google.com> am 74da077a: Merge "Tint the Editable text cursor" into lmp-mr1-ub-dev

* commit '74da077aa9563cec58722c0dbbc8c4a0b7ab320d':
Tint the Editable text cursor
74da077aa9563cec58722c0dbbc8c4a0b7ab320d 27-Jan-2015 Chris Banes <chrisbanes@google.com> Merge "Tint the Editable text cursor" into lmp-mr1-ub-dev
065fe5b9b48c7edee12fb5fcbf776b29a9ebd51e 26-Jan-2015 Chris Banes <chrisbanes@google.com> Fix NPE in ListPopupWindow when ListView has null selector

BUG: 19139744
Change-Id: Iafbe1bd873378b078b5284ff776a59f743210062
nternal/widget/ListViewCompat.java
911642499da7d796aa1e7c19178c3552a590f48b 23-Jan-2015 Chris Banes <chrisbanes@google.com> Tint the Editable text cursor

Required a bit of reworking of the tinting code
since EditText, etc fetches the cursor drawable directly
from Resources, which means that we need to make sure that
the View's Resources is a TintResources instance.

Change-Id: I43c4aa109d8b4df939b8c7c36233821e9faee67c
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintContextWrapper.java
nternal/widget/TintEditText.java
nternal/widget/TintManager.java
nternal/widget/TintMultiAutoCompleteTextView.java
nternal/widget/TintTypedArray.java
a3f7514a6dc54845de30cbee0253279e76fb72c4 26-Jan-2015 Chris Banes <chrisbanes@google.com> am 2ccb1350: am ec957eb4: Merge "Floating Action Button" into lmp-mr1-ub-dev

* commit '2ccb1350393621eaac6e179e7c6a8c92372f5eb9':
Floating Action Button
2ccb1350393621eaac6e179e7c6a8c92372f5eb9 26-Jan-2015 Chris Banes <chrisbanes@google.com> am ec957eb4: Merge "Floating Action Button" into lmp-mr1-ub-dev

* commit 'ec957eb456829ffbb898e7cef2e5ca06ee680505':
Floating Action Button
ec957eb456829ffbb898e7cef2e5ca06ee680505 26-Jan-2015 Chris Banes <chrisbanes@google.com> Merge "Floating Action Button" into lmp-mr1-ub-dev
d22c4eb90d92530a786d7b6b8ab754cd80835a7a 24-Jan-2015 Chris Banes <chrisbanes@google.com> am 2cf6e5d7: am 4a58bb72: Merge "Fix SwitchCompat\'s accessibility event class name" into lmp-mr1-ub-dev

* commit '2cf6e5d7a622548a5fca1f13fa25a1fc8d0049bc':
Fix SwitchCompat's accessibility event class name
2cf6e5d7a622548a5fca1f13fa25a1fc8d0049bc 23-Jan-2015 Chris Banes <chrisbanes@google.com> am 4a58bb72: Merge "Fix SwitchCompat\'s accessibility event class name" into lmp-mr1-ub-dev

* commit '4a58bb72b3d011d7df3d177c531e760d2811a4d2':
Fix SwitchCompat's accessibility event class name
02248b49c7c3a1f70da09af61fc9c6c550665e06 23-Jan-2015 Chris Banes <chrisbanes@google.com> am dd0cb755: am 130e90d9: Merge "Ensure we dismiss the options menu on item click" into lmp-mr1-ub-dev

* commit 'dd0cb755ff19d48bc18589a7d802af790f879948':
Ensure we dismiss the options menu on item click
4a58bb72b3d011d7df3d177c531e760d2811a4d2 23-Jan-2015 Chris Banes <chrisbanes@google.com> Merge "Fix SwitchCompat's accessibility event class name" into lmp-mr1-ub-dev
dd0cb755ff19d48bc18589a7d802af790f879948 23-Jan-2015 Chris Banes <chrisbanes@google.com> am 130e90d9: Merge "Ensure we dismiss the options menu on item click" into lmp-mr1-ub-dev

* commit '130e90d992c79ee1617083b912476cbfb20bc615':
Ensure we dismiss the options menu on item click
befecd646c6b7249ee9894ee2c21a5965bb33cff 23-Jan-2015 Chris Banes <chrisbanes@google.com> Fix SwitchCompat's accessibility event class name

BUG: 19110477
Change-Id: I88a1db8c92364d70ec22b4ade965295ee943baeb
idget/SwitchCompat.java
436e191f80e197712dd1a7f1f7c61acfff8b1f04 22-Jan-2015 Chris Banes <chrisbanes@google.com> Ensure we dismiss the options menu on item click

BUG: 19104258
Change-Id: I72937d5882c5a476ea1688b1b8564e356271ef1f
pp/AppCompatDelegateImplV7.java
nternal/app/ToolbarActionBar.java
9840efe3dbdc7026521da8576574c55120782f6c 06-Jan-2015 Chris Banes <chrisbanes@google.com> Floating Action Button

Includes a tweaked ShadowDrawableWrapper which supports
circular shapes. FloatingActionButton also support a
internal StateListAnimator for pre-Lollipop.

Change-Id: Ia88c28c2ab0da0779f1092495e3a417969cb1d2a
raphics/drawable/DrawableWrapper.java
raphics/drawable/TintDrawableWrapper.java
nternal/widget/DrawableUtils.java
nternal/widget/DrawableWrapper.java
nternal/widget/ListViewCompat.java
nternal/widget/TintDrawableWrapper.java
nternal/widget/TintManager.java
nternal/widget/TintRatingBar.java
c5eb03a474fdacad3f50223914fb9a8fbcf93a9b 20-Jan-2015 Deepanshu Gupta <deepanshu@google.com> Change TintResources to a wrapper.

Chage TintResources to delegate calls to the resource object passed,
instead of creating another one. This enables LayoutLib to continue to
intercept calls to get various resources.

Change-Id: Ib52232e6363811ba600fde438c70cd8630890f3f
nternal/widget/ResourcesWrapper.java
nternal/widget/TintResources.java
4627131379fb63e43c80743ccb32acbf8dbca629 21-Jan-2015 Chris Banes <chrisbanes@google.com> am f0678cec: am f98f9f87: Merge "Fix NPE in ActionMenuView when there isn\'t a presenter" into lmp-mr1-ub-dev

* commit 'f0678cec2630a9226113fc69dbe3926e852d1853':
Fix NPE in ActionMenuView when there isn't a presenter
f0678cec2630a9226113fc69dbe3926e852d1853 21-Jan-2015 Chris Banes <chrisbanes@google.com> am f98f9f87: Merge "Fix NPE in ActionMenuView when there isn\'t a presenter" into lmp-mr1-ub-dev

* commit 'f98f9f8786820b0e71543bb506521e4566aeba35':
Fix NPE in ActionMenuView when there isn't a presenter
1f7be3e1e4ba20e32c479d50d4ca66252b7c0969 19-Jan-2015 Chris Banes <chrisbanes@google.com> Fix NPE in ActionMenuView when there isn't a presenter

BUG: 19060917
Change-Id: I8a1c8d44a3bb5cd02b767046db79f919dfdd9187
idget/ActionMenuView.java
72779f9301825e49e1497e872dfee8eadbf639aa 14-Jan-2015 Chris Banes <chrisbanes@google.com> am ba9601b1: am e69e62dc: Fix doc build break

* commit 'ba9601b16aaed6e1bef7f7c35fc5d59810f658e7':
Fix doc build break
ba9601b16aaed6e1bef7f7c35fc5d59810f658e7 14-Jan-2015 Chris Banes <chrisbanes@google.com> am e69e62dc: Fix doc build break

* commit 'e69e62dce87f48a33807b80e1a2cacbbfade5656':
Fix doc build break
e69e62dce87f48a33807b80e1a2cacbbfade5656 13-Jan-2015 Chris Banes <chrisbanes@google.com> Fix doc build break

Must have missed this while rebasing a previous CL

Change-Id: I0a23b7294621b8fba804579b7b922e9729a0e4d6
pp/AppCompatDelegate.java
60bca2785e71d69af701e506c67d9d7c99b861c6 13-Jan-2015 Chris Banes <chrisbanes@google.com> am 484adcfe: am 16e8d4dd: Material Dialog themes

* commit '484adcfe859b4a37bf0cb22fffc74f14e295a500':
Material Dialog themes
c53a60abacc635d7a90cf820aacabaf18d9f4c0d 13-Jan-2015 Chris Banes <chrisbanes@google.com> am 440f0d89: am f3ad1351: Refactor AppCompat\'s Activity structure

* commit '440f0d89b57062d8437437617a810a011fd32d4d':
Refactor AppCompat's Activity structure
484adcfe859b4a37bf0cb22fffc74f14e295a500 13-Jan-2015 Chris Banes <chrisbanes@google.com> am 16e8d4dd: Material Dialog themes

* commit '16e8d4dd91083260223c007c797e46bc8f631055':
Material Dialog themes
16e8d4dd91083260223c007c797e46bc8f631055 23-Dec-2014 Chris Banes <chrisbanes@google.com> Material Dialog themes

Lots of changes needed for this, building upon the
refactoring CL. AppCompatDelegate can now handle Dialogs
as well as Activitys (which was easy after the refactor).

This was needed so that we can install a custom decor
for Dialogs.

Also added borderless button styles as they were
needed for Dialogs.

Change-Id: I88a7e4de5de85477982e401c832aeae732f81647
pp/AppCompatActivity.java
pp/AppCompatActivityCallback.java
pp/AppCompatCallback.java
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV11.java
pp/AppCompatDelegateImplV7.java
pp/AppCompatDialog.java
nternal/widget/TintManager.java
440f0d89b57062d8437437617a810a011fd32d4d 13-Jan-2015 Chris Banes <chrisbanes@google.com> am f3ad1351: Refactor AppCompat\'s Activity structure

* commit 'f3ad1351d8b40ec5defe35e79d3430ad3c384b6d':
Refactor AppCompat's Activity structure
f3ad1351d8b40ec5defe35e79d3430ad3c384b6d 27-Nov-2014 Chris Banes <chrisbanes@google.com> Refactor AppCompat's Activity structure

- The activity delegates now have a public abstract class
called AppCompatDelegate. Any Activity can create one,
but they must call through to the delegate at certain
lifecycle methods.
- Related, I've reduced the number of manual lifecycle
calls needed by using Window.Callback where possible.
- Activities can implement the the new AppCompatActivityCallback
interface to receive certain callbacks.
- AppCompatActivity does all of this automatically
- ActionBarActivity is now a deprecated alias for AppCompatActivity
- Removed support for the v4 Drawer Toggle
- Remove our internal callback in favor of using Window.Callback
directly

BUG: 18547959

Change-Id: I8ece4372fa2abbc5b5246544643fafe0e22874be
pp/ActionBar.java
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarDrawerToggle.java
pp/AppCompatActivity.java
pp/AppCompatActivityCallback.java
pp/AppCompatDelegate.java
pp/AppCompatDelegateImplBase.java
pp/AppCompatDelegateImplV11.java
pp/AppCompatDelegateImplV7.java
nternal/app/ToolbarActionBar.java
nternal/app/WindowCallback.java
nternal/app/WindowDecorActionBar.java
nternal/view/WindowCallbackWrapper.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/DecorContentParent.java
nternal/widget/DecorToolbar.java
nternal/widget/ToolbarWidgetWrapper.java
iew/ActionMode.java
idget/Toolbar.java
idget/WindowCallbackWrapper.java
f07b726080b86e9d014e3e25cda2b93af97c27ed 10-Jan-2015 Chris Banes <chrisbanes@google.com> am d6859116: am 7aab358a: Merge "Honor app:theme in Toolbar on Lollipop" into lmp-mr1-ub-dev

* commit 'd685911692e91b39a25a27ddc623b405686bb9f9':
Honor app:theme in Toolbar on Lollipop
d685911692e91b39a25a27ddc623b405686bb9f9 10-Jan-2015 Chris Banes <chrisbanes@google.com> am 7aab358a: Merge "Honor app:theme in Toolbar on Lollipop" into lmp-mr1-ub-dev

* commit '7aab358a7133b4f2ff89175a8cf58626476807f3':
Honor app:theme in Toolbar on Lollipop
6f2135232bf216d194b049265f0b92f69e74c241 09-Jan-2015 Chris Banes <chrisbanes@google.com> Honor app:theme in Toolbar on Lollipop

With the change to use android:theme in AppCompat, there
was a small regression when using app:theme on Toolbar on L+.

This CL manually themifies the context so that we don't
break apps which only use app:theme when running on >= Lollipop.

Also added a Log statement telling devs that app:theme is deprecated.

Change-Id: Ib98f7c5b8b28d79c7b302a923fb198d8068035ca
nternal/app/TintViewInflater.java
nternal/widget/ViewUtils.java
idget/Toolbar.java
44918a92e1d66a01a03063e2c5e68b2570f64b03 08-Jan-2015 Chris Banes <chrisbanes@google.com> Use the new PopupWindow overlap anchor methods

Allows developers to set one style attribute and AppCompat
will then forward it on to the framework impl.

BUG: 18245054
Change-Id: I3cf2e2224d0420e80342e162ad01be1fb4f3cc18
nternal/view/menu/MenuPopupHelper.java
nternal/widget/AppCompatPopupWindow.java
idget/PopupMenu.java
f40acf8f58c7870f776786e7985d5da29dc33d12 08-Jan-2015 Chris Banes <chrisbanes@google.com> am a0db5d93: Merge "Fix crash on pasting text in a WebView" into lmp-mr1-ub-dev

* commit 'a0db5d93ddc82b3189fed5f96d00cba3a68f0d70':
Fix crash on pasting text in a WebView
789b52d8f8ad5c54d398fb540408c7e0110488b4 07-Jan-2015 Chris Banes <chrisbanes@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: I03b5be7ed60eaac79c55d0e12b461bff2b1053ed
nternal/app/WindowDecorActionBar.java
01dc84d257ad9f55866b5345d694d3a23401a480 24-Dec-2014 Chris Banes <chrisbanes@google.com> am 3040adc6: Fix Window Insets for certain SYSTEM_UI flags

* commit '3040adc60c191aca58e34a01428db628604924c5':
Fix Window Insets for certain SYSTEM_UI flags
3040adc60c191aca58e34a01428db628604924c5 18-Nov-2014 Chris Banes <chrisbanes@google.com> Fix Window Insets for certain SYSTEM_UI flags

This is caused by the actual Window's decor
intercepting the window insets and applying them
itself. This means that we no longer need to handle
the insets ourselves in certain instances.

BUG: 18052816

Change-Id: I857d4d31ba4c9240aa094fb2aa314d1842fb7cb8
pp/ActionBarActivityDelegateBase.java
nternal/widget/ActionBarOverlayLayout.java
78bdf29512ecb751cc44646030317882763fd0b9 18-Dec-2014 Chris Banes <chrisbanes@google.com> am 3a17fd72: Merge "Move tinted background Drawable handling to the View level" into lmp-mr1-ub-dev

* commit '3a17fd725eb3484a8bda9a033581d1ba92a669d3':
Move tinted background Drawable handling to the View level
3a17fd725eb3484a8bda9a033581d1ba92a669d3 18-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Move tinted background Drawable handling to the View level" into lmp-mr1-ub-dev
a5f106fbd09335ae504c39b1ee1e0caa3f1238e3 16-Dec-2014 Chris Banes <chrisbanes@google.com> Move tinted background Drawable handling to the View level

This allows us to workaround an issue where setting a background
will wipe out all user specified padding. Instead, let the View
use it's own Drawable and handle the tint state changes.

BUG: 17810829
Change-Id: Ic94a4359e76c0a2e8066a0ed3b286d966d4b4178
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintButton.java
nternal/widget/TintEditText.java
nternal/widget/TintInfo.java
nternal/widget/TintManager.java
nternal/widget/TintMultiAutoCompleteTextView.java
nternal/widget/TintSpinner.java
694bc5e24a3b64208352c13bc31ebd706c46e734 17-Dec-2014 Chris Banes <chrisbanes@google.com> am f42d05db: Merge "Wrap PopupWindow\'s OnScrollChangedListener for pre-ICS" into lmp-mr1-ub-dev

* commit 'f42d05db63f93a33566d614a104352b39ea89001':
Wrap PopupWindow's OnScrollChangedListener for pre-ICS
45266b3d81b349b34c5b8adb99e007d3c5b57d28 15-Dec-2014 Chris Banes <chrisbanes@google.com> Wrap PopupWindow's OnScrollChangedListener for pre-ICS

BUG: 18750183
Change-Id: I9e55148019b6e5d2af106e54a809786019e791b6
nternal/widget/AppCompatPopupWindow.java
3fce5d9bb089510def6d6883ae2fc03ff23a6005 12-Dec-2014 Chris Banes <chrisbanes@google.com> am 721cf1bd: Merge "Fix DarkActionBar on HTC-Sense" into lmp-mr1-ub-dev

* commit '721cf1bd4219ba2cdf1b993178bd07e21d2447ae':
Fix DarkActionBar on HTC-Sense
497cc0a7ecf18bf4e8b953495ad27f4a901cc89f 12-Dec-2014 Chris Banes <chrisbanes@google.com> am e3268c92: Merge "SwitchCompat fixes and tweaks" into lmp-mr1-ub-dev

* commit 'e3268c92db62b77ce14adba72d865aec6a2f3c52':
SwitchCompat fixes and tweaks
721cf1bd4219ba2cdf1b993178bd07e21d2447ae 12-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Fix DarkActionBar on HTC-Sense" into lmp-mr1-ub-dev
878ed08a784cafb112a5d350573b0d1e81c554db 11-Dec-2014 Chris Banes <chrisbanes@google.com> Fix DarkActionBar on HTC-Sense

Seems that HTC have changed ContextThemeWrapper, which results
in us modifying the Activity's theme unintentionally. We fix
this by using our own ContextThemeWrapper impl.

Also fixed views inheriting the sub decor's context.

BUG: 18714638
Change-Id: Iea30757e1521f50bc6fb5171e531d183626a8579
pp/ActionBarActivityDelegateBase.java
nternal/app/TintViewInflater.java
nternal/view/ContextThemeWrapper.java
nternal/widget/ViewUtils.java
414f52397a88d52a783a31d4c098bc3bec632b8d 11-Dec-2014 Chris Banes <chrisbanes@google.com> SwitchCompat fixes and tweaks

- Fixed SwitchCompat color handling so that it
matches the framework
- Backported some small updates to Switch
- On v18+ we now use the thumb's optical bounds
(through reflection... eugh)
- Added some padding pre-v18 since we can't
use the thumb's optical bounds

BUG: 18701057
Change-Id: I80cf11c79ac5b85b179436bf18406c3289d85cf8
nternal/widget/DrawableUtils.java
nternal/widget/TintManager.java
idget/SwitchCompat.java
3c2bd3641e2cf7b26ef75db4d89aa4b4a034e7ef 10-Dec-2014 Chris Banes <chrisbanes@google.com> am 2875857c: Merge "Add focused & disabled states for spinner assets" into lmp-mr1-ub-dev

* commit '2875857c9c4a71b27155b93a9ff35945390fe88f':
Add focused & disabled states for spinner assets
5b37a3ed8da9f309342fa6f92fab6ba4669e3258 10-Dec-2014 Chris Banes <chrisbanes@google.com> am 14cec9e7: Merge "Let host view handle long-press when using drag-to-open" into lmp-mr1-ub-dev

* commit '14cec9e7407d5f97b97ebf631aab35eafa9d0b10':
Let host view handle long-press when using drag-to-open
dd58df85f4c3cc5d28ea579da87b6bf6ab07f575 10-Dec-2014 Chris Banes <chrisbanes@google.com> am 05f6adf8: Merge "Fix regression, don\'t NPE if Switch doesn\'t have a thumb set" into lmp-mr1-ub-dev

* commit '05f6adf83306e9ffe48cc26ed5320ed04776c48a':
Fix regression, don't NPE if Switch doesn't have a thumb set
6582f25654f6a4e9433bab2d3ef64888114fdf4f 10-Dec-2014 Chris Banes <chrisbanes@google.com> am 90a8004d: Merge "Don\'t overwrite Toolbar\'s icon with the Action Bar style" into lmp-mr1-ub-dev

* commit '90a8004d41ceec9ae480516069c9b9d2c90d0f31':
Don't overwrite Toolbar's icon with the Action Bar style
2875857c9c4a71b27155b93a9ff35945390fe88f 10-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Add focused & disabled states for spinner assets" into lmp-mr1-ub-dev
14cec9e7407d5f97b97ebf631aab35eafa9d0b10 10-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Let host view handle long-press when using drag-to-open" into lmp-mr1-ub-dev
05f6adf83306e9ffe48cc26ed5320ed04776c48a 10-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Fix regression, don't NPE if Switch doesn't have a thumb set" into lmp-mr1-ub-dev
90a8004d41ceec9ae480516069c9b9d2c90d0f31 10-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Don't overwrite Toolbar's icon with the Action Bar style" into lmp-mr1-ub-dev
cdd1b1d70cefeb052c2b506738b396f2f982e519 09-Dec-2014 Chris Banes <chrisbanes@google.com> Add focused & disabled states for spinner assets

BUG: 18669124
Change-Id: I1d9fc21f94565e04bb5b94e52318b5392bf2ee3f
nternal/widget/TintManager.java
2e6d6fa1e0a40effd667bd077664bc0352c697dd 09-Dec-2014 Chris Banes <chrisbanes@google.com> am 94ef1b84: Merge "Various updates to match spec:" into lmp-mr1-ub-dev

* commit '94ef1b84ee40e92f6f44bbdb7013f9b5c3aa4263':
Various updates to match spec:
5c32deca939706fc08ef8c296da3d8da36efe85d 09-Dec-2014 Chris Banes <chrisbanes@google.com> am 81bb37cf: Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-ub-dev

* commit '81bb37cf541e61512aa203aa3bab44091016b5b3':
Remove underline and search icon from ActionBar search view
1dd5b8868bb5dab843e9bb6c811c3290a50f73de 09-Dec-2014 Chris Banes <chrisbanes@google.com> am 23fec74b: Merge "Fix several small layout and color issues" into lmp-mr1-ub-dev

* commit '23fec74b816e5d22cea113023c085d5fc47b04ac':
Fix several small layout and color issues
2ff9b34295ed3cc30e67bc8c4904a5c3ffcf47c6 09-Dec-2014 Chris Banes <chrisbanes@google.com> Let host view handle long-press when using drag-to-open

BUG: 18605860
Change-Id: If8b6ea65dafedbae58dac6e5d198d30543417840
idget/ListPopupWindow.java
af34a5378411bd76e8fd45a2bf23d17ccc19aae1 09-Dec-2014 Chris Banes <chrisbanes@google.com> Fix regression, don't NPE if Switch doesn't have a thumb set

AppCompat edition

BUG: 18670202
Change-Id: I18b608abf16b2f7458cd3e0c2cc686cfcf85343f
idget/SwitchCompat.java
94ef1b84ee40e92f6f44bbdb7013f9b5c3aa4263 09-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Various updates to match spec:" into lmp-mr1-ub-dev
81bb37cf541e61512aa203aa3bab44091016b5b3 09-Dec-2014 Chris Banes <chrisbanes@google.com> Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-ub-dev
3798ea29657ed5029b5fd0a5b815a2ab0c75b4d5 09-Dec-2014 Chris Banes <chrisbanes@google.com> am 8f0f2302: Merge "Backport android:theme functionality for all Views" into lmp-mr1-ub-dev

* commit '8f0f230229fd09c3c066d1ff90d8954d8fece6da':
Backport android:theme functionality for all Views
a8780d0cb9eb258569d7fc70749c08b5ce9a8c93 25-Nov-2014 Chris Banes <chrisbanes@google.com> Don't overwrite Toolbar's icon with the Action Bar style

BUG: 18440924
Change-Id: I74dc6e2daef8aa124860a979bc259e569e0e11f0
nternal/widget/ToolbarWidgetWrapper.java
3ea3afda655bba4afe574d17a458eafaa74068c5 25-Nov-2014 Chris Banes <chrisbanes@google.com> Various updates to match spec:

- Update overflow menu alignment
- Update action bar insets on sw600dp

BUG: 18417348
BUG: 18482784

Change-Id: Id90989e885e9a8a2e13a47dc71e0a519007d79d2
idget/ActionMenuPresenter.java
cc489cd904db41ba9f8efaec0fde0b2d259123d7 20-Nov-2014 Chris Banes <chrisbanes@google.com> Remove underline and search icon from ActionBar search view

AppCompat edition

BUG: 17396265
Change-Id: I18c91e72bbeff565fc0ccdccfab2e6a7f28433e9
idget/SearchView.java
90075479814eb758d97b822606b448e1a521c298 20-Nov-2014 Chris Banes <chrisbanes@google.com> Fix several small layout and color issues

Adjusts switch track asset for consistent alignment across DPI buckets,
adjusts edit text background. Lightens the "Light" theme action bar
color so that it doesn't blend in with the action bar shadow.

While I was in there I also decided to clean up some of the
TintManager internals.

BUG: 18430444
BUG: 18356558
BUG: 18390994

Change-Id: I39bc96179bffb1044c776a467e83eb6a66af7bce
nternal/widget/TintDrawableWrapper.java
nternal/widget/TintManager.java
fd1eb27a3700de31507de34fd1bcc51830fe876c 24-Oct-2014 Chris Banes <chrisbanes@google.com> Backport android:theme functionality for all Views

Also make the tinted widgets public so that developers
can extend from them.

BUG: 18367946
BUG: 18112118

Change-Id: Id47e21e960f3539304f0c1c023eebdff6c429c8d
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
nternal/app/TintViewInflater.java
nternal/widget/SpinnerCompat.java
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintButton.java
nternal/widget/TintCheckBox.java
nternal/widget/TintCheckedTextView.java
nternal/widget/TintEditText.java
nternal/widget/TintImageView.java
nternal/widget/TintManager.java
nternal/widget/TintMultiAutoCompleteTextView.java
nternal/widget/TintRadioButton.java
nternal/widget/TintRatingBar.java
nternal/widget/TintSpinner.java
nternal/widget/ViewUtils.java
idget/Toolbar.java
e6b11505d3a1819b3c81754b4b5de30fba81bb5f 05-Dec-2014 Chris Banes <chrisbanes@google.com> am c67503c7: Merge "SwitchCompat: Fix NPE on makeLayout()"

* commit 'c67503c75229d8dde9954a58aff15c0983b96745':
SwitchCompat: Fix NPE on makeLayout()
c826d759805928c84b20e646e442d55483e003c8 27-Nov-2014 Chris Banes <chrisbanes@google.com> Make sure that the decor is installed by onPostCreate()

BUG: 18525402
Change-Id: I196451786ad5dd47922fbed03f10ca7344957cc1
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
4b1190de13d6408e24cbda5f77e6148f54206fd0 24-Nov-2014 Alan Viverette <alanv@google.com> Ensure DrawerLayout does not receive accessibility focus

Also prevents hover events from falling through Toolbar.

BUG: 18378959
Change-Id: Iaab2e9984b2b09dc41e733b9276cafe7ab556c98
idget/Toolbar.java
e580cf3b81836a45bce05023a8d4853e55b98fbd 20-Nov-2014 Chris Banes <chrisbanes@google.com> Merge changes I19c46509,Iefc69a2a into lmp-mr1-dev

* changes:
Don't wipe out explicit Toolbar nav icon when calling setSupportActionBar
Fix default up indicator tint when using ActionBarDrawableToggle
21882c024e2754375102c85635c7a51ad3609cde 19-Nov-2014 Chris Banes <chrisbanes@google.com> Don't wipe out explicit Toolbar nav icon when calling setSupportActionBar

BUG: 18440924
Change-Id: I19c465091002c17e04eb13e23209e8bfaabb310f
nternal/widget/ToolbarWidgetWrapper.java
80c0f7e6099059caf93ea085c01009133603e5ed 19-Nov-2014 Chris Banes <chrisbanes@google.com> Fix default up indicator tint when using ActionBarDrawableToggle

BUG: 18436547
Change-Id: Iefc69a2a043a2c8f73b485642b00adc86b180982
pp/ActionBarActivityDelegate.java
1949ae9aeaadf52ad7bd7bb74ca5419c67ea7f65 18-Nov-2014 Taeho Kim <jyte82@gmail.com> SwitchCompat: Fix NPE on makeLayout()

Fixed NPE in makeLayout() when mTextOn or mTextOff is null

Signed-off-by: Taeho Kim <jyte82@gmail.com>

Change-Id: Ic61b6cbe1b46534783b684166d46b5da3b942d3a
idget/SwitchCompat.java
9ce2474543a32abfba8a0bdf65133416c5ba7a34 06-Nov-2014 Yigit Boyar <yboyar@google.com> Fix drawer arrow measurements

This CL fixes two issues w/ arrow toggle. The paint was not set up
properly and was drawing itself out of bounds although it should CUT sharp.

Secondly, the top and bottom bars were not offset properly to form the
pointy edge of the arrow.

Bug: 18264365
Change-Id: Ia88efec95b47494be03b3f2381bc6585f7627d2e
pp/DrawerArrowDrawable.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
pp/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
1170e30586260d9a94b87bcfb5ca1837cab37eed 22-Oct-2014 Chris Banes <chrisbanes@google.com> Remove buttonGravity Toolbar attr DO NOT MERGE

BUG: 10868937
Change-Id: I712799c03f7852dc580c3f85d13739d847df6433
(cherry picked from commit aac6aa7699cefacf5cd3aaa17c97c2f574ba1259)
idget/Toolbar.java
f8fb0e17c889d27fca0d8aec7e017f4c988e549c 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Update SearchView suggestions so we display the commit icon DO NOT MERGE" into lmp-dev
a0ec911393cee5744d7fc35a7b689f105fe1e25c 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Fix Tinted Views being inflated with the wrong theme DO NOT MERGE" into lmp-dev
14c635d781ec3f16a45790db84f481d15a5c47f9 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Remove ActionBar Progress Bar and no-op the related calls DO NOT MERGE" into lmp-dev
561461ff548584194ff8ff31bb7c34ac764326ce 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Fix supportRequestWindowFeature() not working DO NOT MERGE" into lmp-dev
9b86387cb9b6ab31361c46d571d21b63ad8dc4ae 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Sort out the internal Menu wrappers DO NOT MERGE" into lmp-dev
de0e7c20d43753f677ff4606d2e2166c5a73c6b6 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Workaround bug with EventLog.writeEvent + Spannables DO NOT MERGE" into lmp-dev
cf06dc0158a84c1990e04cc5a14e344b607cb6ef 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Fix ActionMenuView vertical alignment of items DO NOT MERGE" into lmp-dev
5e3031211c12e0774a8f3a52ca9f3b1af3e643b2 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Fix Spinner popup background on on v11-15 DO NOT MERGE" into lmp-dev
0c32dd2acf0284bdc95fbbd25ba50a709f904980 11-Nov-2014 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE Add appcompat PopupMenu constructor that takes style arguments" into lmp-dev
400270d891152d6ec02ca5048747aea50aa32d78 10-Nov-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Add appcompat PopupMenu constructor that takes style arguments

BUG: 18245054
Change-Id: I444a37f0104061d29415a6f47e5d7da31f095308
nternal/view/menu/MenuPopupHelper.java
idget/ListPopupWindow.java
idget/PopupMenu.java
ae05f19ff58697441f0a7fe09cfe88424ea580a3 10-Nov-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Add content description to Toolbar collapse icon

BUG: 17722111
Change-Id: I698e878d00d2945a994420dd77f9e2bbae9d36aa
idget/Toolbar.java
a9cf27da7f78d81db5ad482003a10d1a6562107c 10-Nov-2014 Alan Viverette <alanv@google.com> Add appcompat PopupMenu constructor that takes style arguments

BUG: 18245054
Change-Id: I444a37f0104061d29415a6f47e5d7da31f095308
nternal/view/menu/MenuPopupHelper.java
idget/ListPopupWindow.java
idget/PopupMenu.java
46baa1b3e02486238b6cd41b6b373dd2799b39d8 23-Oct-2014 Chris Banes <chrisbanes@google.com> Update SearchView suggestions so we display the commit icon DO NOT MERGE

Depends on Id57fb56f4d7a62f76c4ca6160ebfdc5ac561f37a

BUG: 18030252

Change-Id: I5fa19c02c2881d608f16b0f01fa874001bb383ba
idget/SuggestionsAdapter.java
8c13b19785088046c0ac78d91e8e322d7380396e 22-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Tinted Views being inflated with the wrong theme DO NOT MERGE

Depends on I4903c6daba0f6d65fbee73d40fefa3a3fbe5f6fd

BUG: 18048105

Change-Id: Id57fb56f4d7a62f76c4ca6160ebfdc5ac561f37a
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
a151a418dfe62537522000b7a9e5002e6f61f34c 16-Oct-2014 Chris Banes <chrisbanes@google.com> Remove ActionBar Progress Bar and no-op the related calls DO NOT MERGE

Depends on: I604da3bd9ad5ceb47b1a111f0103fc2f3800829c

BUG: 17997180
Change-Id: I4903c6daba0f6d65fbee73d40fefa3a3fbe5f6fd
pp/ActionBarActivityDelegateBase.java
nternal/widget/ProgressBarCompat.java
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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
9f3db13b406b4e0a259302cefe53e613b55752f7 11-Oct-2014 Chris Banes <chrisbanes@google.com> Sort out the internal Menu wrappers DO NOT MERGE

They were originally designed to be used in reverse:
wrapping a framework object as a support equivalent.
Now we only use for action modes where we need the opposite
behavior.

BUG: 17689154
Change-Id: Ic5ecd2e5a8d2b95f67a72244a8136c5647bc241d
(cherry picked from commit d837ef307ff53290159c0d7c8cf9e3e0dc2fa410)
nternal/view/SupportActionModeWrapper.java
nternal/view/menu/BaseMenuWrapper.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuItemWrapperJB.java
nternal/view/menu/MenuWrapperFactory.java
nternal/view/menu/MenuWrapperICS.java
nternal/view/menu/SubMenuWrapperICS.java
0686b4a183e946144dcb67b01962d5732df4a8a8 28-Oct-2014 Chris Banes <chrisbanes@google.com> Workaround bug with EventLog.writeEvent + Spannables DO NOT MERGE

Activity.onMenuItemSelected() calls EventLog.writeEvent()
with the menu item's condensed title. If the title is a
non-String CharSequence then writeEvent will throw an exception.

This was fixed in Activity for JB-MR2 so we need to workaround it
for devices before that.

BUG: 18072335
Change-Id: I6787170eabb2f840caa5e4e97663d835e06688b3
(cherry picked from commit 937df84589168e159706463f25780f35ec63b750)
nternal/view/menu/MenuItemImpl.java
0568ce41d69964ecf7f6b81fd93171bf9077c29b 29-Oct-2014 Chris Banes <chrisbanes@google.com> Fix ActionMenuView vertical alignment of items DO NOT MERGE

BUG: 18066203
Change-Id: I3844d3b2840212f68cbfd63d7a66fe9fc230956c
(cherry picked from commit 2f4abc2b347f34ba070a2a5e87cf16ee2c373192)
idget/ActionMenuView.java
b5b4d34ed9cca17a9cd2acbac7ce91b1a64ee16c 27-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Spinner popup background on on v11-15 DO NOT MERGE

BUG: 18141133
Change-Id: If61429cb9fcaa65cc6fde19489de280f7eba8be2
(cherry picked from commit 0332c97857f4aa1071e2e01875129ca3bea6c052)
nternal/widget/TintSpinner.java
3d229684c41f79504167517c3de3236feadcbbf0 05-Nov-2014 Chris Banes <chrisbanes@google.com> Merge "Revert "Fix Window Insets again"" into lmp-mr1-dev
b51c42fc8ab7004d1ce92b1ebc831cbf056fdfeb 05-Nov-2014 Chris Banes <chrisbanes@google.com> Merge "Bring list menu fully into appcompat" 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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
nternal/app/ToolbarActionBar.java
nternal/widget/DecorToolbar.java
nternal/widget/ToolbarWidgetWrapper.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
pp/ActionBarActivityDelegateBase.java
c7d6de1eb6692c627a02a4ed439a8a4b849ca66c 02-Nov-2014 Chris Banes <chrisbanes@google.com> Mutate Drawable when tinting

Otherwise we hit issues when using the same drawable
across themes

BUG: 18205142
Change-Id: Ib68bec710890c6f43eb312580e468cee59c64605
nternal/widget/TintManager.java
087313b275afcc551580b1cfdd119490f9a0b7c1 29-Oct-2014 Chris Banes <chrisbanes@google.com> Inflate ActionMode items against the ActionBarContextView theme

Maintians parity with framework

BUG: 18078900
Change-Id: I00fcc5ffb998aa320695bef278740c6adbafde8b
nternal/app/WindowDecorActionBar.java
2b1c54630b75e0aa0b4015edf221a9a8b2fe2cdd 30-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Let the Action Bar handle keyboard shortcuts" into lmp-mr1-dev
d15ee7df01f2f48b536a610c4739f33b226d3f81 29-Oct-2014 Chris Banes <chrisbanes@google.com> Let the Action Bar handle keyboard shortcuts

BUG: 18021345
Change-Id: If7f555b0ae2dc5ef8662f2d42c87f2b98cbeb603
pp/ActionBar.java
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.java
2f4abc2b347f34ba070a2a5e87cf16ee2c373192 29-Oct-2014 Chris Banes <chrisbanes@google.com> Fix ActionMenuView vertical alignment of items

BUG: 18066203
Change-Id: I3844d3b2840212f68cbfd63d7a66fe9fc230956c
idget/ActionMenuView.java
3e2b5bd049c924bf6d29615973bc598a6d50e6cb 29-Oct-2014 Alan Viverette <alanv@google.com> Add content description to Toolbar collapse icon

BUG: 17722111
Change-Id: I698e878d00d2945a994420dd77f9e2bbae9d36aa
idget/Toolbar.java
85d5606a5d0dbfb909a426c9464aceadb1a3e58b 28-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Workaround bug with EventLog.writeEvent + Spannables" into lmp-mr1-dev
36ba98b397a95e5d74318f7d9008fdaf604c05c2 28-Oct-2014 Chris Banes <chrisbanes@google.com> Fix SwitchCompat TextAppearance

Move to an explicit declared styleable which
seems to work.

BUG: 18052924
Change-Id: I916ae2d54d6b3ac5c561d376558a16d3a66413fd
idget/SwitchCompat.java
937df84589168e159706463f25780f35ec63b750 28-Oct-2014 Chris Banes <chrisbanes@google.com> Workaround bug with EventLog.writeEvent + Spannables

Activity.onMenuItemSelected() calls EventLog.writeEvent()
with the menu item's condensed title. If the title is a
non-String CharSequence then writeEvent will throw an exception.

This was fixed in Activity for JB-MR2 so we need to workaround it
for devices before that.

BUG: 18072335
Change-Id: I6787170eabb2f840caa5e4e97663d835e06688b3
nternal/view/menu/MenuItemImpl.java
ed27de5fc41d9318c81591e4a483902d9ecb851a 28-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Update ShareActionProvider to match Lollipop's" into lmp-mr1-dev
0332c97857f4aa1071e2e01875129ca3bea6c052 27-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Spinner popup background on on v11-15

BUG: 18141133
Change-Id: If61429cb9fcaa65cc6fde19489de280f7eba8be2
nternal/widget/TintSpinner.java
66ac31d6af19f204f4bf2338e725eb93da3fd95b 24-Oct-2014 Yigit Boyar <yboyar@google.com> Merge "Move all actionbar related methods to DecorToolbar" into lmp-mr1-dev
57e57d1ea6d96541b24a05f885e32f26a1655c05 24-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Update SearchView suggestions so we display the commit icon" into lmp-mr1-dev
63b3c1d7bac27b133108f27779e392257bd84a78 24-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "More Material styled widgets" into lmp-mr1-dev
6aadbd39814a5ae41e1fadfab06657cdf901e625 23-Oct-2014 Yigit Boyar <yboyar@google.com> Move all actionbar related methods to DecorToolbar

Bug: 17999561
Change-Id: Ibf7d84372eca7757bebee5c142c6a2237af815fa
pp/ActionBarActivityDelegate.java
pp/ActionBarDrawerToggle.java
nternal/app/ToolbarActionBar.java
nternal/widget/DecorToolbar.java
nternal/widget/ToolbarWidgetWrapper.java
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
pp/ActionBarActivityDelegateBase.java
nternal/widget/DrawableWrapper.java
nternal/widget/TintButton.java
nternal/widget/TintManager.java
nternal/widget/TintRatingBar.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
f0befbfd05c33c4dc6667a051f9b69a47dfe4aa7 23-Oct-2014 Chris Banes <chrisbanes@google.com> Update SearchView suggestions so we display the commit icon

Depends on Ibb7de7a3c49a1da22cd008aa6ae1791cc651fb3c

BUG: 18030252

Change-Id: I5fa19c02c2881d608f16b0f01fa874001bb383ba
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintMultiAutoCompleteTextView.java
idget/SearchView.java
idget/SuggestionsAdapter.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
c198cf6a06284059f294dbcb380b9d3c6ff1d9c8 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Fix Window Insets again" into lmp-mr1-dev
62b4c5b5b0cb218a06037cea049d5d8ec4310832 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Remove buttonGravity Toolbar attr" 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
e841fcef17058105ea09c7861f43bda6a4228a9a 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Add kill-switch for AppCompat's compatible widget styles" into lmp-mr1-dev
b05853eced17425de1b914d0d5e1c44c12c17454 17-Oct-2014 Yigit Boyar <yboyar@google.com> Read defaults from Toolbar if provided

Bug: 17994642
Change-Id: I0013043f54bb5de43684d1c5271a54dc60791a97
pp/ActionBarDrawerToggle.java
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
pp/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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
aac6aa7699cefacf5cd3aaa17c97c2f574ba1259 22-Oct-2014 Chris Banes <chrisbanes@google.com> Remove buttonGravity Toolbar attr

BUG: 10868937
Change-Id: I712799c03f7852dc580c3f85d13739d847df6433
idget/Toolbar.java
b645de790756e27bbe92d133216b7ac79cca7679 21-Oct-2014 Chris Banes <chrisbanes@google.com> Update ShareActionProvider to match Lollipop's

BUG: 16370059
Change-Id: I1e0013bd9344ccda3751972109b389097d4f7a23
nternal/widget/ActivityChooserView.java
nternal/widget/TintManager.java
idget/ShareActionProvider.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/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
pp/ActionBarActivityDelegateBase.java
nternal/widget/ProgressBarCompat.java
deeb0a522c044f048d4b37e717473bd923ffc12a 16-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Sort out the internal Menu wrappers" into lmp-mr1-dev
d837ef307ff53290159c0d7c8cf9e3e0dc2fa410 11-Oct-2014 Chris Banes <chrisbanes@google.com> Sort out the internal Menu wrappers

They were originally designed to be used in reverse:
wrapping a framework object as a support equivalent.
Now we only use for action modes where we need the opposite
behavior.

BUG: 17689154
Change-Id: Ic5ecd2e5a8d2b95f67a72244a8136c5647bc241d
nternal/view/SupportActionModeWrapper.java
nternal/view/menu/BaseMenuWrapper.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuItemWrapperJB.java
nternal/view/menu/MenuWrapperFactory.java
nternal/view/menu/MenuWrapperICS.java
nternal/view/menu/SubMenuWrapperICS.java
012047c60d03e61498955b7fa3e9cb9b409fbad8 11-Oct-2014 Chris Banes <chrisbanes@google.com> Add tint aware (Multi)AutoCompleteTextView

BUG: 17934833

Change-Id: I825f6b282f695c03582b6f5e11e192563686a9be
pp/ActionBarActivityDelegateBase.java
nternal/widget/TintAutoCompleteTextView.java
nternal/widget/TintMultiAutoCompleteTextView.java
00d9f4609de4985798ef420f4024e0361f9431e6 10-Oct-2014 Dianne Hackborn <hackbod@google.com> am a438984c: am f6ece045: Merge "Use real API 21 constant." into lmp-dev

* commit 'a438984c93dea21e46185dafb14094a3eb3823a7':
Use real API 21 constant.
95a62c18174e92eb2bf90b808cef5fd6f36ad944 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Use real API 21 constant.

Change-Id: I4c871055fde6ee991488c7556e3fa27f41813aed
nternal/widget/SpinnerCompat.java
fcd48d05139cb6ddf67bcc9b48f0470378662671 02-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Backport Widget.Material.Spinner.Underlined" into lmp-mr1-dev
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
pp/ActionBarActivityDelegateBase.java
f67cc46fd515df18c4b70dce9e5dcdd4e3245cd8 30-Sep-2014 Chris Banes <chrisbanes@google.com> Backport Widget.Material.Spinner.Underlined

BUG: 17676220
Change-Id: I1871aa9be286a2261637262dc238a339032d6cad
nternal/widget/TintManager.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
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.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
pp/ActionBarActivityDelegateBase.java
49c34ddab529894671e3e3cfbb0295195b248b14 25-Sep-2014 Chris Banes <chrisbanes@google.com> Keep hold of all action mode wrappers we create

Allows us to return consistent objects to the
wrapper callback

BUG: 17642552
Change-Id: I554eb15d471f5c9384a74e4fd1f376ea48000ddf
nternal/view/SupportActionModeWrapper.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
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.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
pp/ActionBarActivityDelegateBase.java
nternal/widget/FitWindowsFrameLayout.java
nternal/widget/FitWindowsLinearLayout.java
nternal/widget/FitWindowsViewGroup.java
bfbc0a81c3d6b3bd89ee39436cb46a994464976f 24-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Don't create action bar if only windowOverlayActionBar=true" into lmp-dev
598859ff9a43eb0d5133f4fddb055c6532e46297 24-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Material Widget styling" into lmp-dev
781adfea5eb619ae57f4ce7aae5d8dae1d330957 23-Sep-2014 Chris Banes <chrisbanes@google.com> Don't create action bar if only windowOverlayActionBar=true

BUG: 17613206
Change-Id: I1846b24d02b56ea918d9a0b55bb4b012f22900de
pp/ActionBarActivityDelegate.java
6fa22deda829e4539722f86c266a6bf4cf559895 22-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Prevent ActionBar views from starting ActionMode" into lmp-dev
cc6c6741fd8c650f1643d31e489d24f2322ebe09 22-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Don't prevent animator.cancel if it is started" into lmp-dev
c5cbf40d0ef5e4ba3f50adaf2af08d19fecdf55a 22-Sep-2014 Yigit Boyar <yboyar@google.com> Prevent ActionBar views from starting ActionMode

Views inside ActionBar cannot start action mode. This was broken
in AppCompat because we were overriding the compatibility version
of startActionMode but we should override the framework version
as well.

Bug: 17585578
Bug: 17584648
Change-Id: I3413aa84c0cef5afc5053cd7ece3053ee64c945e
nternal/widget/ActionBarContainer.java
5db9e28e86c07fed2d81a65c44eea4a85b8746c5 22-Sep-2014 Adam Powell <adamp@google.com> Merge "Jump drawables to current state when rebinding ActionMenuView" into lmp-dev
bc7c32772fbc966091181ce7fa933ca4083679ac 22-Sep-2014 Adam Powell <adamp@google.com> Jump drawables to current state when rebinding ActionMenuView

This prevents lingering ripples or other pressed state effects from
remaining after an action button has been rebound.

Also add ViewCompat#jumpDrawablesToCurrentState to support this.

Bug 17592051

Change-Id: I8227af59d7b80a5a2d2f91aca7d0f17257fb6101
nternal/view/menu/BaseMenuPresenter.java
9fdc99636a0164602ccbdbfc468b38548b387853 19-Sep-2014 Yigit Boyar <yboyar@google.com> Don't prevent animator.cancel if it is started

Bug: 17584744
Change-Id: I550cb2e3af0abd246d3e193bc43e972f65e1fa7a
nternal/view/ViewPropertyAnimatorCompatSet.java
415f740df4981ef2f5fb462a50c7cf095cc21128 22-Sep-2014 Chris Banes <chrisbanes@google.com> Material Widget styling

- Spinner
- CheckBox
- CheckedTextView
- RadioButton
- Switch

BUG: 17210888
Change-Id: I996415770d048f6b18152228427b2bf15fe611b3
pp/ActionBarActivityDelegateBase.java
nternal/text/AllCapsTransformationMethod.java
nternal/view/menu/ActionMenuItemView.java
nternal/widget/CompatTextView.java
nternal/widget/TintCheckBox.java
nternal/widget/TintCheckedTextView.java
nternal/widget/TintDrawableWrapper.java
nternal/widget/TintManager.java
nternal/widget/TintRadioButton.java
nternal/widget/TintSpinner.java
idget/SwitchCompat.java
01f416d488317785d3b29161cd3e58a38f24b683 22-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Apply window insets to standalone action modes" into lmp-dev
0513e5b9ce8d14281bdfe3a4ccf02d95662e4711 22-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Find activity from context in menu inflator for click events" into lmp-dev
ec3f49d21a507835c1f50ce5600000b587a2af08 19-Sep-2014 Chris Banes <chrisbanes@google.com> Apply window insets to standalone action modes

BUG: 17567245
Change-Id: Iaa77f672693dbeae033b78ab3487492bd3bc755e
pp/ActionBarActivityDelegateBase.java
nternal/widget/FitWindowsFrameLayout.java
nternal/widget/FitWindowsLinearLayout.java
3605a98fe8d95201c4598ad08a51ee3feb2c9a6d 19-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Allow fallback to Toolbar's default Navigation Icon" into lmp-dev
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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.java
nternal/app/WindowCallback.java
nternal/view/menu/ExpandedMenuView.java
nternal/widget/TintManager.java
idget/WindowCallbackWrapper.java
acf94897e0924ff5fcd3c5b371ab1aa620cb1dc6 18-Sep-2014 Chris Banes <chrisbanes@google.com> Allow fallback to Toolbar's default Navigation Icon

BUG: 17554486

Change-Id: I9ed2a7adfb57247da0dfebce30e5d6ad86921bc0
nternal/widget/DecorToolbar.java
nternal/widget/ToolbarWidgetWrapper.java
ac46e6d000428dc5cd48caa46202abc23422d043 18-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Fix Toolbar minHeight handling pre-JB" into lmp-dev
343672242a31336455763352183e7bdb1c06e8f5 18-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Fix use of android:preserveIconSpacing" into lmp-dev
eb0f2ff11db288f2bbbadb7b4e74ea3729e3149b 18-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Fix flickering ripples on drag-to-open popups" into lmp-dev
e13edbefc9ab32deb08d2352490778ab666b65f5 18-Sep-2014 Chris Banes <chrisbanes@google.com> Fix TintTypedArray.getDrawable() to check for a valid resource id

BUG: 17563723
Change-Id: I145ffdabd43a0ae3ebfc8c88e5c1a99516c69d01
nternal/widget/TintTypedArray.java
d30166708029d4fb895edcaec3ad3fa6645d5311 18-Sep-2014 Chris Banes <chrisbanes@google.com> Fix Toolbar minHeight handling pre-JB

BUG: 17522779
Change-Id: I02ac87a1a206617399a47ae19d6d5e2be6c73947
idget/Toolbar.java
eeb589a57c069e1c1313e74de5876eceb69812a3 18-Sep-2014 Yigit Boyar <yboyar@google.com> Find activity from context in menu inflator for click events

Bug: 17514128
Change-Id: I47f47cbecbcc57c4f0589f08dec449d3b79f555f
nternal/view/SupportMenuInflater.java
7d099302a9f49cee558d366a7c615b28cea79e0a 17-Sep-2014 Yigit Boyar <yboyar@google.com> Set correct bounds in ActionBar based on visibility of ActionBarView

Replica of CL I07e57f00e27b41d5370cb9440b35734a8ec10f3a
Bug: 17280341

Change-Id: I83df9c012410c811bfae0c612c7ff1812e9635ce
nternal/widget/ActionBarContainer.java
692b70462703c0c0c9e6c5dec315a9aa783b5f55 17-Sep-2014 Chris Banes <chrisbanes@google.com> Fix use of android:preserveIconSpacing

BUG: 17547373
Change-Id: I079796733a361b8dd72fdeabb2020f37316cf828
nternal/view/menu/ListMenuItemView.java
80e66c1609421dacff3e49770411e201039aa1d8 17-Sep-2014 Chris Banes <chrisbanes@google.com> Fix flickering ripples on drag-to-open popups

BUG: 17543085
Change-Id: I9cf67bc48d4a2ffe73d436faecf93fd2fe1c4633
nternal/widget/DrawableWrapper.java
nternal/widget/ListViewCompat.java
idget/ListPopupWindow.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
7a02d0862946ef4fd415cca55b2307f275dc5b4e 17-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Use the Toolbar's context when inflating an action mode" into lmp-dev
c5f2053af179e480ab0b0b50d1b0aade4e97fbc1 16-Sep-2014 Yigit Boyar <yboyar@google.com> Handle action mode changes properly for actionbar tabs

Bug: 17513613

Change-Id: I771157c6c010d8f13792c209e204670d90c680c7
nternal/app/WindowDecorActionBar.java
nternal/widget/ActionBarContainer.java
nternal/widget/ToolbarWidgetWrapper.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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
nternal/view/SupportActionModeWrapper.java
nternal/widget/ViewStubCompat.java
7142e8772152b82a2fa58318da63a50f7c1665a1 16-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Fix invocation of computeFitSystemWindows via reflection" into lmp-dev
5b84d15b2f5fb9b10532298c57eaebed32e3740a 16-Sep-2014 Adam Powell <adamp@google.com> Treat empty string as title-set in ToolbarWidgetWrapper

If a developer explicitly sets the empty string as the title of a
Toolbar that is used as an action bar via
ActionBarActivity#setSupportActionBar, don't overwrite it with the
window title. This clears up a nonintuitive behavior when explicitly
clearing the title of a toolbar.

Bug 17510951

Change-Id: I9f7e9204ff33f01d9e22b81810898107560363f2
nternal/widget/ToolbarWidgetWrapper.java
0517b282bde8b9a0377dfe5bc4756405a196adb4 15-Sep-2014 Chris Banes <chrisbanes@google.com> Fix toolbar height, list divider alpha, action item padding

BUG: 17487305
BUG: 17470290
BUG: 17486967

Change-Id: Ifbb805fa58beb92b63d5c82956b18c4e93b8c4a7
nternal/widget/TintManager.java
idget/ActionMenuPresenter.java
b37a31664b07243ca9e86c8dac58b9be6a417e8c 13-Sep-2014 Chris Banes <chrisbanes@google.com> Bundle tintable drawables for copy/cut/paste/select-all

BUG: 17262483
Change-Id: I6c82d39629ff2891c4be4593821ff90a4a6e428b
nternal/view/menu/MenuItemImpl.java
nternal/widget/TintManager.java
4c5457da0e82b0090f03655545772ebb8cf4a978 15-Sep-2014 Chris Banes <chrisbanes@google.com> Fix invocation of computeFitSystemWindows via reflection

BUG: 17491883
Change-Id: I517a5aed00147ffc009a4112137bcb26f75250e9
nternal/widget/ViewUtils.java
dbe3ad8014e0af4696b948fa026178c993970cf6 13-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Add reference to drawer toggle style in the documentation" into lmp-dev
4973e7230c02dbdce093ab33a209f742d3f27e7c 13-Sep-2014 Yigit Boyar <yboyar@google.com> Add reference to drawer toggle style in the documentation

Bug:17486317
Change-Id: Iba747ef608b89f78877703c8cabe13282fe56169
pp/ActionBarDrawerToggle.java
ca4128f292d30374103de848a5805171d9a5a186 13-Sep-2014 Adam Powell <adamp@google.com> Follow framework change to eat touch events in Toolbars

Bug 17483356

Change-Id: Ic726d69033b11ddfa9c44db0abf64910ef040bea
idget/Toolbar.java
b7340d23e715fedb2af8d500102ab57b43fed38f 12-Sep-2014 Chris Banes <chrisbanes@google.com> Vertically align toolbar child views with similar gravities

Also took the opportunity to trim off all of the
old action bar dimens which are no longer used.

BUG: 17266152
Change-Id: Ibd90d71c126585f3d6491a6b4f3c26848b1c8794
idget/Toolbar.java
14f8f0dfae09445074dc0f7b5bbe5732d6922da7 12-Sep-2014 Chris Banes <chrisbanes@google.com> Make sure we tint the SearchView textfield pre-L

Change-Id: I3c5de6392758420bc9f9c3e1ae479e8120b79a0c
nternal/widget/TintManager.java
e9956ab5a1d1ed1d063fd3c68a2ba23a3ca30bd8 12-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Make Action Mode background fully tint-able" into lmp-dev
f9f4d371fced53e03c72c62cbc2348c96fc628e4 12-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "More window inset fixes" into lmp-dev
1caab4ceabccac66ca65feb69de45e09864c25b6 12-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Update TintManager to read non-resource colors" into lmp-dev
18f31a3f88416d87572dd8dfd14cb743e4814365 12-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Add support for default content description in Toolbar" into lmp-dev
1073132946bb0a53a788949fe4c060f72051cd57 11-Sep-2014 Chris Banes <chrisbanes@google.com> Make Action Mode background fully tint-able

Allows us to stop setting actionModeBackground
in the ThemeOverlays, which means that developers
can customise the bg without having to create a custom
ThemeOverlay.

BUG: 17452987
Change-Id: Idc6b663d56ef6685c1e48cb153a75f2c402b7733
nternal/widget/TintManager.java
f31fb9d2fd3b5b130f3f5ac121b033546d869231 11-Sep-2014 Chris Banes <chrisbanes@google.com> Update TintManager to read non-resource colors

Change-Id: Iadcf6cc3c4d518de038f5c29275cc56d2ca88dcd
nternal/widget/TintManager.java
28cca4bf59e7f3fd35f9da05caa9418251b5227a 11-Sep-2014 Chris Banes <chrisbanes@google.com> Make sure we close the options menu when an item is selected

Change-Id: Ie8a3c5671c36fa9de9819d509ecc4c6afe050244
pp/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
pp/ActionBarActivityDelegateBase.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/ViewUtils.java
5e49544c53be19cd12b01a53514558386a48ef57 11-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "More tinted drawables improvements" into lmp-dev
c497221ee0e2e873f49653ff1a046df2e5276759 10-Sep-2014 Chris Banes <chrisbanes@google.com> More tinted drawables improvements

- Tint the action bar divider
- Include the disabled state in the default color
state list (for EditText)

Change-Id: Idaf047d50ab62fb09ccdda1170a0114d8fc1fcc2
nternal/widget/ActivityChooserView.java
nternal/widget/TintManager.java
idget/LinearLayoutCompat.java
b3813e08451b31c599f47ebaf14c9467043cedbc 11-Sep-2014 Yigit Boyar <yboyar@google.com> Add support for default content description in Toolbar

Bug: 16888338

Change-Id: Iefd663455b5a8f5f4ec96041bfbd74881c2bf0df
nternal/app/ToolbarActionBar.java
nternal/widget/DecorToolbar.java
nternal/widget/ToolbarWidgetWrapper.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
pp/ActionBarActivityDelegateBase.java
b5837eb1118cfd6e583749bc0a4e72af10c7eb0c 10-Sep-2014 Chris Banes <chrisbanes@google.com> Hide internal appcompat classes which are being added to the javadoc

Change-Id: If4e74e0b4fea152b08bd5f08bce1ef3b12eb474e
nternal/transition/ActionBarTransition.java
nternal/view/StandaloneActionMode.java
nternal/widget/DecorContentParent.java
idget/LinearLayoutCompat.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
nternal/app/WindowDecorActionBar.java
nternal/widget/ActionBarContextView.java
nternal/widget/AppCompatPopupWindow.java
nternal/widget/DrawableWrapper.java
nternal/widget/ScrollingTabContainerView.java
nternal/widget/SpinnerCompat.java
nternal/widget/TintDrawableWrapper.java
nternal/widget/TintEditText.java
nternal/widget/TintImageView.java
nternal/widget/TintManager.java
nternal/widget/TintResources.java
nternal/widget/TintTypedArray.java
nternal/widget/ToolbarWidgetWrapper.java
idget/ActionMenuPresenter.java
idget/ListPopupWindow.java
idget/SearchView.java
idget/ShareActionProvider.java
idget/Toolbar.java
ae5248b8902c62325fafbdac3fe18783aec06073 10-Sep-2014 Chris Banes <chrisbanes@google.com> Force Overflow to show when using Toolbar standalone

BUG: 17381966
Change-Id: I2289b38f6a1873729fdc88de6b8e24a8a28fc1fe
idget/ActionMenuView.java
7909104457e72e80bf53ec6e28947e68a8daa4f0 10-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Update ActionBarActivityDelegateBase's panel handling" into lmp-dev
a52784195525cdb1f2bb4d8dde1b8b314f480957 10-Sep-2014 Chet Haase <chet@google.com> Remove references to "L"

Issue #16894783 Remove references to L when API is locked down

Change-Id: Icf1215eed34e6fbe3d71a5cec4bf1699c3bc3ff9
nternal/VersionUtils.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
pp/ActionBarActivityDelegateBase.java
08358d12169435b51d800bb7076fc4a540eafb8c 08-Sep-2014 Chris Banes <chrisbanes@google.com> Don't call stopNestedScroll pre-L

Change-Id: Ib85b93bcf75dbb973c675da030c190b61ca37a59
nternal/widget/ActionBarOverlayLayout.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
pp/ActionBarActivityDelegateBase.java
04fb3ec5e903db1032ba06db163d128928c06393 05-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Menu Callbacks for appcompat Toolbar" into lmp-dev
156b08e830b50ca0842be6c7bbde721285e4d36f 05-Sep-2014 Chris Banes <chrisbanes@google.com> Update CAB done icon in appcompat

BUG: 17372188
Change-Id: I0f19fb3858900c6560d38226b500a27d2b86de1d
nternal/widget/ActionBarContextView.java
9875364851a873579aee26dcec57eee7d1ae3d07 05-Sep-2014 Chris Banes <chrisbanes@google.com> Styling changes for Overflow button

BUG: 17394039

Change-Id: Ic3b38a7e934da448b90413c21d8b8e4cd476974e
nternal/widget/SpinnerCompat.java
c4b9e0cb716a4caff218b27d86f37ef8117d257b 05-Sep-2014 Chris Banes <chrisbanes@google.com> Menu Callbacks for appcompat Toolbar

BUG: 17326424
Change-Id: I1c06029a62626efe2cd2d88f198b7fbe76e057c2
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.java
nternal/app/WindowCallback.java
idget/ActionMenuView.java
idget/Toolbar.java
idget/WindowCallbackWrapper.java
dea1122145ed85590d298a3a9d88ba9f9e2f5f46 03-Sep-2014 Chris Banes <chrisbanes@google.com> Fix Keyboard shortcuts

BUG: 17070243
Change-Id: I2e726b6149fbbd14244939dc2adda4230cbd6659
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
317a38ce34eb6a3e562a3e142c905f139cd7296a 05-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Implement PopupWindow's overlapAnchor pre-L" into lmp-dev
116363dc11ef78b10f464499c37ed61b3fe4edd1 05-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Add ability to disable drawer indicator in new ArrowDrawer" into lmp-dev
239e759c480945ee5c164c7c75cb30ff164caa91 04-Sep-2014 Yigit Boyar <yboyar@google.com> Add ability to disable drawer indicator in new ArrowDrawer

Bug: 17380258
Bug: 17378817
Change-Id: Ia38048abbf0c699c3ea2cda5212296477949164c
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarDrawerToggle.java
pp/ActionBarDrawerToggleHoneycomb.java
5ec2faa01bc6790bc015e0d5748dc0482ae8c0f2 04-Sep-2014 Chris Banes <chrisbanes@google.com> Implement PopupWindow's overlapAnchor pre-L

BUG: 17331746
Change-Id: I00c4606343e4690087bab117abc34a18d6c6c750
nternal/widget/AppCompatPopupWindow.java
idget/ListPopupWindow.java
6912ef40f2cbf2a449c492cbe81ca96deee67ca0 04-Sep-2014 Adam Powell <adamp@google.com> Fix a regression in SearchView focusability - appcompat edition

Follow the same change to fix a regression from frameworks/base.

Bug 17292230

Change-Id: Iacb1464f3d014763e54dca7957ea95882511bf79
idget/SearchView.java
058467cbd6dd0acdfaec61e65ab9e352868ec5c9 27-Aug-2014 Yigit Boyar <yboyar@google.com> Create a new ActionBarDrawerToggle with arrow and hamburger menu

Bug: 16514897
Bug: 17353988

Change-Id: Ia3c39b6accf3923bd297740b24e48dba35820b37
pp/ActionBarDrawerToggle.java
pp/DrawerArrowDrawable.java
ce221d9fd93f206c5f654a2493af091f92cb8015 03-Sep-2014 Bryan Mawhinney <bryanmawhinney@google.com> Avoid NPE in ActionBarDrawerToggle when no supportActionBar is set

Bug: 17343548
Change-Id: I2c34cccf3fc49a9e7d1a818f8e37b2938784f240
pp/ActionBarActivityDelegate.java
a6e86333cb4de18fc9b86746a49643e213db7c18 03-Sep-2014 Chris Banes <chrisbanes@google.com> Fix memory leaks caused by multiple setSupportActionBar calls

BUG: 17345564
Change-Id: Ia162316e0ee258b1eee40ac74483a41d152bfcb1
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
ac00a989afc2f1c559fc33174f481a0a0ef5b3d8 01-Sep-2014 Chris Banes <chrisbanes@google.com> Backport Toolbar framework updates to appcompat

BUG: 17253638
BUG: 17305707
BUG: 17298370

Change-Id: Ic4f876565f7da93b166c52d4a206f86ae78d5ca7
nternal/app/ToolbarActionBar.java
nternal/view/menu/ActionMenuItem.java
nternal/widget/ActionBarContextView.java
idget/ActionMenuPresenter.java
idget/ListPopupWindow.java
idget/Toolbar.java
45c2184a09e35c43f786b7e0a189cda47ba61b13 03-Sep-2014 Chris Banes <chrisbanes@google.com> Merge "Correctly handle system ui visibility changes" into lmp-dev
1cc199c7b4fe79812cd660b387fa521c9b1993fc 01-Sep-2014 Chris Banes <chrisbanes@google.com> Ensure we use correct context for reading Toolbar attrs

Change-Id: Ie77a37a3dfa13e6e6788df2b3ebcce54fa043722
idget/Toolbar.java
26f676060f6b45921a809c696acceac9c031c85b 29-Aug-2014 Chris Banes <chrisbanes@google.com> Correctly handle system ui visibility changes

BUG: 16959423
Change-Id: Ia7d07ddc7aa15f0026ee99425bfd3fb460a83338
nternal/widget/ActionBarOverlayLayout.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
pp/ActionBarActivityDelegateBase.java
dbf0fac4ce132320abac34df9ea58513603aecac 29-Aug-2014 Yigit Boyar <yboyar@google.com> Use ActionBar's theme instead of Activity

Bug: 17304533
Change-Id: I970c4f2c703830933b833996a7539b60183eb587
pp/ActionBarActivityDelegate.java
e9f074ac4967c05b4b3a7a4a6516a38ab539fc98 27-Aug-2014 Chris Banes <chrisbanes@google.com> Unify code paths for collapsing action views in action bars

BUG 17105724

Change-Id: I320923f45d59069ef15d4f6a6c1326c1d465924f
nternal/app/WindowDecorActionBar.java
nternal/widget/ActionBarOverlayLayout.java
43db186b192e28d5024772b069d7a42783b242e2 27-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Update Toolbar/Action Bar title handling to match fw" into lmp-dev
ca58f2ce7cd9f0e0f2c4a46c3bcc98013209f6b3 27-Aug-2014 Chris Banes <chrisbanes@google.com> Update Toolbar/Action Bar title handling to match fw

BUG 17138048

Change-Id: Ib787757a991178787bbd1bf9dc405a9a507fe7c3
pp/ActionBar.java
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.java
nternal/app/WindowDecorActionBar.java
nternal/widget/ToolbarWidgetWrapper.java
6f490f8da1825fdf2311c67911ad854803ab7e5e 26-Aug-2014 Chris Banes <chrisbanes@google.com> Revert overflow policy pre-K

We now emulate the old policy for devices
with a hardware button pre-K

BUG: 17190262
Change-Id: I4ca54ceea7746d2905bd7f78860de94769df63f4
nternal/view/ActionBarPolicy.java
2ede99d9c739962dd9f3f66ffdf08f26e557b67e 27-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Fix a bug propagating navigation events from ToolbarActionBar" into lmp-dev
0e87def1c22cfac41e563dd5db51ae8ba3a34d7b 27-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Remove ActionBarView" into lmp-dev
ece8cb24525fb695c5ef16400017316fc7dd2e16 26-Aug-2014 Chris Banes <chrisbanes@google.com> Remove ActionBarView

It's no longer used in appcompat

Change-Id: Ibb4576f3fd786adf2b600377583c91ad80f845bc
nternal/widget/ActionBarView.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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
nternal/app/ToolbarActionBar.java
idget/WindowCallbackWrapper.java
55b8ae653ab9402efb19d6309155d18fbebb849e 26-Aug-2014 Chris Banes <chrisbanes@google.com> Rename AnimatorSetCompat

Change-Id: Ieda0b879b61567334b5ccb5dd51a0fab56e7ac83
nternal/app/WindowDecorActionBar.java
nternal/view/AnimatorSetCompat.java
nternal/view/ViewPropertyAnimatorCompatSet.java
nternal/widget/AbsActionBarView.java
4a201fef1a0116e987e82ee8fba1340ca9e6f1db 22-Aug-2014 Yigit Boyar <yboyar@google.com> Fix RTL bug for actionbar tooltips

Bug: 12570378
Change-Id: I25d88c925a088d9d168a1a89e9c17672e73365a9
nternal/view/menu/ActionMenuItemView.java
3228edfc4f8385dad5ae502f4a1d1343b9ec728f 06-Aug-2014 Chris Banes <chrisbanes@google.com> Implement theme attribute for Toolbar

- Replaced list divider drawables
- Fixed drag-to-open nuking the selector state
- Set more styles in the ThemeOverlay themes.
- Refactored DarkActionBar to match the framework
- Fix SearchView suggestions background pre-L

BUG: 16826009
BUG: 16674772

Change-Id: Idbc16cfcd60448cdb9fc96acb147f7f56ef4137c
nternal/widget/ListViewCompat.java
idget/Toolbar.java
b38d598570d7e8e06ebfac27ba2c38a49826e795 14-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Backport fix for stacked background" into lmp-dev
10532db49a636b169ca482e3a821982ea9ea8aa9 14-Aug-2014 Chris Banes <chrisbanes@google.com> Backport fix for stacked background

Original change I7ec30a9c0c9422874cad106a2caeb7dcbe75e1b6

BUG: 16940717
Change-Id: I7b8ecfb46cfccfd177db5fe32b56bea7143ea177
nternal/widget/ActionBarBackgroundDrawable.java
nternal/widget/ActionBarBackgroundDrawableV21.java
e909dcaaa24935b48a706273834c3e8ec4bf048d 13-Aug-2014 Chris Banes <chrisbanes@google.com> List Menu fixes for DarkActionBar

BUG: 16895420
Change-Id: I7552b15bbf54639d28830978186ee9aac2485466
pp/ActionBarActivityDelegateBase.java
a2c72b87007d10202c25e78e904938f770c6337d 13-Aug-2014 Chris Banes <chrisbanes@google.com> Update appcompat internal to lmp-dev framework

Not much of note.

Change-Id: I607624d63506bd72ae6f1a080c35afbeb361b0b7
nternal/app/SupportActionBarWrapper.java
nternal/app/ToolbarActionBar.java
nternal/view/ActionBarPolicy.java
nternal/widget/ToolbarWidgetWrapper.java
idget/ActionMenuPresenter.java
idget/ActionMenuView.java
idget/ListPopupWindow.java
idget/Toolbar.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
024e4dfcc97766bde6941207af41f7703d35c93f 11-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Implement windowOverlayActionMode" into lmp-dev
e52aa09e097698dfb3148efbf5a9c4d584a733c5 11-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Create ActionBarActivityDelegate as needed" into lmp-dev
9a6cf0b8185a1193921b7ac706d054b493511ed3 08-Aug-2014 Chris Banes <chrisbanes@google.com> Create ActionBarActivityDelegate as needed

Currently we force apps to call super.onCreate()
before they can do anything (setContentView,
supportRequestWindowFeature, etc). This can break
Activity class hierachies and generally make things
difficult. This CL changes this so that they can
call these methods before calling super.

Change-Id: Iffacbeaee5daaa37b1e941ebe491d163aa0be65f
pp/ActionBarActivity.java
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
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
nternal/widget/NativeActionModeAwareLayout.java
7fa6a00a4600aac591402398c23fea97721adf26 06-Aug-2014 Chris Banes <chrisbanes@google.com> Use ContextCompat.getDrawable(...) in appcompat

Fixes NPE in RippleDrawable. Also fixed appcompat's
ThemeOverlay styles on v21, as they led to cyclic
attrs which resulted in empty colors.

BUG: 16602748

Change-Id: I3dffbeff3f8280f816593af13bc3db666ed462fd
nternal/app/WindowDecorActionBar.java
nternal/view/menu/ActionMenuItem.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/SubMenuBuilder.java
nternal/widget/ActionBarView.java
nternal/widget/SpinnerCompat.java
nternal/widget/ToolbarWidgetWrapper.java
idget/SearchView.java
idget/ShareActionProvider.java
idget/Toolbar.java
d8213c28889f37a1a2b6c05115be9f6df54a7a45 07-Aug-2014 Chris Banes <chrisbanes@google.com> Fix visible elevation when actionbar bg is transparent

Imports change some of the framework change
I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c

BUG: 16838001
Change-Id: Ibbc07853e01cea6d457fa7b6b83299ec3de17ac0
nternal/VersionUtils.java
nternal/widget/ActionBarBackgroundDrawable.java
nternal/widget/ActionBarBackgroundDrawableV21.java
nternal/widget/ActionBarContainer.java
3bc2ff26bbf7092c0cdba362c1483a3c779c955d 07-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Fix ActionBar.show/hide() on Honeycomb" into lmp-dev
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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
nternal/app/ToolbarActionBar.java
nternal/app/WindowCallback.java
nternal/view/ActionModeWrapper.java
nternal/view/AnimatorSetCompat.java
nternal/view/StandaloneActionMode.java
nternal/view/SupportActionModeWrapper.java
nternal/widget/AbsActionBarView.java
nternal/widget/NativeActionModeAwareLayout.java
c6c2828bb4fe597c371f1c17d535912582d339bd 05-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Fix AppCompat.DarkActionBar theme" into lmp-dev
8939e5cf918c185a6e3df259f40d988db284dbe2 01-Aug-2014 Chris Banes <chrisbanes@google.com> Fix ActionBar.show/hide() on Honeycomb

Caused by ViewCompat.setTranslationY() working on
HC, but ViewPropertyAnimatorCompat only working from ICS+.

Change-Id: I6aa86f63ae85d44fe989802e9b37255acea25712
nternal/app/WindowDecorActionBar.java
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
pp/ActionBarActivityDelegateBase.java
nternal/widget/ToolbarWidgetWrapper.java
idget/Toolbar.java
fc652f469994757b243ef66148c064973af196c7 31-Jul-2014 Ben Murdoch <benm@google.com> Fix JavaDoc.

Change-Id: If0d7b585f83bf3ba858bf2ea8a3cb90c7354629e
idget/Toolbar.java
312569608582c1e48ba879efcd53db360c01002b 31-Jul-2014 Chris Banes <chrisbanes@google.com> Merge "Fix up navigation click handling" into lmp-dev
56261b25b9890dd44f04e0083c3ea9fde5455ebd 31-Jul-2014 Chris Banes <chrisbanes@google.com> Clarify exception messages in MenuItemImpl

Change-Id: I2c6a3f7c5cde23b3641b50b41c27ef3a90a3502e
nternal/view/menu/MenuItemImpl.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
ebec8cacc3ebeea96b6c49890ee145d7e60cd7cd 31-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Fix appcompat bugs.

b/16491458 - performs the equivalent fix for appcompat.
b/16688925 - return an ActionBar when setting it via Toolbar.

Change-Id: I4dc7f929fa05d51e61b05afe0ae42d604aca3903
pp/ActionBarActivityDelegate.java
nternal/app/ToolbarActionBar.java
idget/Toolbar.java
6da3e2ee07ff8acd7de4ed810eafeb70a8d4027d 25-Jul-2014 Chris Banes <chrisbanes@google.com> Fix javadoc errors

We can't refer to internal attrs via the @attr
feature. Decided to remove all @attrs as they're
not really necessary for appcompat.

Change-Id: I600045180bfd4578512844ff78f6d30a09f74feb
pp/ActionBar.java
nternal/widget/SpinnerCompat.java
idget/LinearLayoutCompat.java
idget/SearchView.java
idget/Toolbar.java
eea488b3ff6c0ade6ac30ac56a63d855598ebba3 25-Jul-2014 Chris Banes <chrisbanes@google.com> Fix SpinnerCompat to use the correct PopupWindow

Change-Id: Ib5348a52ef5487e301f14a19bcd46d230c920f7f
nternal/widget/SpinnerCompat.java
1b01ce23fa533d467ca2ccbc65c980a59662aa8d 24-Jul-2014 Chris Banes <chrisbanes@google.com> Update appcompat' SearchView to L

Change-Id: Ie9856690048421b6f6a88a1d4cb0e9d247099e44
idget/SearchView.java
51592779b3756064e09de260238bb39ea4fa6a07 24-Jul-2014 Chris Banes <chrisbanes@google.com> Update Spinner theme to Material

Change-Id: I3370f1f1e057d261b0c65bec8b5ae7101079465c
nternal/widget/AbsSpinnerCompat.java
nternal/widget/SpinnerCompat.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
pp/ActionBar.java
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarActivityDelegateL.java
pp/ActionBarImplBase.java
pp/ActionBarImplHC.java
pp/ActionBarImplL.java
nternal/app/NavItemSelectedListener.java
nternal/app/SupportActionBarWrapper.java
nternal/app/ToolbarActionBar.java
nternal/app/WindowCallback.java
nternal/app/WindowDecorActionBar.java
nternal/transition/ActionBarTransition.java
nternal/view/AnimatorSetCompat.java
nternal/view/menu/ActionMenuItemView.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/ActionMenuView.java
nternal/view/menu/BaseMenuPresenter.java
nternal/view/menu/ListMenuItemView.java
nternal/view/menu/ListMenuPresenter.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuPopupHelper.java
nternal/view/menu/MenuPresenter.java
nternal/view/menu/MenuView.java
nternal/view/menu/SubMenuBuilder.java
nternal/widget/AbsActionBarView.java
nternal/widget/AbsSpinnerCompat.java
nternal/widget/AbsSpinnerICS.java
nternal/widget/ActionBarContainer.java
nternal/widget/ActionBarContextView.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/ActionBarView.java
nternal/widget/ActivityChooserModel.java
nternal/widget/ActivityChooserView.java
nternal/widget/AdapterViewCompat.java
nternal/widget/AdapterViewICS.java
nternal/widget/ContentFrameLayout.java
nternal/widget/DecorContentParent.java
nternal/widget/DecorToolbar.java
nternal/widget/LinearLayoutICS.java
nternal/widget/ListPopupWindow.java
nternal/widget/ListViewCompat.java
nternal/widget/NativeActionModeAwareLayout.java
nternal/widget/ProgressBarCompat.java
nternal/widget/ProgressBarICS.java
nternal/widget/RtlSpacingHelper.java
nternal/widget/ScrollingTabContainerView.java
nternal/widget/SpinnerCompat.java
nternal/widget/SpinnerICS.java
nternal/widget/ToolbarWidgetWrapper.java
nternal/widget/ViewUtils.java
idget/ActionMenuPresenter.java
idget/ActionMenuView.java
idget/LinearLayoutCompat.java
idget/ListPopupWindow.java
idget/PopupMenu.java
idget/Toolbar.java
e9fa476efa74bbcf2b10f82ba23ace88a4cd1e38 20-Jul-2014 Ben Murdoch <benm@google.com> Fix broken java doc. DO NOT MERGE

This is a follow on from I5ed3b7a9075dff52fdc72ef52a074d8c6a7a382e.

Change-Id: I1f8b1e3df451886b2a397848f772392550cc1c1c
pp/ActionBar.java
13ab4aa8a1d337c414c887a81b9829f2286cdd37 08-Jul-2014 Chris Banes <chrisbanes@google.com> Start refactoring appcompat-v7 for Material DO NOT MERGE

* Anything pre-L now uses the compat unbundled action
bar implementation.
* Unbundled action bar is now Material-esque. More
to do here.
* Fix Base style naming convention

Change-Id: Ia4d6003e85dba16d24ce11c5e89ffcf6b8123692
(cherry picked from commit b60cbcc22f5f5f0ed64a4b8afe70877b52c115c2)
pp/ActionBar.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateApi20.java
pp/ActionBarActivityDelegateICS.java
pp/ActionBarActivityDelegateJB.java
pp/ActionBarActivityDelegateJBMR2.java
pp/ActionBarActivityDelegateL.java
pp/ActionBarImplHC.java
pp/ActionBarImplICS.java
pp/ActionBarImplJB.java
pp/ActionBarImplJBMR2.java
pp/ActionBarImplL.java
nternal/view/ActionBarPolicy.java
nternal/view/ActionModeWrapper.java
nternal/view/ActionModeWrapperJB.java
nternal/view/menu/MenuDialogHelper.java
nternal/widget/ActionBarView.java
iew/ActionMode.java
f2d3d65724fbab0517b47be63ae804599856313b 06-May-2014 RoboErik <epastern@google.com> Fix supportlib build

onWindowDismissed was removed from the API. This removes the
references to it from support lib.

Change-Id: Iea587c0a697ba86d779dff1a1c3209ebead1521c
pp/ActionBarActivityDelegateApi20.java
pp/ActionBarActivityDelegateICS.java
181d864ede9fdb56b925b1c06f790593b48203d3 08-Apr-2014 Tor Norbye <tnorbye@google.com> am 2fe1720b: Merge "Add tools metadata annotations to the appcompat library" into klp-ub-dev

* commit '2fe1720b33a0dd50fd4a5056aabd95c64090484b':
Add tools metadata annotations to the appcompat library
b933f9c89bbe890ff6753559b83c0ecf236472dd 21-Mar-2014 Tor Norbye <tnorbye@google.com> Add tools metadata annotations to the appcompat library

Change-Id: Ibe3076675d874ba05e57a0175706e41c3d801819
pp/ActionBar.java
pp/ActionBarActivity.java
idget/PopupMenu.java
db69b106f8e1421c934907c319733240b0a63511 25-Feb-2014 Will Haldean Brown <haldean@google.com> Add onWindowDismissed to implementation of Window.Callback.

Change-Id: Id916a254b3ffd269d36f82c4c4302a400fae9d6b
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateApi20.java
pp/ActionBarActivityDelegateICS.java
4bce6280c64bf2b1d2269b960c272ad0fa9c76dc 06-Jan-2014 Chris Banes <chrisbanes@google.com> Fix AndroidRuntimeException when rotating Honeycomb device

The problem is caused by always calling requestFeature() on Honeycomb
without checking if there is a content view added already. This CL
fixes by moving the feature request to the Activity theme.

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

Change-Id: Ia4de53644ef8a02feaac80ec949f032f84129113
pp/ActionBarActivityDelegateHC.java
04be4124dbed147c07fce4dfb6105755e0696dd5 19-Dec-2013 Chris Banes <chrisbanes@google.com> Merge "Fix MenuInflater creation with no Action Bar" into klp-ub-dev
313acd348f36f86f90209a4e15770374d96171b7 19-Dec-2013 Chris Banes <chrisbanes@google.com> Merge "Fix calling ActionMode optional title methods pre-v16" into klp-ub-dev
d48594f521469d15a9541972b5c5be7ba4afa4f3 13-Dec-2013 Chris Banes <chrisbanes@google.com> Fix MenuInflater creation with no Action Bar

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

Change-Id: Iebc630523bc536cfda271261280f616f51bff057
pp/ActionBarActivityDelegate.java
1506bb4d6d0a12a7a9636dd44c10360b2d94e281 18-Dec-2013 Chris Banes <chrisbanes@google.com> Merge "Fix set[Stacked/Split]Background calls" into klp-ub-dev
53b29688c108490aa3dc4bfb844bf54b87f68ac2 18-Dec-2013 Chris Banes <chrisbanes@google.com> Merge "Update ActionBar implementations to APIv18 spec" into klp-ub-dev
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
pp/ActionBar.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateICS.java
pp/ActionBarActivityDelegateJBMR2.java
pp/ActionBarImplBase.java
pp/ActionBarImplICS.java
pp/ActionBarImplJBMR2.java
nternal/widget/ActionBarView.java
18fd7433f4123ed2e725601591470455c6b7578e 16-Dec-2013 Chris Banes <chrisbanes@google.com> Fix Stacked Background filling Action Bar

Caused by Gingerbread's ColorDrawable not respecting
it's bounds.

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

Change-Id: I63d87b7ec68e3f8b7e2c5f551f2a7f757591331a
nternal/widget/ActionBarContainer.java
9eed03ba03beca1add9f1382f02c23439f937e1c 13-Dec-2013 Chris Banes <chrisbanes@google.com> Fix set[Stacked/Split]Background calls

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

Change-Id: I5e7b1e5f3d6f098113fd3085eb4b9d99509f8891
pp/ActionBarImplBase.java
pp/ActionBarImplICS.java
3e0747182163b82dd64fd0ab8489985b713ca0a8 13-Dec-2013 Chris Banes <chrisbanes@google.com> Fix calling ActionMode optional title methods pre-v16

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

Change-Id: I5febaac3f01e9ac74f7256db0f527d23cc7a8287
pp/ActionBarActivityDelegateICS.java
pp/ActionBarActivityDelegateJB.java
nternal/view/ActionModeWrapper.java
nternal/view/ActionModeWrapperJB.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
pp/ActionBarActivityDelegateBase.java
cc45ed0e507f5a71e952290c66a05eedd6030abc 01-Nov-2013 Chris Banes <chrisbanes@google.com> Merge "Fix Crash in compat Action Bar List Navigation" into klp-ub-dev
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
pp/ActionBarActivityDelegateBase.java
e8579704342766408f8e126cceb7c71c8172b27c 31-Oct-2013 Chris Banes <chrisbanes@google.com> Fix Crash in compat Action Bar List Navigation

Bug: 11283056
Change-Id: I8e7a695162a9b3422616c34a6628ec19cc71d5f3
nternal/widget/ListPopupWindow.java
b0e48446da2cb1e18a0166fbfab9c6aa19430d76 10-Sep-2013 Chris Banes <chrisbanes@google.com> Send Nav Selection to Collapsed compat Tabs

Backporting I37c59906d2950d09e0e39ca91ffad34279dd9526 to appcompat

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

Change-Id: I950bb072c25da9496668af5f2461653ee391b728
nternal/widget/ScrollingTabContainerView.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateICS.java
e59411910a07bff1602045e93760ffc6f0804f43 22-Aug-2013 Chris Banes <chrisbanes@google.com> Fix Fragments with Sub-Menus not working

The problem was that ActionBarView keeps a reference
to the old MenuBuilder, so if a menu invalidate
occurs, the wrong menu is invoked to display the submenu.

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

Change-Id: Id140c70eb437c7dd8b93dd3f93c178a096f07cbb
nternal/widget/ActionBarView.java
9f6ebbb6ff71e1b2c6a9916eb9e3ebc55a029368 22-Aug-2013 Chris Banes <chrisbanes@google.com> Merge "Styling Fixes for compat Action Bar" into jb-mr2-ub-dev
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>
pp/ActionBarActivityDelegateBase.java
nternal/widget/ActionBarOverlayLayout.java
b43f265584900a8627cfb224f0291f3b5be3a99e 05-Aug-2013 Chris Banes <chrisbanes@google.com> Styling Fixes for compat Action Bar

- Fix Tab minWidth
- Fix Progress Bar sizing
- Fix Action Bar Title/Subtitle sizing
- Ensure onConfigChange refresh Progress Bars

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

Change-Id: Ibb342b96631b036e5393a22ae16de872de88548f
nternal/widget/ActionBarView.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
pp/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
pp/ActionBarActivityDelegateBase.java
6491875ff7ec530035a9690dfcab98df2c54f909 09-Aug-2013 Chris Banes <chrisbanes@google.com> Fix Tab FragmentTransaction on ICS

At the moment the transaction given to onTabUnselected
is never committed. This is because each ft is created
within the TabWrapper, rather than globally within
the Action Bar.

Moving the ft handling up to the Action Bar means that
the correct behaviour happens: each Tab refers back to
a single ft.

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

Change-Id: I71b6ef83d46cb72450400e5abf80f216d6811b43
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarImplICS.java
6d073ad3ff82043ea7617c395413a07ac086203f 08-Aug-2013 Chris Banes <chrisbanes@google.com> Merge "Fix homeAsUp on ICS with AppCompat" into jb-mr2-ub-dev
8fcdb874200960138b32eb3b276a801f619b69b1 07-Aug-2013 Chris Banes <chrisbanes@google.com> Fix homeAsUp on ICS with AppCompat

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

Change-Id: I75cf9d356f418d44472e64fcec9972832fd609c1
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateJB.java
pp/ActionBarImplICS.java
pp/ActionBarImplJB.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>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
bd7a693a102648b06a598a10f7716594daba5d3f 05-Aug-2013 Chris Banes <chrisbanes@google.com> Merge "Fix multiple Action Modes being started on ICS+" into jb-mr2-ub-dev
bb994e828a647d6ca3c2480293e7a6e3a4c19952 01-Aug-2013 Chris Banes <chrisbanes@google.com> Automatically enable 'Display as Up' if parent set

This commit enabled the 'display as up' option if the
Activity has a parent Activity set.

Bug: 10114222
Change-Id: I89d3aeb18fb3af62f435ce7769c8953829ca193f
pp/ActionBarActivityDelegate.java
5542ad96127a1ea090e531a869634661f9430c60 01-Aug-2013 Chris Banes <chrisbanes@google.com> Fix multiple Action Modes being started on ICS+

For every startSupportActionMode call on ICS+, we were
created two native action modes. This fixes that so only
one is created.

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

Change-Id: I856cf16864cbe147a3beb646f1be3cf28f1fd472
pp/ActionBarActivityDelegateICS.java
592df2e7552ba6902c9750ab8453850fc9e30334 26-Jul-2013 Chris Banes <chrisbanes@google.com> Honor checkableBehaviour flag on ICS+

We don't currently honor the checkableBehaviour flag on
ICS+. This is due to the menu inflater not calling
MenuItemImpl.setExclusiveCheckable().

This CL makes BaseWrapper public @hide'n so that we
can call setExclusiveCheckable via reflection on the
wrapped framework Menu Item.

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

Change-Id: I3a58ec96bcee3829e0091e2882152228ee165732
nternal/view/SupportMenuInflater.java
nternal/view/menu/MenuItemWrapperICS.java
d36d2998fdbb8a42053bdd995b921d1c66d44eec 26-Jul-2013 Chris Banes <chrisbanes@google.com> Fix setHomeButtonEnabled() on ICS+

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

Change-Id: I4966ab2105f9b4bc00bfe312ad73421728995462
pp/ActionBarImplICS.java
ea1098b94b0c0617ed2a543b661c2090e38c0ac6 19-Jul-2013 Chris Banes <chrisbanes@google.com> Merge "Fix ABC's ShareActionProvider use of LinearLayout" into jb-mr2-ub-dev
1582fcfe4f727e3547ed17a2df3067234c9a4141 17-Jul-2013 Chris Banes <chrisbanes@google.com> Fix ABC's ShareActionProvider use of LinearLayout

- Renamed LinearLayout ICS' internal methods name
to not conflict with private methods added in v11+.
- Fixed ActionMenuView to make use of LinearLayoutICS'
callbacks (as per framework).
- Changed ShareActionProvider to use framework provided
LinearLayout on ICS+.

Bug: 9885077
Change-Id: Icd42b87a4f9d8f3d5c2200ca705f43c68c0400dc
nternal/view/menu/ActionMenuView.java
nternal/widget/LinearLayoutICS.java
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 17-Jul-2013 Scott Main <smain@google.com> javadoc edits for support library

Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
pp/ActionBar.java
pp/ActionBarActivity.java
iew/ActionMode.java
idget/SearchView.java
idget/ShareActionProvider.java
79c1dba5b509ae3e7c867827949d8fdfd37e8f52 16-Jul-2013 Chris Banes <chrisbanes@google.com> @hide internal.view classes in android-support-v4

I also changed the signature of MenuItemCompat.setShowAsAction(..)
to match that from the native MenuItem.

Bug: 9762228
Change-Id: I65805921ee7c3b4e2a171372113adbb80c07c25c
iew/CollapsibleActionView.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
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateICS.java
2e21b5e22c320fd7e6af86a7cc05b4b11d7a0f64 11-Jun-2013 Chris Banes <chrisbanes@google.com> Fix ABC CollapsibleActionViews on ICS+

- Fix ActionBarCompat CollapsibleActionView callbacks
not being propogated on ICS+.
- Moved support version of CollapsibleActionView from
internal to public package.
- Fix IME not showing on SearchView when expanded

Bug: 9382915

Change-Id: I17851985c014f8c56e4adaa225354a023d3177fa
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/view/CollapsibleActionView.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/widget/ActionBarView.java
iew/CollapsibleActionView.java
idget/SearchView.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
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarImplBase.java
pp/ActionBarImplHC.java
nternal/widget/NativeActionModeAwareLayout.java
89208232f3b5d1451408d787872504a190bc7ee0 31-May-2013 Chris Banes <chrisbanes@google.com> Remove Native Action Bar support for Honeycomb

- Tweaked config & bool resources so that large & xlarge
match the width qualified resources as much as possible.
- Added CompatTextView which implements textAllCaps for
all platforms.
- Added @hide to internal classes which it was missing

Bug: 9218989

Change-Id: I038d8ab7261d6c1d5cb039cd17903a43d09183c2
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarActivityDelegateHCMR1.java
pp/ActionBarActivityDelegateICS.java
pp/ActionBarImplBase.java
pp/ActionBarImplHC.java
pp/ActionBarImplICS.java
nternal/view/ActionBarPolicy.java
nternal/view/CollapsibleActionView.java
nternal/view/SupportMenuInflater.java
nternal/view/menu/ActionMenuItemView.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/BaseMenuPresenter.java
nternal/view/menu/ExpandedMenuView.java
nternal/view/menu/ListMenuItemView.java
nternal/view/menu/ListMenuPresenter.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuPresenter.java
nternal/view/menu/MenuWrapperFactory.java
nternal/view/menu/MenuWrapperHC.java
nternal/view/menu/MenuWrapperICS.java
nternal/view/menu/SubMenuBuilder.java
nternal/view/menu/SubMenuWrapperHC.java
nternal/view/menu/SubMenuWrapperICS.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/CompatTextView.java
nternal/widget/ListPopupWindow.java
nternal/widget/ScrollingTabContainerView.java
725c4409c9d876a688466249ec7d2f1bdafa5fda 30-May-2013 Jeff Brown <jeffbrown@google.com> Fix Theme.AppCompat.Light.DarkActionBar styling.

The base themes need to propagate appcompat attributes such as
actionBarWidgetTheme back into their framework counterparts to
ensure that the correct styles are applied.

This change specifically fixes one such problem but there will be
others to be resolved later as part of this bug.

Fix visibility of a couple of overridden methods in
ActionBarActivity to match that of the base class.

Bug: 9196417
Change-Id: I0799f22234109b1d6f4ef8c1bb39bc7530054c06
pp/ActionBarActivity.java
pp/ActionBarImplHC.java
ee6aa6f8752a54d01c74486eafa71a86e94d7511 30-May-2013 Chris Banes <chrisbanes@google.com> Merge "Import ShareActionProvider for ActionBarCompat" into jb-mr2-dev
e290ed32f85ff6307a53922a78684b31d30b8dc5 25-May-2013 Chris Banes <chrisbanes@google.com> Import ShareActionProvider for ActionBarCompat

Bug: 8396964

Change-Id: I1c6121cbbc518b84feb312456096c57f34021d20
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/widget/ActivityChooserModel.java
nternal/widget/ActivityChooserView.java
idget/ShareActionProvider.java
a6fc0bcd9e65ed20193976cd02500152bb39a163 23-May-2013 Chris Banes <chrisbanes@google.com> Emulate overridesItemVisibility() for ICS

This commit tries to emulate ActionProvider's
overridesItemVisibility() on ICS. Bug: 8911267

Change-Id: Iaefba21287863a1a51d7f35dc1a3d9d6a2b4ee86
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuItemWrapperJB.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
0d7ad0b89aeb8bafd4ccab0f5ccb71f89f415192 29-May-2013 Chris Banes <chrisbanes@google.com> Merge "Fix Context MenuInflater is created with" into jb-mr2-dev
9578a5eeff2a628783622a97fdd9021613df3576 29-May-2013 Chris Banes <chrisbanes@google.com> Merge "Fix drawable handling for ABC's ActionBarContainer" into jb-mr2-dev
242db97d44808da5e2f8ec45076e2353a03882a0 25-May-2013 Chris Banes <chrisbanes@google.com> Fix drawable handling for ABC's ActionBarContainer

Bug: 9131941

Change-Id: I667c01a1b5f0096dd1b77459177542d5a3025cca
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/widget/ActionBarContainer.java
45d973fcc4c43f5ea00cddd3d9b947d9e8d8fc4e 28-May-2013 Chris Banes <chrisbanes@google.com> ActionBarCompat support for ActionBarDrawerToggle

Bug: 9167781
Change-Id: I927788a093d27e26b8b693766127f1a608d1b540
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
nternal/widget/ActionBarView.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>
pp/ActionBarActivityDelegateBase.java
nternal/view/ActionBarPolicy.java
nternal/view/menu/ActionMenuItemView.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuPopupHelper.java
nternal/widget/AbsActionBarView.java
nternal/widget/ActionBarView.java
idget/SearchView.java
818041428e0aca4943fe5adc0d54dad0d36a75f4 22-May-2013 Chris Banes <chrisbanes@google.com> Import of SearchView into AppCompat

This commit imports SearchView into AppCompat:
- Drawable size has increased to ~100KB
- Removed the old SearchActionProvider

Bug: 8396910

Change-Id: If4777c5058c6035b517439a5452edb41512ee569
Signed-off-by: Chris Banes <chrisbanes@google.com>
idget/SearchActionProvider.java
idget/SearchView.java
idget/SuggestionsAdapter.java
d713f4f0643a5f6409b431f643f1ad25dba6c22f 21-May-2013 Chris Banes <chrisbanes@google.com> Fix ActionProvider.isVisible() #8911267

- Hooked up Menu Item visibility with ActionProvider
visibility for v9 and below.
- Cleaned up wrapper code around ActionProvider:
- Move base ActionProviderWrapper code from HC to ICS
- Hooked up ActionProviderWrapperJB properly

Change-Id: Ib708f285784dbf0704989a1b258b96900c8b5e15
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuItemWrapperJB.java
6f9952fd5a1dc66c584b26b9062ba6efd69ebcc7 13-May-2013 Chris Banes <chrisbanes@google.com> Tidy up Up Navigate for ActionBarActivity

These came about as part of IOSched testing yesterday.

- Split out the relevant NavUtils calls into seperate
methods allowing apps to override.
- More closely emulate v16's shouldUpRecreateTask() in
base NavUtils
- Adds an interface to TaskStackBuilder which allows
ActionBarActivity to provide the parent intent.

Change-Id: I4e158f6fa9e274f0a38ccfe0a98fc0e7cc4457b9
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
baf2251209e04f0dac4ec7e5d8c0bfc0014c4038 14-May-2013 Chris Banes <chrisbanes@google.com> Fix Context MenuInflater is created with

Looks like I missed this in the refactoring. Should
fix 8949883.

Change-Id: I6bec4d0adb9a96c83193d2d796b7a1c166da5c53
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivityDelegate.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
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
nternal/view/ActionModeWrapper.java
nternal/view/menu/BaseMenuWrapper.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuItemWrapperJB.java
nternal/view/menu/MenuWrapper.java
nternal/view/menu/MenuWrapperFactory.java
nternal/view/menu/MenuWrapperHC.java
nternal/view/menu/MenuWrapperICS.java
nternal/view/menu/SubMenuWrapperHC.java
nternal/view/menu/SubMenuWrapperICS.java
9dfa89448924b14898dae4363b3ff79b7a9b8b51 07-May-2013 Chris Banes <chrisbanes@google.com> Fix StackOverflowError in ABC: #8842602

Change-Id: If39d3a00c1d9ba8cc17e159919d4f2521794bde5
pp/ActionBarActivityDelegateHC.java
pp/ActionBarActivityDelegateHCMR1.java
34452b0d1034da026b8a1d6fe2fe4399844379d6 07-May-2013 Adam Powell <adamp@google.com> Support ActionProvider functionality from API 16

Add the API 16 ActionProvider methods regarding visibility changes to
appcompat.

Fix a previously introduced bug inflating ActionProviders.

Change-Id: Ieff63683af4515eaacd0a25fddd168a7e71006cd
nternal/view/SupportMenuInflater.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/view/menu/MenuItemWrapperICS.java
03527a1c5ca870353671fd8b97a08a989fe62012 30-Apr-2013 Chris Banes <chrisbanes@google.com> Fix provided MenuInflater for Fragments

This commit fixes the type of MenuInflater that is
given to fragments when using ActionBarActivity.
Currently, the platform version of MenuInflater is
passed through, whereas SupportMenuInflater should be.

Change-Id: I7a4504aeae2795e8d9d6f4cd4ecd20b8d4ea7602
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
nternal/view/SupportMenuInflater.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
pp/ActionBar.java
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarActivityDelegateHCMR1.java
pp/ActionBarActivityDelegateICS.java
pp/ActionBarFragment.java
pp/ActionBarFragmentCallbacks.java
pp/ActionBarImplBase.java
nternal/view/ActionModeWrapper.java
nternal/view/CollapsibleActionView.java
nternal/view/SupportMenuInflater.java
nternal/view/menu/ActionMenuItem.java
nternal/view/menu/ActionMenuItemView.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/BaseMenuWrapper.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuPopupHelper.java
nternal/view/menu/MenuPresenter.java
nternal/view/menu/MenuView.java
nternal/view/menu/MenuWrapper.java
nternal/view/menu/MenuWrapperHC.java
nternal/view/menu/MenuWrapperICS.java
nternal/view/menu/SubMenuBuilder.java
nternal/view/menu/SubMenuWrapperHC.java
nternal/view/menu/SubMenuWrapperICS.java
nternal/widget/ActionBarView.java
iew/ActionMode.java
iew/ActionProvider.java
iew/Menu.java
iew/MenuInflater.java
iew/MenuItem.java
iew/SubMenu.java
idget/PopupMenu.java
idget/SearchActionProvider.java
b5f6a045d8692186b4642d9940da65e708799d41 26-Apr-2013 Adam Powell <adamp@google.com> Merge "Remove "Compat" suffix from non-shim classes" into jb-mr2-dev
b79bd8bd1afdf165068ddafdc5fa0667f7ec4a70 26-Apr-2013 Jeff Brown <jeffbrown@google.com> Fix JavaDoc in appcompat.

Bug: 8175766
Change-Id: I4920f42f23c9623e02ba4b06466c093e2841ccf0
pp/ActionBar.java
nternal/view/CollapsibleActionView.java
nternal/view/menu/ExpandedMenuView.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuPresenter.java
nternal/widget/SpinnerICS.java
iew/ActionProvider.java
iew/Menu.java
iew/MenuItem.java
f2b7cd67036d78fd5b487b0a2dab28aee11d9c88 23-Apr-2013 Adam Powell <adamp@google.com> Remove "Compat" suffix from non-shim classes

Change-Id: I9cab9a0e7ac900b98ad019e38eb3296ea066da10
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateBase.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarImplBase.java
pp/ActionBarImplCompat.java
6d25d4c095dc89d9549479b91a28878c8d217995 20-Apr-2013 Jeff Brown <jeffbrown@google.com> Merge "appcompat: Add plumbing for fragment options menus." into jb-mr2-dev
13c7c42f2d3a695448c0920d2aa996dae96c46ee 20-Apr-2013 Jeff Brown <jeffbrown@google.com> Merge "Fix setHomeButtonEnabled() in ActionBarCompat" into jb-mr2-dev
3a1a7fff9873abbf8097c96f7654a459bf34f223 19-Apr-2013 Jeff Brown <jeffbrown@google.com> appcompat: Add plumbing for fragment options menus.

We make the callbacks available through an interface so that
developers can implement them on any fragment without having
to subclass ActionBarFragment.

The plumbing is mainly transparent to v4 support although we
needed access to a few properties.

Bug: 8661191
Change-Id: I1abce746b7b8443efd406a3e1a4b92c948c678db
pp/ActionBarActivity.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarFragment.java
pp/ActionBarFragmentCallbacks.java
5bf18cb82d15b240f8f6d45934fb963c3724b9bd 18-Apr-2013 Chris Banes <chrisbanes@google.com> Fix setHomeButtonEnabled() in ActionBarCompat

This commit fixes the relevant parts of 8643013.

The disableHome flag doesn't actually seem to do anything
(on ICS). The reason for the bug was because our version
of setHomeButtonEnabled() didn't work. Therefore the value
ActionBarPolicy.enableHomeButtonByDefault() is actually
used anywhere.

Change-Id: Ibc823ae2034d0d65843fff91449fa224a0eb289c
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarImplCompat.java
449ba8fe7056873134b0ee02ad5acb615bc7d249 18-Apr-2013 Chris Banes <chrisbanes@google.com> Fix Embed Tabs in ActionBarCompat

This commit fixes bug 8643202:
- Removed the unused action_bar_embed_tabs bool
- Set Action Bar to embed tabs when in landscape
and on large displays.
- Change ScrollingTabContainerView to use SpinnerICS
- Fixed SpinnerICS so that we have a
setOnItemClickListener.

Change-Id: I49411e4cf888425a5f0e90afa1529f6154d24051
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/view/ActionBarPolicy.java
nternal/widget/ScrollingTabContainerView.java
nternal/widget/SpinnerICS.java
9addcff1698f71fb4145f39dacaf33a9c1fef24f 11-Apr-2013 Chris Banes <chrisbanes@google.com> Enable Overflow Menu on Action Modes

This commit enables the overflow menu on
Action Modes:

- Imported styles + resources for Overflow Menu Item
- Disabled updating the List Menu showing non-action
items from the CAB.
- Fixed placement of ListPopupWindow, and removed some
unused code.
- While there I also added in an animation when showing/
hiding the CAB.

Change-Id: Id8945b63ed1138ad6279e1c3b6d9e262c40ad55e
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivityDelegateCompat.java
nternal/widget/AbsActionBarView.java
nternal/widget/ListPopupWindow.java
9a39a1a106e7cbe6daf6e246dab7e89bbecbab38 11-Apr-2013 Chris Banes <chrisbanes@google.com> Add Dividers to Action Bar and Tabs

This commit adds dividers to items on the Action Bar
and Tabs:

- Created LinearLayoutICS which extends from the
standard LinearLayout, and adds support for divider.
- Added relevant attributes for divider support.
- Remove unused drawable.
- Renamed divider drawables to match holo naming.

This commit also fixes the bug that we had some ICS
attributes set in the v7 resources. While it built
fine, Eclipse showed errors.

Change-Id: Ib23ede896b9e87180889bf49a562b4926a9a8838
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/view/menu/ActionMenuView.java
nternal/widget/LinearLayoutICS.java
ee7c9fb199e9b9af8d40a1f9e27d85465acf8301 10-Apr-2013 Chris Banes <chrisbanes@google.com> Rename Resources to have abc_ prefix

This commit renames all exposed resources to
have the abc_ prefix.

This is so that ActionBarCompat's resources
do not interfere with any Holo resources that
devs may import themsevles. This is also
if devs use tools such as 'Action Bar Style
Generator'.

This allow devs to quick see which resources
are from ABC.

Change-Id: Ib9597110469c94ee3b70c9e89d0640033aa477f9
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarImplCompat.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/ListMenuItemView.java
nternal/view/menu/ListMenuPresenter.java
nternal/view/menu/MenuDialogHelper.java
nternal/view/menu/MenuPopupHelper.java
nternal/widget/ActionBarContextView.java
nternal/widget/ActionBarView.java
nternal/widget/ScrollingTabContainerView.java
fb637c781a06f512dcaa407ebc74cbe0a5ae31a6 09-Apr-2013 Chris Banes <chrisbanes@google.com> Fix ActionBarCompat on Honeycomb v11

This commit fixes the styling on Honeycomb:
- Moved all applicable styles from v14 to v11
- Light.DarkActionBar is an alias for the std Light
theme on v11.
- Fixed getThemedContext() not being available on v11

Change-Id: I0f336164cf85387ada8d8b69a72ae92a5f7075cf
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarImplHC.java
pp/ActionBarImplICS.java
91906dd97be6c1369bcb099b1cd5f740d5d9ac63 10-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Scrub AppCompat Code and Resources" into jb-mr2-dev
d0203566f10a220ac9c76dc482319aab47adf96b 10-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Implement Up Navigation in Compat Action Bar" into jb-mr2-dev
dbfc21aa98c4a1092204854b99830a50557aa969 08-Apr-2013 Chris Banes <chrisbanes@google.com> Add support version of PopupMenu to AppCompat

This commit adds PopupMenu to AppCompat, along with
the necessary styles.

Change-Id: I9e546bb91a6c32196cdc4f77329957dd2e137326
Signed-off-by: Chris Banes <chrisbanes@google.com>
idget/PopupMenu.java
d900fe072335d488f883585e3f686ef955d1ccc9 08-Apr-2013 Chris Banes <chrisbanes@google.com> Scrub AppCompat Code and Resources

This commit removes TODOs, commented out code
and other dead code from AppCompat.

Change-Id: I7786b68465630bc7bdda181e3b121478ef20fd73
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarImplCompat.java
pp/ActionBarImplHC.java
nternal/view/menu/ActionMenuItemView.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/ListPopupWindow.java
51e35e07a00e4b56a1ca330323e69ef9258c4e57 04-Apr-2013 Chris Banes <chrisbanes@google.com> Implement Up Navigation in Compat Action Bar

This commits add ancestral navigation to the compat
action bar. It uses the v4 class NavUtils for the
large part:

- Added support versions of up task creation methods
to ActionBarActivity (onCreateNavigateUpTaskStack, etc)
- Moved menu selected logic out of delegates and into
ActionBarActivity.
- Add finishAffinity shim into v4 support.

Change-Id: I2b937434c5820aca162fdfa5665adc33d957bfb9
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
97b0db12faafe07b5f1d981c1a1c1f8e02773c8d 04-Apr-2013 Chris Banes <chrisbanes@google.com> Fix Home Action Bar Item

At the moment the Home action bar doesn't actually work,
the necessary code was commented out as we can't use the
same method as the framework.

So I've created a Callback interface in ActionBarView,
which it calls when the home icon is clicked.

At the same time I've changed the home menu id to be
android.R.id.home so devs don't have to catch two
different ids.

Change-Id: If3b67e437b993466ffd158392680fcea0e4ca79f
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivityDelegateCompat.java
nternal/widget/ActionBarView.java
b522f57d119f63f3c397ecfec94aaf6459e9f136 04-Apr-2013 Chris Banes <chrisbanes@google.com> Override and final-ise Menu methods

This commit overrides and final-ises the standard
framework methods in ActionBarActivity. They should
not be overriden by devs as they are no longer called.

Change-Id: I18d0601bfa6b37cf247dea16ec767ac0dcf9afbf
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
e77f24fdb79c4c0d9d4ae5f7c5e040f4a5bcab42 04-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Animate Action Bar show/hide" into jb-mr2-dev
a5dcd4264ed4ac7ab69d9f7045685e123a9f1e86 04-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Add Progress Bar support to Action Bar" into jb-mr2-dev
a1fae63dbeeef71c2daa25bfcaa2348bffc369aa 03-Apr-2013 Chris Banes <chrisbanes@google.com> Animate Action Bar show/hide

This commit animates the showing or hiding of
the compat Action Bar.

This commit also fixes the hiding of the split
Action Bar (animated or not).

Change-Id: I38f1096be719809722c85ceffec14ebeac291863
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarImplCompat.java
ed34e2dffd0ce7da89063d06fd3b25687ca367a2 02-Apr-2013 Chris Banes <chrisbanes@google.com> Add Progress Bar support to Action Bar

This commit adds support for displaying a progress
bar on the action:
- Support version of Activity.setProgress* have been
added to ActionBarActivity
- We use the platform's ProgressBar styles, so remove
the now unused drawable.
- As a bit of tidy-up, I renamed the internal version
of requestWindowFeature to match the public name.
- Added ICS version of ProgressBar.java. This was
was needed as ICS added a constructor which we
need.

Change-Id: I865fb3bc3039b30b9f784e1e7e8f5d8d9b5744d3
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
nternal/widget/ActionBarView.java
nternal/widget/ProgressBarICS.java
a2b9cdba583eed47107c1c97bd555c9a181860c2 27-Mar-2013 Chris Banes <chrisbanes@google.com> Fix List Menu Text Colour

This commit fixes a few things around the text
colour on the list menu:

- Combats against <v9 and v9-10 different panel
backgrounds. We now use TextAppearance.Widget.IconMenu.Item
as the base theme and increase text size.
- Fix Sub Menu text colour by using primary_text_light
instead of attr text colours (as the bg is always light
<v11).

Change-Id: I27bc6090ce4e5f428482a0a55d842647d49b8d9f
Signed-off-by: Chris Banes <chrisbanes@google.com>
nternal/view/menu/MenuDialogHelper.java
556ac47ce764a4a9320b5ac914536e9da2524176 02-Apr-2013 Chris Banes <chrisbanes@google.com> Mimic PhoneWindow's initial menu creation (compat)

This commit re-works the initial menu creation in
ActionBarActivityDelegateCompat. This means that
supportInvalidateOptionsMenu() can be called anywhere
in onCreate without problem. Fixes 8474759.
As a result, the now unused onPostCreate calls have
been removed.

This is exactly the same change as
Ib376dfc52b51a066a117f0006cd02d50342186ac (which was
approved), but I somehow managed to break my git branch
while rebasing.

Change-Id: I040eff668eb04c68700d8520cd712acf8f61281a
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
5a2bcc375e046c5b6644dcc4d331d3fca0778aed 28-Mar-2013 Chris Banes <chrisbanes@google.com> Tidy up Delegates + Enforce AppCompat theme usage

This commit moves all variables and state into the relevant
delegate classes. This means that ActionBarActivity is now
merely a call proxy and entry point.

As we now have a common class amongst the delegates, I also
fixed the issue where we do not enforce the usage of AppCompat
styles. This will fix issue 8124469.

Change-Id: If055906e754ceda471260f3160009cb384703ecd
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
d8222dedaacae30fa03bee346ebf42ee75b39928 26-Mar-2013 Chris Banes <chrisbanes@google.com> Expose support version of contextual Action Bar

This commit exposes the contextual Action Bar
to developers:

- More drawables imported (sigh).
- Using standard ActionButton style for Close button,
didn't see the point of adding yet more drawables
- Moved ActionMode.java out of internal
- Added ActionModeWrapper for HC+
- Added onBackPressed support
- Added relevant callbacks to ActionBarActivity

Change-Id: I02996621e810db6875c86cc5965ecac769459c16
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarImplCompat.java
nternal/view/ActionMode.java
nternal/view/ActionModeWrapper.java
nternal/widget/ActionBarContainer.java
nternal/widget/ActionBarContextView.java
iew/ActionMode.java
bc3b8a6d179fce25c4fedbcb8fe1be3299aa7f32 27-Mar-2013 Chris Banes <chrisbanes@google.com> Merge "Add Split Action Bar Support" into jb-mr2-dev
3954d59cb6073615ead9dd34cbdba9e16b8c5b6f 25-Mar-2013 Chris Banes <chrisbanes@google.com> Add Split Action Bar Support

This commit fixes support for the split action bar
on devices running < 3.0:

- Imported ab_bottom* drawables
- Added windowSplitActionBar attri
- Added metadata parsing so which allows per-Activity
enabling of split when narrow:
<meta-data android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />

- The Activity delegate has been split out into a
seperate abstract base class for common code.

Change-Id: I9eba5c11aec69f3458de4f84aefc6fbd6c91b4c6
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegate.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarActivityDelegateICS.java
22ee98ed4436f2fd803e8158d61ccb867cf432bc 25-Mar-2013 Chris Banes <chrisbanes@google.com> Merge "Extract platform impls out of ActionBarActivity" into jb-mr2-dev
aaa4944c9c8aaa0f804d0852f8eed02ff07989b8 25-Mar-2013 Chris Banes <chrisbanes@google.com> Merge "Proxy ICS Action Bar calls" into jb-mr2-dev
6386aac7ea9be44d23dcea28d9a02110c174e988 25-Mar-2013 Chris Banes <chrisbanes@google.com> Extract platform impls out of ActionBarActivity

At the moment ActionBarActivity is in a bit of a mess
as it contains all of the platform specific delegate
implementations as static inner classes.

This commit extracts out each implementation into it's
own source file. This makes it easier to development,
and makes ActionBarActivity.java more readable.

Change-Id: I9c7ad5861ce62f21bc6c559836f0cea22224ee2b
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarActivity.java
pp/ActionBarActivityDelegateCompat.java
pp/ActionBarActivityDelegateHC.java
pp/ActionBarActivityDelegateICS.java
ea8b40c447dafbec701c63114f4ff77cc1d49471 25-Mar-2013 Chris Banes <chrisbanes@google.com> Proxy ICS Action Bar calls

Methods added to ActionBar.java in ICS were previously
not proxied. This commit fixes this so that methods
such as setLogo() work.

Change-Id: I6a8e4e31a62b032fd36f7d218defb9cdf5f51ffd
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarImplHC.java
pp/ActionBarImplICS.java
aa3d0bcfe4431f562875b5d21c7f44092d52a6e4 25-Mar-2013 Chris Banes <chrisbanes@google.com> Don't wrap null objects for ActionBar

This fixes 8417871. We would wrap null listeners
which would mean that the Action Bar would
think it has a listener, etc when it actually
doesn't.

Change-Id: I7f86bf6f965331f8c62094be60144b163a76ac1a
Signed-off-by: Chris Banes <chrisbanes@google.com>
pp/ActionBarImplHC.java
e6072e2d918169bd827cf7431347fb648124c227 21-Mar-2013 Jeff Brown <jeffbrown@google.com> Clean up action bar support library.

Small initial refactoring. More to come.

Added a SearchActionProvider to make it easy to embed
SearchViewCompat within a support library action bar.

Bug: 8175766
Change-Id: I4ddb16d8fce5d638a76027446128f7462c2095ce
pp/ActionBarActivity.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/widget/ListPopupWindow.java
iew/ActionProvider.java
idget/SearchActionProvider.java
da10fdd1400ecfd8d7f2e55651dd528d0614dfc5 19-Mar-2013 Jeff Brown <jeffbrown@google.com> Move appcompat library to v7 package.

Moved most of the options menu related functionality out of v4
support lib into appcompat where it belongs. These two libraries
have very different design philosophies and it is important that
they remain untangled.

The support action bar options menu is broken by this change but
will be fixed in later patches after some refactoring to more
fully express the facade-like nature of the appcompat library.

Collapsed the appcompat eclair, honeycomb and ics folders into
one src folder because the layering did not make any sense.
All of these folders were providing portions of the API.
The layering will be reconstructed and improved in later patches.

Moved implementation types into an internal package within appcompat
to prevent them from leaking into the API.

Changed the base package name to android.support.v7, similar
to the gridlayout support lib.

Bug: 8175766
Change-Id: I538cbe08310e63e96a2a9fed0b8636eeda530f2c
pp/ActionBar.java
pp/ActionBarActivity.java
pp/ActionBarImplCompat.java
pp/ActionBarImplHC.java
pp/ActionBarImplICS.java
nternal/view/ActionBarPolicy.java
nternal/view/ActionMode.java
nternal/view/CollapsibleActionView.java
nternal/view/SupportMenuInflater.java
nternal/view/menu/ActionMenuItem.java
nternal/view/menu/ActionMenuItemView.java
nternal/view/menu/ActionMenuPresenter.java
nternal/view/menu/ActionMenuView.java
nternal/view/menu/BaseMenuPresenter.java
nternal/view/menu/BaseMenuWrapper.java
nternal/view/menu/BaseWrapper.java
nternal/view/menu/ExpandedMenuView.java
nternal/view/menu/ListMenuItemView.java
nternal/view/menu/ListMenuPresenter.java
nternal/view/menu/MenuBuilder.java
nternal/view/menu/MenuDialogHelper.java
nternal/view/menu/MenuItemImpl.java
nternal/view/menu/MenuItemWrapperHC.java
nternal/view/menu/MenuItemWrapperICS.java
nternal/view/menu/MenuPopupHelper.java
nternal/view/menu/MenuPresenter.java
nternal/view/menu/MenuView.java
nternal/view/menu/MenuWrapper.java
nternal/view/menu/MenuWrapperHC.java
nternal/view/menu/MenuWrapperICS.java
nternal/view/menu/SubMenuBuilder.java
nternal/view/menu/SubMenuWrapperHC.java
nternal/view/menu/SubMenuWrapperICS.java
nternal/widget/AbsActionBarView.java
nternal/widget/AbsSpinnerICS.java
nternal/widget/ActionBarContainer.java
nternal/widget/ActionBarContextView.java
nternal/widget/ActionBarOverlayLayout.java
nternal/widget/ActionBarView.java
nternal/widget/AdapterViewICS.java
nternal/widget/ListPopupWindow.java
nternal/widget/ScrollingTabContainerView.java
nternal/widget/SpinnerICS.java
iew/ActionProvider.java
iew/Menu.java
iew/MenuInflater.java
iew/MenuItem.java
iew/SubMenu.java