History log of /frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0327a65adda49ea1f39440a3127836b41ff43084 07-Oct-2016 Teng-Hui Zhu <ztenghui@google.com> Properly setup autoMirror in VDC and AVDC.

Add a new test to cover it for API >= 17
Test: added new test, ran on GB Nexus S, KK Nexus 4 and Nougat Nexus 6p
b/31951281

Change-Id: I4d76e2ad81abae0959cad6ee2d6251bef426acaf
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
67b6c5f8b82d730f3d39287af5e98adbd77c6ebf 03-Oct-2016 Doris Liu <tianliu@google.com> Restrict AVDC and VDC parsing to the current element instead of the whole document

This CL changes the AVDC xml parsing to parsing only within the current
element, which prevents AVDC parsing from always skipping to the end of
the doucment. So things that are defined after AVDC in the same document
can be picked up by the xml parser.

The same fix has been applied to VDC as well.

BUG: 31865175
Test: Manually following comment #1 in the bug above
Change-Id: I02cc2e6cd430ad53d9c01cd718231a943c4519e9
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
9e3d04fe6cf40bb1c46fd8cb456fedec06e2d350 06-Sep-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-vector-drawable.
am: 8fbfb9b792

Change-Id: I8985df2e8fff9b1163fdfa6ee074e792dacf0af3
8fbfb9b792b2978ba33bead0120a83b7af47a5f7 26-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-vector-drawable.

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 12 methods in our jar.

Bug: 31075707
Change-Id: I37dc48342fe739baca6b252121638581e74c6bec
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
c59ac731f7d38ee41d0aba567a9d3b77b40df628 23-Aug-2016 Teng-Hui Zhu <ztenghui@google.com> VDC and AVDC fallback on framework, only on NYC+

fix:b/29990979

Change-Id: I4b56ca0d9cf213de7cec66f1fb138fdc5af6096f
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
15375aa6fd54b036f97f99229aefab2822c8a1c9 24-May-2016 Aurimas Liutikas <aurimas@google.com> Add missing @Override annotations in support library code.

Change-Id: Ifcc3a20b54d6a14b0a14aa0f48e642cf7e8c0e70
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
80e3ecf1aae0badd8056206db0614e9b9d1934b5 17-Mar-2016 Teng-Hui Zhu <ztenghui@google.com> Use VDC for API 21 and 22 to workaround the ImageView scaling issue

The appCompat change is independent of the change inside VDC and AVDC.
However, it is better to keep them behaves consistently, such that dev using
VDC / AVDC directly by JAVA will have the same behavior.

b/27449545

Change-Id: Idd3115ec00651885dc5a32c8e38a26d0fd3eb63d
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
7d46b1f5b664c1ade7baecf785e947cf7c897656 13-Feb-2016 Tenghui Zhu <ztenghui@google.com> Merge "Clarify the JavaDoc for VDC and AVDC" into mnc-ub-dev
a4b98c80060206f3d0334ec634a28e208dbbf409 12-Feb-2016 Tenghui Zhu <ztenghui@google.com> Merge "Revert "Revert "Fix VFY warning for VDC and AVDC about calling the new API on old platform.""" into mnc-ub-dev
ebbed34a78fa6519de6c2848e68b97f9d3b98e08 12-Feb-2016 Tenghui Zhu <ztenghui@google.com> Revert "Revert "Fix VFY warning for VDC and AVDC about calling the new API on old platform.""

This reverts commit 526ef1f65d55cc71f937773da63051f5fa7627ca.

Change-Id: Id558c0d0ffa79f4c78d34664014a5249eb974dc7
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
ade92f9dc7302c643ee7abb01dedf3b4f8bc79b7 12-Feb-2016 Tenghui Zhu <ztenghui@google.com> Merge "Revert "Fix VFY warning for VDC and AVDC about calling the new API on old platform."" into mnc-ub-dev
526ef1f65d55cc71f937773da63051f5fa7627ca 12-Feb-2016 Tenghui Zhu <ztenghui@google.com> Revert "Fix VFY warning for VDC and AVDC about calling the new API on old platform."

This reverts commit 78fe6d45794f3e5f2b879ea4f931081f5ebfa334.

Change-Id: Id8df52b6e37799885f794fd2d963a6865c914274
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
7c839dcff721b584defb5bedb18c05fae5b99d24 11-Feb-2016 Teng-Hui Zhu <ztenghui@google.com> Clarify the JavaDoc for VDC and AVDC

