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/AppCompatImageButton.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/AppCompatImageButton.java
|
8c3f75732bc35cf683f9014816b26c77d9c8f4e8 |
|
23-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Add workaround for ripple + alpha animation bug BUG: 27715789 Change-Id: I56d76ac85274c6471701af0b38e9b54a8eacfb9f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatImageButton.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/AppCompatImageButton.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/AppCompatImageButton.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/AppCompatImageButton.java
|
e687450a3272d931ea33e5f65048eb69ef1f8d9e |
|
25-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Add AppCompatImageButton + AppCompatImageView Moved usage of the old ImageView impl to be implicit through our view inflater functionality. Also re-ordered the view order so that more common views are at the top. BUG: 21715295 Change-Id: I28eedbc1f7d0bd55fbfbdb5aa85b72a8498f790f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatImageButton.java
|