History log of /frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
905bcd294a7351749c60382eab03aa0c679e08bb 13-Apr-2017 Alan Viverette <alanv@google.com> Un-suppress NewApi lint where applicable

Reduces scope where NewApi must be retained. Updates media compat
code to use BuildCompat directly rather than checking SDK_INT
against 26 (which is not a real SDK_INT on any devices yet).

Test: ./gradlew lint
Change-Id: I052641ae0540605559ad68132ef0470bc8dc3f22
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
613689efde3186aa87a2d541ba8ba72402f090e2 08-Mar-2017 Kirill Grouchnikov <kirillg@google.com> Proper visuals for thumb of disabled switch

Nested color state lists don't work (second level is
flattened to default color and doesn't pass on the
state). Instead, construct the relevant color state
list in code as was done before ag/799280

Test: visual inspection
Bug: 31545209
Change-Id: I79c0af44edd649c4e2a68b972a677340e1ed615a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
c5337ec54be657386b164b93a88e7d03d6b207b9 24-Feb-2017 Andrei Stingaceanu <stg@google.com> Merge "AppCompatDrawableManager - s/SparseArray/SparseArrayCompat" into nyc-support-25.3-dev am: c964466832
am: 95df3bae64

Change-Id: I6eab26b5b264e7a326f422b949a841739af0ae9e
4ec7a936d40164b0f001b9ea860fa7f29754b228 24-Feb-2017 Andrei Stingaceanu <stg@google.com> AppCompatDrawableManager - s/SparseArray/SparseArrayCompat

Attempt to fix crash caught in the wild which cannot be reproduced. A
layout was getting inflated that subclassed AppCompatImageView and it
crashed in the superclass's constructor while calling
SparseArray#append(...)

Bug: 34098025
Test: tests pass
Change-Id: Ibce0c0bb334726e408e0f93a6ab64117786a9aad
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
e22ae93397361d1bd5568fa51d82e2f7553712e1 08-Dec-2016 Alan Viverette <alanv@google.com> Remove unnecessary @TargetApi annotations

Bug: 33412815
Test: ./gradlew assemble
Change-Id: I0be3358fb97d6e637357c253f3f43f39355a643a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
f39fda5f5a43ca50ea942da561cbe4eb9a93be8a 22-Nov-2016 Chris Banes <chrisbanes@google.com> Fix custom tint showing as disabled pre-Lollipop

Also unifies the contract that we expect for button
tinting: if a developer provides a tint they are
responsible for all of it (including the disabled tint).

Test: included
BUG: 31303357

Change-Id: I7f654d7dcd3f7c99ce4bab754eb447eb45e1322f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
8e10080c914d1ad0784394fa3026b85535535847 18-Nov-2016 Aurimas Liutikas <aurimas@google.com> Move from GROUP_ID to LIBRARY_GROUP annotations

- GROUP_ID was deprecated in favor of LIBRARY_GROUP.
- Fix import order in touched files.

Test: ./gradlew assemble assembleAndroidTest
Change-Id: I2a774e93215090f42262fb86cf8e841f2a546a4f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
af6b251c15dab2237fdf100b5ebb9c0851c2d490 16-Nov-2016 Alan Viverette <alanv@google.com> Adds working lint target to support lib build, more workarounds

Explicitly disable on v17 leanback and v7 preference, which need
some work. Suppress issues due to Lint failing to distinguish locally-
defined methods from framework methods.

Depends on fullsdk project, which is NOT in the default checkout.

Bug: 29630077
Test: ./gradlew lint && ./gradlew assemble
Change-Id: If8da576a8f9e2a431bc60a473f0c36054818d7c1
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
8f886fe8c7e23fe6ccb8734167c960c2ed3429c3 25-Oct-2016 Alan Viverette <alanv@google.com> Annotate support classes with RequiresApi / TargetApi

Also inlines version codes in SDK_INT checks so that lint
understands them. Removes some unnecessary TargetApi annotations.

Bug: 29630077
Change-Id: I67a9235480ca14711b0496a54beca5c0e6c6b2d1
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
95276d3d3d07337500b6255d6a6ae031591784f3 28-Sep-2016 Teng-Hui Zhu <ztenghui@google.com> Update JavaDoc for VectorDrawableCompat and related comments