Basically referring to the framework's version, instead of duplication.

Change-Id: I087486515fdf44579c6d43bc5fd20c8c3d29c707
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
408cb9f78c1bedffac5fabbc59c8cbf1932d3610 11-Feb-2016 Tenghui Zhu <ztenghui@google.com> Merge "Fix VFY warning for VDC and AVDC about calling the new API on old platform." into mnc-ub-dev
78fe6d45794f3e5f2b879ea4f931081f5ebfa334 10-Feb-2016 Teng-Hui Zhu <ztenghui@google.com> Fix VFY warning for VDC and AVDC about calling the new API on old platform.

Also remove some drawable API added on 23, which has no implementation on
VectorDrawable anyway.

b/26340645

Change-Id: I436a522d137fd0890f9b5fae4dcc30b6899a6aa5
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
09c0d7d7f4955586306bd9cdcf34567396a0d545 04-Feb-2016 Chet Haase <chet@google.com> Fix color interpolation for AnimatedVectorDrawableCompat

A fix was made in L such that inflated animators using color
values would automatically get an ArgbEvaluator, to ensure that
color animations would look correct. AnimatedVectorDrawableCompat
does not automatically get that L behavior on earlier releases.
To make the animation look correct, this fix sets an ArgbEvaluator
on animators targeting the "fillColor" property on pre-L releases.

Issue #26965996 Fix Color interpolation bug for SDK <21 in support lib

Change-Id: I2662b17bebfcecca243f00f81d64eebbf4d59d43
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
bd3494de1d97206f366f52641a14b21eb06a7022 27-Jan-2016 Chris Banes <chrisbanes@google.com> Integrate AVDC into AppCompat

BUG: 26638431

Change-Id: I94f5ca63099c1118575ac0b3bf9faabb2a795757
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
2c3c8bff4c669316cdc2db24b72d9ac3f9b33725 05-Dec-2015 Teng-Hui Zhu <ztenghui@google.com> Add Gradle support and tests in VDC and AVDC

Fix some bugs which are fixed in MNC and ported here too.
b/22564270

Change-Id: I9e5b195134d6ce759d9cc74f6072f6f105b0ce2f
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
968dcfaff0c0a9e85ff4db2a985188f6996f5dad 30-Nov-2015 Teng-Hui Zhu <ztenghui@google.com> Refactor the common interface into an abstract class

No new functionality added, pure refactor.

b/22564270/

Change-Id: I657491d5c41e70112b60c3f5f5d1ddba43c3e774
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
9f8d3b8d31e1e6a4bbdc68563691650ebff21353 18-Nov-2015 Teng-Hui Zhu <ztenghui@google.com> Delegate the VDC and AVDC to the framework version when above Lollipop

Setup the call back properly such that invalidation can be passed from AVDC to
its delegate.

ConstantState is also delegated when above Lollipop. newDrawable() will be
wrapped inside a VDC or AVDC and return.

b/22564270

Change-Id: I73907dba013f0afbfb8a8f7938ea852c830607d8
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
d85f3e0b931d3e127242a375e0d00c4696bba912 10-Nov-2015 Teng-Hui Zhu <ztenghui@google.com> Use android namespace in (Animated)VectorDrawableCompat.

To workaround the possible resource id confliction issue, check the attribute
existence before TypedArray get its value.
A little perfomance cost on inflation time here, but that is the only way to
protect us from the id confliction.

Add some more manual tests, covering references too.

https://b.corp.google.com/issues/22564270

Change-Id: Iee5f559372c553ed1d936404f86c7195ca657a1c
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java
4fcaa70c2362e58a3fb30d140f0a0eeda8e35b44 04-Mar-2015 ztenghui <ztenghui@google.com> Add the support lib for VD and AVD

By using auto namespace, we have all the functionality we want for support lib
of VD and AVD.

All the java files in the support lib are based upon the framework ones, with
slight modification.

The test cases are also from framework test, with namespace changed.
Note that the animator part are still using android namespace since they are
supported in v11.

TODO:
1 integrate the AAPT support to use android namespace.
2 find the best way to integrate the framework VD AVD for L+.

b/19200714

Change-Id: I10a80a89d26237ea780368e19929d83cd7678fff
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/AnimatedVectorDrawableCompat.java