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/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.java
|
de69042e1ad83026e83853579af5a8600752d130 |
|
18-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Make background helper\'s API 21 workaround more permissive am: 779bf4e * commit '779bf4e0187ccc8601fbe9d37a5c0079a534733f': Make background helper's API 21 workaround more permissive Change-Id: Ic2d5d0956d13d4d650b93fb41a1b718e32e68948
|
779bf4e0187ccc8601fbe9d37a5c0079a534733f |
|
18-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Make background helper's API 21 workaround more permissive Currently it only works when the background is a GradientDrawable. Since unwrapping drawable containers is unpleasant, we'll just apply the workaround all the time. BUG: 27674299 Change-Id: Id6fb5f8185f2d07129fb93acbf932550162bc902
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.java
|
b58adf9802adde6b1dd1971d3a44352e4fc2802b |
|
12-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Workaround backgroundTinting not working on API 21" into mnc-ub-dev am: c5e75c3197 am: 60711122b6 * commit '60711122b663b3c888f053be40edb9dbf1b8213d': Workaround backgroundTinting not working on API 21
|
483ee34ae7ef0cac94d60cbe32a945dae4cb2b21 |
|
12-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Workaround backgroundTinting not working on API 21 GradientDrawable does not implement setTintList, etc on API 21, so we now workaround it by using our compat tinting. BUG: 26506707 Change-Id: I8c1a0a8e01be244fc8c14b2e122fa782e40bc4cc
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.java
|
f7b73431b366b76bcf58536b7b1086489e4683b2 |
|
06-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog item direction Since we're now using drawableStart for the icon, we've had to add tinting support for compound drawables in the various TextView implementations. BUG: 22963990 Change-Id: I6bc2f2777e1242b81983439bbda79420aa6ac32a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatBackgroundHelper.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/AppCompatBackgroundHelper.java
|