b/31076308
b/31782834

Change-Id: I53cd115ad2522c96ec4bbe70417e0f9dd8a9a90a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b 25-Aug-2016 Alan Viverette <alanv@google.com> Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations

Also removes some unnecessary @hide annotations on classes that wouldn't
have shown up in docs anyway due to package/private visibility or NO_DOCS.

Bug: 27937193
Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
2c1bad7ecd5879bf0f29ce2ce1bc5bd67a3f4682 25-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-v7-appcompat.

Change private methods to be package protected to avoid extra methods
that get added to be able to access them from inner classes.

This CL saves 196 methods in our jar.

Bug: 31075707
Change-Id: I2592b845b920384ff523fe130f634d5808a382a8
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
d3ec2b534269ba9c478151fc172173d528bf0a19 25-Aug-2016 Tenghui Zhu <ztenghui@google.com> Merge "VDC and AVDC fallback on framework, only on NYC+" into nyc-mr1-dev
0b8e0916ede7eb212e7d906956c5137a9b9dfe65 25-Aug-2016 Chris Banes <chrisbanes@google.com> Make text select handle drawables have default tint

Light are tinted with blue-grey 500, dark are
tinted with blue-grey 200.

Change-Id: I851e6f154e7c380ba63bbaf5a00e6b25cb24c73b
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
c59ac731f7d38ee41d0aba567a9d3b77b40df628 23-Aug-2016 Teng-Hui Zhu <ztenghui@google.com> VDC and AVDC fallback on framework, only on NYC+

fix:b/29990979

Change-Id: I4b56ca0d9cf213de7cec66f1fb138fdc5af6096f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
dfdb7ac7893845f052e27c8c705b0708524b6a91 11-Aug-2016 Chris Banes <chrisbanes@google.com> Notify AppCompatDrawableManager on config changes

For this CL we will just make it purge the cache,
but we should make it more intelligent in a future
release.

BUG: 30788876
Change-Id: Ic81dfa9269b534f677e74ac16e3d4f44e4f2102b
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
3a5aeed1e19247ea088691186500877b4e3f7d69 26-Jul-2016 Chris Banes <chrisbanes@google.com> Change vector setup check to use non-themed drawable

Since we will soon have a public API for getDrawable(),
we should make sure that our setup check works when the
theme doesn't contain AppCompat attributes.

Previously we were using the back icon, which references
AppCompat theme attrs.

BUG: 30361033
Change-Id: I8eb215293cdf6dc7832a503ffd1b0040c557e141
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
4c99f0e29b0926d8e5de44b7e3980d47f052f04c 24-Jun-2016 Chris Banes <chrisbanes@google.com> Add AppCompatResources.getDrawable()

This CL adds the new public method, which just
proxies to AppCompatDrawableManager for now. Also
moved all internal calls of
AppCompatDrawableManager.getDrawable() to the new method.

Looks like a huge commit, but it's mostly just moving
things to use the new method.

BUG: 29564497
Change-Id: Ie1603cc83d58333d70b90aefcfaf21fd367081ae
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
c3fa0c344f27c192cf69c5f608d5dc7073a4dfb8 26-May-2016 Chris Banes <chrisbanes@google.com> Fix Button + custom tint pre-Lollipop

Currently all background touch highlighting for
Buttons is baked into the internal tint on KK and
below. When a developer sets a custom tint, the interal
tint is no longer used, meaning they lose all touch
highlighting (unless they bake it in themselves).

This CL moves us much closer to what happens on Lollipop
and above. We still use a tint for touch highlights but
use the custom tint as an input into its creation.

All background tinting tests continue to pass.

BUG: 28659547

Change-Id: Ie5135863143b82fc7f03850761dcb1d8ac8e596e
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
c72a543b1cd62424ee198866f71cb3184f2e95a1 26-May-2016 Yuichi Araki <yaraki@google.com> Merge "Avoid infinite loop in AppCompatDrawableManager" into nyc-dev am: 2ff71cdecb am: ddf32f2ae1
am: 702eda744e

* commit '702eda744e44a125af2cd7a3868f1c50b48c02fc':
Avoid infinite loop in AppCompatDrawableManager

