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/ResourcesWrapper.java
|
717b628928c9f5cf22a783d1b9719d88eb0d993a |
|
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert "Make TintResources inherit from ResourcesWrapper" BUG: 27403642 This reverts commit 2e39b329595dd77df6ad8ba7272879cd2a99012a. Change-Id: I4747a1b5b0253cf4232bd3a21f0b1a2913817733
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ResourcesWrapper.java
|
2e39b329595dd77df6ad8ba7272879cd2a99012a |
|
29-Feb-2016 |
Diego Perez <diegoperez@google.com> |
Make TintResources inherit from ResourcesWrapper BUG: 27403642 Change-Id: If24f4da29a2e622047763cfbe8af45fadeed8ba5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ResourcesWrapper.java
|
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/ResourcesWrapper.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/ResourcesWrapper.java
|