39e275d4c81cd3470f5ed78fa147d214f70ee580 |
|
24-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of e07f24b to nyc-dev
|
9eee6ba8edef2ab70d99fbaea6349f29d28b8fb6 |
|
22-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix issues around setting text color In AppCompat, we now reset the text color if we detect a String reference. Since most platform styles declare a string referenced color in their text appearance, this means that the text appearance can override an explicit android:textColor on the view. Fixed by always resetting the text color on API < 23. BUG: 27784645 Change-Id: Ic5a2c7e1fb49da419bbfd3c6176c7a28c6eb4ac1
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
2a1d775c02ced0fb89c6056a0fa63a915d8543c1 |
|
22-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert a change wrt app:textAllCaps in text appearances If android:textAllCaps is also set in the text appearance, which can happen if it extends a platform style, we need to make sure that app:textAllCaps has the opportunity to override it. BUG: 27782941 Change-Id: I219f180e76a90de1715c0b855d16e34483ed4053
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
464d8397d0d19c4432eba2f5c1cc02b59a34b314 |
|
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of d07aba8c95 to nyc-dev Change-Id: Ieb661326b323d179b50a3eb4298464f00c4164b6
|
5a044fddba6ba7295599dddc2ff397925823efa8 |
|
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Make app:textAllCaps="false" override android:textAllCaps BUG: 27403186 Change-Id: Ia10394eb40c477c2f051478f7574e84a123d3691
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
19509c838e3e9a34df29163f17ef3a7ea6375b14 |
|
03-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix Button.Borderless.Colored disabled text color DO NOT MERGE We can now use the new themeable CSL support in AppCompat to support disabled text colors. BUG: 25788830 Change-Id: Ic5df43cee36f90feb71d68b61ad3847a7a40f010 (cherry picked from commit e92752a5ddcee0a11cb6016b8bc8ebf0318e44e5)
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
87d26d017740f9f0f9dabadfbc66fa99c5c99334 |
|
07-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
AppCompatTextView tests for allCaps Change-Id: Ib5c81365d2a5597fd6009e2d39f5637b2b88c9b5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
40b7a2ff65bc04688e0017edd8c99ec6596e30e3 |
|
06-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompat + textPassword (again) We now model TextView's attribute handling for allCaps completely. BUG: 23947511 Change-Id: I75b9194c3b94c31484567d64f01491cea88b6021
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
e23a1bdaf16bf535a1a6bab469e3d63bb6d73712 |
|
08-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatCheckedTextView tinting compound drawables BUG: 26076433 Change-Id: I354e668268ea976902673065a188647a11fb049a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.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/AppCompatTextHelper.java
|
a466cf9e5e70e638097a1753dd454a98fed05068 |
|
23-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Don't wipe out compound drawable tinting pt.2 Follow up to fix start/end drawable too BUG: 25128785 Change-Id: Ie7b2550e15fe26d349d5a23f1512f196be57cc10
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
89a45a915143f97174f5b6d45273c80503a7efcd |
|
21-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Don't wipe out compound drawable tinting Currently we always 'tint' (or clear the tint) on a compound drawable. This CL fixes it by only loading the tint info if it's a drawable we care about. BUG: 25128785 Change-Id: I5d9c57556aa837b9a5c3eccb489e0b5b839de2e5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.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/AppCompatTextHelper.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/AppCompatTextHelper.java
|
302e62b42be0e4c56594faa64bb8aec9ce2d136f |
|
15-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Remove hack with text colors" into mnc-ub-dev
|
af841db785a8cd5dc02752e4c6b6ad5ce25ae7bb |
|
14-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Remove hack with text colors We were previously hacking with a TextView's text color to workaround some wierdness with the disabled state text color. This causes it's own problems so this CL removes the hack. BUG: 24047891 Change-Id: I01e262f41d5972d93719821f7088df80d1a31bff
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.java
|
47539acadd4e8be899070dc9bb50aaa43855b870 |
|
10-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Don't wipe out TransformationMethod if not needed Currently AppCompatTextHelper will call setAllCaps(..) in the constructor. This will wipe out any previously set TransformationMethod, such as textPassword, etc. Fixed by only calling setAllCaps(true) if we need to. BUG: 23947511 Change-Id: I13edcdc33326384e15f41c506fc0cf39d918ffba
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatTextHelper.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/AppCompatTextHelper.java
|