Change-Id: I68208604b228855f0bbf0dd6af48c9bd3d981e79
70d10816465bf5844901adab283ae7ab3e041396 26-May-2016 Chris Banes <chrisbanes@google.com> Backport Material text handles pre-Lollipop

BUG: 28896163
Change-Id: I4cb4ffd31fd0438616b96358b393141b914a20b3
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
dd61be0d0da04cc63c9c41c1b82348c20b2bf1cd 26-May-2016 Yuichi Araki <yaraki@google.com> Avoid infinite loop in AppCompatDrawableManager

Bug: 28971359
Change-Id: Ia9192ceb2b138f382d30622959a2772298ba1b30
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
9ccbe0f4fa88c4ec959e1bdfaaa42caedf6886cc 23-May-2016 Teng-Hui Zhu <ztenghui@google.com> Fix VectorDrawableSetup checking

Without this fix, the check will not really happen.

b/26979304

Change-Id: I3e7c4dabe05331fe3141a5c9082daab3ede98ae4
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
a59882b82ecd74c79e05538a0962646d003d4c0e 09-May-2016 Chris Banes <chrisbanes@google.com> Revert vector drawables for menu icons

Since they theoretically can be used by the
framework action mode, we should keep the icons as
bitmaps pre-L. We use the framework assets on
Lollipop and beyond anyway.

BUG: 28657836
Change-Id: Ia9aa00b98cef6dd5ff6c5d80c98c08773d7f6540
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
b6bac0a3cca4c806693c5dd0c9dce60fe80b5233 06-May-2016 Chris Banes <chrisbanes@google.com> Revert use of vector assets for check/radio < API 21

Since these drawables can be referenced from themes
there is more chance of them being used in places
we can't control. This CL reverts these drawables
back to their raster versions so that they work
everywhere.

BUG: 28627367
Change-Id: I148a67117bf47901a89bd0a089c71a3fd4859f92
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
15aeaf26caa61ed5f3cd367044801d03c1a0a2b5 30-Apr-2016 Chris Banes <chrisbanes@google.com> Add AppCompatResources class

AppCompat provides provides backports for a number
of resources. Currently all of the functionality
is implicit, but this CL adds the AppCompatResources
class to expose it.

First up is getColorStateList().

BUG: 28476349
Change-Id: If50bb8ba6aeb2db99e99017be68343a8f4750ed4
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
e2ab9873e9196e5e980af29bc3f4b8ba9d6713d8 21-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Add vectors within resources back behind an API" into mnc-ub-dev
am: 4a747ca817

* commit '4a747ca817a3ed6160771f0e559240a0f7f4f0cb':
Add vectors within resources back behind an API

Change-Id: Ie759675975f5fd8e594d2e13465780f8324006d9
5fa121a1f51114f3a2f6d705139e83c0e0aea610 18-Apr-2016 Chris Banes <chrisbanes@google.com> Add vectors within resources back behind an API

This adds back in the functionality removed in
Iad401718e51da15fddbd7ff88e41743dca40ad04, but
behind an API, defaulting to disabled.

Removing functionality wasn't good, but we needed
to do it. This enables developers to use the functionality
again, but having to explicitly opt in with the
associated caveats.

BUG: 28186451

Change-Id: Ic99b6319fdd58a5a6ece19b2fbf88c148bfd0618
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
ea88ed0416b351bd4406f09412280bdcc4a52291 04-Apr-2016 Chris Banes <chrisbanes@google.com> Back out TintResources changes DO NOT MERGE ANYWHERE

They were causing memory and configuration issues
therefore we need to back it out. This will revert
the functionality of being able to reference vector
drawables from within resources, but it's a necessary
cost.

We still need TintResources, but it's now back to being
a wrapper object which does not cause any issues.

BUG: 27877272
BUG: 27808232

Change-Id: Iad401718e51da15fddbd7ff88e41743dca40ad04
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
60cc94cdf2f9dfd10f2fe0b3fa0fa438d51df271 04-Apr-2016 Chris Banes <chrisbanes@google.com> Back out TintResources changes

They were causing memory and configuration issues
therefore we need to back it out. This will revert
the functionality of being able to reference vector
drawables from within resources, but it's a necessary
cost.

We still need TintResources, but it's now back to being
a wrapper object which does not cause any issues.

BUG: 27877272
BUG: 27808232

