History log of /frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatCompoundButtonHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/AppCompatCompoundButtonHelper.java
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/AppCompatCompoundButtonHelper.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/AppCompatCompoundButtonHelper.java
7e4e8b664820f773bc96e37ee1d2bbf500d64e69 12-Oct-2015 Chris Banes <chrisbanes@google.com> Add AppCompatDrawableManager

Refactored from TintManager, AppCompatDrawableManager
is now architectured differently. It is now a singleton
which keeps multi-map of cached tints.

This is to enable the new InflateDelegate extension point,
which will allows libraries (and eventually apps) to hook
into the compat drawable inflation.

While this CL looks large, it's mostly just updating method
calls to match the new parameters.

BUG: 24852773

Change-Id: Ic9f5ecc6fd0208d2f7a8a686f077f16588020516
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatCompoundButtonHelper.java
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
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatCompoundButtonHelper.java