History log of /frameworks/base/core/java/android/content/res/GradientColor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d609eda74ea8e50018e020b923b2da92f866ead 09-May-2016 Greg Kaiser <gkaiser@google.com> GradientColor: Fix typo in documentation.

Bug: 28678266
Change-Id: I8f551108643698a1b6c573911509a4e48ad88783
/frameworks/base/core/java/android/content/res/GradientColor.java
e03c469fd416cf68c9d27268140f058028cd8666 17-Mar-2016 Teng-Hui Zhu <ztenghui@google.com> API review: Hide ComplexColor and GradientColor

b/27532267

Change-Id: I01582e067ec8f4897c34dcec0f7c14700c40e02b
/frameworks/base/core/java/android/content/res/GradientColor.java
0b9295d06750dc6da032a2b2092e2c500c65393f 10-Mar-2016 Alan Viverette <alanv@google.com> Push flags from top-level TypedValue into ComplexColor changing configs

Previously a ComplexColor that was defined within varying configs would
not push the flags into its changing configs, so it wouldn't get reloaded.

This implementation follows the Drawable implementation, where the base
changing configs are stored in the superclass.

Bug: 27573177
Change-Id: I1da5ee6ab998d8296f8860c1a99d3e1399438543
/frameworks/base/core/java/android/content/res/GradientColor.java
ac85f90466dd60d2af8ffc3942d503a0de606726 11-Mar-2016 Alan Viverette <alanv@google.com> Ensure all Java-side usages of config flags are using Java flags

Previously we were using native config flags in some places that expected
Java flags, and vice-versa. All usages of config flags are now annotated
to ensure we're using the right type.

Cleans up annotations on most methods that were touched.

Bug: 21161798
Change-Id: Ifd87dfb12199fc8258915d8a510e03ddb681ca89
/frameworks/base/core/java/android/content/res/GradientColor.java
1664a829eb08dd5c0f567f6466368ef1d1895e36 05-Mar-2016 Teng-Hui Zhu <ztenghui@google.com> Add tileMode support into GradientColor

So VectorDrawable can have tileMode supported Gradient color.
b/27126035

Change-Id: Icbf5983be165f04dc640627f6208fb1292f15625
/frameworks/base/core/java/android/content/res/GradientColor.java
dbee9bb342cdfaa5155b1918f90262c05e2464cb 15-Dec-2015 Teng-Hui Zhu <ztenghui@google.com> Gradient for VectorDrawable's fill and stroke

Add ComplexColor interface for both GradientColor and ColorStateList.
Set up constant state, factory, theme attrs for GradientColor, while
refactoring the ColorStateList's similar code. (Functionality in CSL should
be the same).

Support themeing in both the root and item level in GradientColor.
For example, both startColor in <gradient> tag or color in <item> tag can
have theme color.
Add tests for both simple and complex cases with themeing etc.

Hook up the native VectorDrawable implementation using 2 extra JNI calls for
simplicity. Such calls only happen at inflate and applyTheme call.

b/22564318

Change-Id: Ibdc564ddb4a7ee0133c6141c4784782f0c93ce0e
/frameworks/base/core/java/android/content/res/GradientColor.java