Change-Id: Iad401718e51da15fddbd7ff88e41743dca40ad04
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
ab9d2bf6fe28ff4a95985526daa128239c03d821 17-Mar-2016 Teng-Hui Zhu <ztenghui@google.com> Use VDC for API 21 and 22 to workaround the ImageView scaling issue

The appCompat change is independent of the change inside VDC and AVDC.
However, it is better to keep them behaves consistently, such that dev using
VDC / AVDC directly by JAVA will have the same behavior.

b/27449545

Change-Id: Idd3115ec00651885dc5a32c8e38a26d0fd3eb63d
(cherry picked from commit 80e3ecf1aae0badd8056206db0614e9b9d1934b5)
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
80e3ecf1aae0badd8056206db0614e9b9d1934b5 17-Mar-2016 Teng-Hui Zhu <ztenghui@google.com> Use VDC for API 21 and 22 to workaround the ImageView scaling issue

The appCompat change is independent of the change inside VDC and AVDC.
However, it is better to keep them behaves consistently, such that dev using
VDC / AVDC directly by JAVA will have the same behavior.

b/27449545

Change-Id: Idd3115ec00651885dc5a32c8e38a26d0fd3eb63d
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
a0dc834f6687dd7977c6924116b80c3d94f87666 11-Mar-2016 Alan Viverette <alanv@google.com> Merge "Revert "Revert AppCompat's use of VDC" for v24 preview #2" into nyc-dev
eb648620b291eabbb5523f649baef5abb2e4687b 11-Mar-2016 Alan Viverette <alanv@google.com> Revert "Revert AppCompat's use of VDC" for v24 preview #2

This reverts commit 000c3b61b4f8a8e96060aeef662eb728101b83b9.

Change-Id: I1d60345b68b1ef76a92523865124d85bf29ac654
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
077be15625037f9f7e5d79a56132b75351752e05 10-Mar-2016 Chris Banes <chrisbanes@google.com> resolve merge conflicts of 1fc0e8c2a9 to nyc-dev

Change-Id: I152464b2dabc9fb01c9423b8f4668df9074f6318
a1a9092aba48f3ca6400ff53f5f4734752180e81 10-Mar-2016 Chris Banes <chrisbanes@google.com> Fix Widget.AppCompat.Button.Borderless compat tint

Caused by use using the tint of the normal button.
Fixed by using a new tint with a base color of
transparent.

BUG: 27586753
Change-Id: I2827ac769cf32a529dc0415b4276fc8d4a3b4aae
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
000c3b61b4f8a8e96060aeef662eb728101b83b9 02-Mar-2016 Chris Banes <chrisbanes@google.com> Revert AppCompat's use of VDC

It causes too many problems from a build perspective
for now. External developers can still use <vector>
drawables through AppCompat, it's just that the library
does not use them itself, and therefore force developers
to update their build config.

BUG: 27453786

Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
04afe03a1e609f3e4e34a13a7eb0f22594cfe18b 02-Mar-2016 Chris Banes <chrisbanes@google.com> Revert AppCompat's use of VDC

It causes too many problems from a build perspective
for now. External developers can still use <vector>
drawables through AppCompat, it's just that the library
does not use them itself, and therefore force developers
to update their build config.

BUG: 27453786

Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
73b208391b14be0c8e9fd4d7a4e36a8f4c16da77 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Throw exception if build config incorrect for VDC" into mnc-ub-dev
am: b0fbbfc685

* commit 'b0fbbfc685add0203e74e20cc6679a5a091e75bd':
Throw exception if build config incorrect for VDC
ba13a44cd6db80ec983b1ed678b7dbeab04056a1 26-Feb-2016 Chris Banes <chrisbanes@google.com> Throw exception if build config incorrect for VDC

Since AppCompat uses VDC extensively, we should not
support any build configuration which disrupts that.
This CL checks that a known drawable in AppCompat
decodes as a VD/VDC. If not, we know that something
is wrong.

BUG: 27375923

Change-Id: I0c69d81eb965907b5e3f0a375cf3c7d13042ddb5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
5d92ff3f3b032aed483833eade397fbf13748493 26-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "AppCompat drawable updates" into nyc-dev
74433e220541f8236f4e01f658a96854b29acfd1 23-Feb-2016 Chris Banes <chrisbanes@google.com> AppCompat drawable updates

