5f21d671a4afb439a61257b393d0b5e40879528a |
|
19-Apr-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Fix VDC bounds issue b/28086601 Change-Id: Ib242c6d728985be8ebef6f69ff26525c251f5741
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
ab9d2bf6fe28ff4a95985526daa128239c03d821 |
|
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 (cherry picked from commit 80e3ecf1aae0badd8056206db0614e9b9d1934b5)
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
d014251a4529b0eae3c313b7ede2b9d18421de44 |
|
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix VDC tintMode attribute reading BUG: 27372140 Change-Id: I2cfa9a73c871842676b0a747f21180e728fa30df
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
7d46b1f5b664c1ade7baecf785e947cf7c897656 |
|
13-Feb-2016 |
Tenghui Zhu <ztenghui@google.com> |
Merge "Clarify the JavaDoc for VDC and AVDC" 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/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
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/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
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/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
6705492013ac9cf97407565d7bdeb0af45598b5b |
|
03-Feb-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Fix one compiler error found by mmm b/26959534 Change-Id: Ic6f67a45eb00b00361fb78e8b240813692614798
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/graphics/drawable/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|
1f8664abb6cdd6962d58433e06dd9cc7ea856782 |
|
12-Dec-2015 |
Teng-Hui Zhu <ztenghui@google.com> |
Setup new lib name for Android.mk file, update the scaling computation b/22564270 Change-Id: I89f8d6d19d0dd074175d0d10490bb65bd04d6bb0
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/static/src/android/support/graphics/drawable/VectorDrawableCompat.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/static/src/android/support/graphics/drawable/VectorDrawableCompat.java
|