- Use vector search icon asset. Seems that
this was missed in the vector update.
- Remove old style RatingBar drawables and update
to the new ones.

Change-Id: Icf55c54fc4a7b1f723b02a4f090fd492e6dbb845
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
593d8bcc82c01a559f737dfcbc6e806005300a64 22-Feb-2016 Chris Banes <chrisbanes@google.com> Add ThemeOverlay.AppCompat.Dialog themes

We've now also moved to tinted backgrounds on
Dialogs. Woooooo.

BUG: 26954228

Change-Id: I365007b230a53b5a88edf30e9bfab2eaed407819
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
b19cba1c83a68efb5c18ef74e4e5d376fa166625 22-Feb-2016 Chris Banes <chrisbanes@google.com> Backport SeekBar tick mark to AppCompat

BUG: 26484001

Change-Id: I92c961972d4a6abe639ee288d03be4e5e7517dd8
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
e6c800a4b82cad69b8a6f6aaae0be47823eddf8f 29-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Integrate AVDC into AppCompat" into mnc-ub-dev am: 6e67e2a5a0
am: cc19e23b3e

* commit 'cc19e23b3ec03a8fa0205d27ac2cfc762138df59':
Integrate AVDC into AppCompat
bd3494de1d97206f366f52641a14b21eb06a7022 27-Jan-2016 Chris Banes <chrisbanes@google.com> Integrate AVDC into AppCompat

BUG: 26638431

Change-Id: I94f5ca63099c1118575ac0b3bf9faabb2a795757
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
25cf829385725f2a75c556f7bc2af67e71bfa668 13-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Add a workaround for VectorDrawable issues on API 21" into mnc-ub-dev am: 41ef2bdbd6
am: bdf10ee2c3

* commit 'bdf10ee2c30a61b064a044f5aefd6670edc84cf4':
Add a workaround for VectorDrawable issues on API 21
aaa85b7d563d27fdf10048dd619a317451477ad5 12-Jan-2016 Chris Banes <chrisbanes@google.com> Add a workaround for VectorDrawable issues on API 21

It seems to have an issue on API 21 where it doesn't create
its internal mTintFilter. Fixed by toggling its state
to force a tint filter creation.

BUG: 26198700
Change-Id: If692e468bf3fb34009138af734cfe3279e4b78d8
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
1913f27a85db05113ae008124914538dddd35093 11-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Optimizations for AppCompat + VDC integration" into mnc-ub-dev am: aaeb299fb3
am: 93c280f869

* commit '93c280f869a22738a242f7d72a860e3928128501':
Optimizations for AppCompat + VDC integration
9f63864c84e3d48841d553521468c7a27189c4f0 08-Jan-2016 Chris Banes <chrisbanes@google.com> Optimizations for AppCompat + VDC integration

- Only installs the delegate if we need it (< API 21)
- Use a Drawable cache for delegate created drawables
(ala Resources).
- Use an instance cache for TintContextWrapper. Previously
we were creating one for nearly view, which also meant that
we were creating a new Theme instance for every view.

BUG: 26451702

Change-Id: I36af2f36a57de109710681877ea67c1e4ea652a5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
df5f2693215b187bd02d1dec381847b822a6fd7a 21-Dec-2015 Chris Banes <chrisbanes@google.com> resolve merge conflicts of de378bb0bb to master.

Change-Id: Ide28749331ccba403bfe01c5221801826a3d71e1
e4beadba70aecabbd7f6677943ab7c0b94809b8a 10-Nov-2015 Chris Banes <chrisbanes@google.com> AppCompat + VectorDrawableCompat

AppCompat now depends on VectorDrawableCompat and makes use
of it for certain drawables (radio button, checkmark, back, etc).

We make use of the few extension points in the Drawable loading
system to make this possible. Most drawable loading happens
in Resources.loadDrawable() which can't be overriden. On API 19
and below though, most DrawableContainers load their child
drawables through Resources.getDrawable(), which we can hook into.

This means that a <vector> resource file can be loaded as long as it
is wrapped in a seperate DrawableContainer (Inset, StateList, etc).

For the times that wrapping the drawable isn't an option, we now also
have a app:srcCompat attribution on ImageView and ImageButton.

AppCompat statically compiles in VDC into the Make build artifacts.
This is to aid migration. Gradle is unaffected.

Change-Id: If2ab63e561354fe290e5df47e7560533725175fc
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
36a0db4dd02ebf5e839a9fed839d66eb04dad013 17-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Workaround mutate() bug in GradientDrawable pre-ICS" into mnc-ub-dev am: 163a3271fe
am: d2ef3c5695

* commit 'd2ef3c5695a0e5048096281e24719fc4c70c3f10':
Workaround mutate() bug in GradientDrawable pre-ICS
d20d889e7abef50efbaf6e975100a8fb73409b13 17-Dec-2015 Chris Banes <chrisbanes@google.com> Workaround mutate() bug in GradientDrawable pre-ICS

We now also only call mutate() on Drawables if we
actually mutate them in some way.

BUG: 26231173

Change-Id: I3971721f33cd437f50c55bad4a95d20e1ebb5c78
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
18f9db768de625a0f340e30487531d99d1bc489e 11-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Backport missing RatingBar styles" into mnc-ub-dev am: 7c184f7ee8
am: a1eadc76e6

* commit 'a1eadc76e68e814b5b49590d97b821b0ac206635':
Backport missing RatingBar styles
7c8ba0f0cd06a684132260d36840658be317d4c7 10-Dec-2015 Chris Banes <chrisbanes@google.com> Backport missing RatingBar styles

BUG: 19574820
Change-Id: I6d16615a7c9edf72f979bb484dfa863d58276197
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
f570d3081fb4f54dba6486b4a3f7b00d3819dc19 20-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Don\'t mutate StateListDrawables on API 7" into mnc-ub-dev am: 5dca16fbd3
am: 25883b2b7a

* commit '25883b2b7a23cb86b422e02122d492ce7de9bbfb':
Don't mutate StateListDrawables on API 7
d57359e205b2c04a4f0f0ecf9dcb8d6086e75663 19-Nov-2015 Chris Banes <chrisbanes@google.com> Don't mutate StateListDrawables on API 7

BUG: 25787417
Change-Id: I6376d0f96cd429d1bfe77b104d91461baed49645
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
962f72d4691edb762f658a92fb971bc559ba18e6 11-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Workaround TextInputLayout state changes becoming permanent" into mnc-ub-dev am: 459155dd30
am: 810efa6b4f

* commit '810efa6b4ffc687db1cfe717f690afe0612920d1':
Workaround TextInputLayout state changes becoming permanent
fe1cbed21122206b7a4af97790ade439d49421d8 02-Nov-2015 Chris Banes <chrisbanes@google.com> Workaround TextInputLayout state changes becoming permanent

Also moved the 'tinting' functionality to use color filter.
This seems to work much better on L+ because we're not
wiping out the internal tint, just overriding it with
the filter.

BUG: 25413545

Change-Id: I1d74a8ff817b0b20fcca6d3a1dd2ab2c60539cd1
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
9d5f84f33353a42e837c6b465412d1a6f2fc6eaa 18-Jun-2015 Chris Banes <chrisbanes@google.com> Inflate tints ColorStateList with theme resources

This CL adds custom CSL inflation to AppCompat, allowing
it to use CSLs with themeable attributes for all devices.

Change-Id: I78db7c696afbb81c9867ba9e34356b7585129b9e
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
7797b9f22c8c404309b778a0966266d2b1a84915 22-Oct-2015 Chris Banes <chrisbanes@google.com> Workaround stateful tinting bug on <= API 23

Since the framework doesn't guarantee a drawable
invalidation for state changes, we need to workaround
it in DrawableCompat by wrapping the drawable and forcing
one.

BUG: 25174572

Change-Id: Ie793ae2056bd72954d3fa8df4db0fb72bf17de41
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java
66698bb15ba0f873aa1c2290cc50d6bb839a474a 26-Oct-2015 Chris Banes <chrisbanes@google.com> Flatten AppCompat class hierarchy

This allows us to do two things:

1) Move away from using public @hidden classes
everywhere.
2) Workaround silly OEM bugs.

BUG: 18218511

Change-Id: I7582e242c7564c32feeb044fc9eff6bfb5c56536
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatDrawableManager.java