History log of /frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d21fd9d1ccd2b525f9c004a6cd9ba19a645701ab 29-Oct-2014 Alan Viverette <alanv@google.com> Add theme and config change support to more Drawable types

BUG: 16045735
Change-Id: Ic03173a1c1779c1bb545c4c389f77afed97011ee
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
12d808a24f4af9a127ae851edd06339b77020178 20-Oct-2014 ztenghui <ztenghui@google.com> am a724d1ab: am 877ce2c4: Merge "Make sure the bitmap from VD\'s cache is drawn using bi-linear filter." into lmp-dev

* commit 'a724d1ab4083f08958bd88e76e15b7c0af337bfc':
Make sure the bitmap from VD's cache is drawn using bi-linear filter.
eec6164e6f6178343219bdedcb1e26779fae7f89 17-Oct-2014 ztenghui <ztenghui@google.com> Make sure the bitmap from VD's cache is drawn using bi-linear filter.

b/17949291

Change-Id: I0e59852220ab8a3be2c70afa483e805029a9e19e
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
17cd4dfe3a05c2eddbcbc76066ff3b13fc3f2c8b 14-Oct-2014 Alan Viverette <alanv@google.com> Update preload list, clean up drawable theming

Removes all implementations of three-arg ConstantState constructor, since
we handle mutation and applyTheme() in Resources now. Moves progress bar
tinting to android:tint attribute. Correctly implements applyTheme() and
canApplyTheme() in all drawable wrapper and container classes.

Change-Id: Ic9cb43d0d6228aa4914f3124bed234b837beaa41
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
727cae197b123ef764a1f8fbe08a995b000d14c3 08-Oct-2014 Alan Viverette <alanv@google.com> Mutate and apply theme if needed before caching themed drawables

This ensures that drawables are completely separated from their cached
constant states before applying a theme. After this, we can remove the
implicit (and incomplete) mutation in the clone constructors.

Also implements missing mutate() method on ClipDrawable.

BUG: 17646144
Change-Id: If0d66b0a85724d76e0a4f506758c7ba3c0aa3410
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
c3fdffa98136bdad1fee9c77598d541d792920e1 29-Sep-2014 ztenghui <ztenghui@google.com> Correct the documentation for VectorDrawable

We missed the alpha for the vector drawable root level in the documentation.
And the animation target can be vector drawable itself for the alpha value,
which is more than path and group object.

b/17696183

Change-Id: Ic9d441fbdf411dad92718ae5adbc6655fe708453
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
5004032ebc2aee97c5884b7f91cc33d2f98ae8b5 26-Sep-2014 Alan Viverette <alanv@google.com> Fixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD

BUG: 17646144
Change-Id: I58c111d86224dc8f7f557073c0bcbc22ad74aa1b
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
dbcccffc3760f702887faa95b2748125bac88a89 23-Sep-2014 ztenghui <ztenghui@google.com> Fix animation on the some properties

The risk is low since most of them are just matching the naming to xml.
And this update won't cause build breakage.

b/17623982

Change-Id: I1eda0b8314ec7b94bc03976cdc365a7dc1039f4c
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
9c13ed366f205d94b2f3f4ddc96b55b1b9faadba 16-Sep-2014 ztenghui <ztenghui@google.com> Set cache dirty when re-create the cache bitmap

b/17503595

Change-Id: Icdaa3651345b740772363f8afb29bb36741fcc87
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
b07b086bd42181f62718a6394b56be3917b12511 13-Sep-2014 Alan Viverette <alanv@google.com> Apply VectorDrawable color filter at draw time

BUG: 17491152
Change-Id: Ia0ca0bd7cd00363ad5777d3e2e62fa1131a6d8a5
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
74cc5c39ae0335af9055cab000d4e92bbf4c9e60 13-Sep-2014 ztenghui <ztenghui@google.com> Merge "Add root alpha and animation to (Animated)VectorDrawable" into lmp-dev
8490354dc651dd8f25036ef0dda7917fb33013ed 11-Sep-2014 ztenghui <ztenghui@google.com> Add root alpha and animation to (Animated)VectorDrawable

b/17393626

Change-Id: If6a28b072f7d4bcb2b57022d86ec784f4c0d78f1
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
607bd848269fb802550e63aa61945790616f97a7 12-Sep-2014 Alan Viverette <alanv@google.com> Update icons to vectors, fix preload theming & vector tinting

Adds a missing JNI binding to AssetManager, ensures drawables have
default tint modes as documented, and updates vector tint appropriately
when state changes.

BUG: 17385604
Change-Id: Ice92885989ebc13b95952f5dc3b7904cc956da12
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
2e17d2b232e11b3ec246c704d8c4707c8fd863fa 05-Sep-2014 ztenghui <ztenghui@google.com> Bring back the fillAlpha and strokeAlpha.

At the same time, remove the group alpha since we did not follow the convention
that group's alpha should apply together, not separately to each elements.

b/17393626

Change-Id: Idfc071414213583924961dc8ea760d6fb317873c
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
6f6578e81c1df207da47e2e1337382341f271206 06-Sep-2014 Chet Haase <chet@google.com> Use constant state in AnimatedVectorDrawable

Complex animated vector drawables can be expensive to load due to
sub-optimal parsing of the String-based pathData. Suffering that penalty
every time the same drawable is loaded (such as material-themed
ProgressBars) is painful.

The new approach caches constant state of both the VectorDrawable (including
the pathData geometry) and the animators (which includes potentially expensive
path-based interpolators).

issue #17366831 Material ProgressBar taking 200+ms to inflate

Change-Id: Iba3b541e24cfce8c07f5aa9fe6aa7d7b92b2fe1c
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
fd3c4744f265c5277e6e2641a18d5ec3dff19f6b 08-Sep-2014 George Mount <mount@google.com> Use intrinsic size for path animation in AnimatedVectorDrawable

Bug 16984007

Animated Vector Drawables were using the viewport dimensions for
calculating the allowable animation error. Instead of using viewport
dimensions, it is better to use the intrinsic dimensions. Using
the viewport dimensions meant that a small viewport (e.g. 1x1)
would mean that animation paths within would only have an accuracy
of 50% of the dimensions of the drawable.

Change-Id: Id0152eabb4effd1e50c644eea7a371b38baeb7c1
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
a70b4742a7a0b2edc57cbbbf83d2c6d43ebc300d 25-Aug-2014 ztenghui <ztenghui@google.com> VD: Update the fillColor default as transparent

b/17208473

Change-Id: I52ff3d335094f0a95f138640eb24ef5dba2ef864
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
6beeb75723cec42603b47664bce794a2b97d7bac 15-Aug-2014 Chet Haase <chet@google.com> Minor doc fixes from API council recommendations.

Issue #17008236 API review: android.graphics

Change-Id: I171d376b642707858198d8a1379c732fcfcab4dd
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
0670f029a4e59448aa53b46a98e60dff6404f360 12-Aug-2014 ztenghui <ztenghui@google.com> VD: Fix Canvas save leak

bug:16965998

Change-Id: I367388b270748e2ce114b468940966d78de07465
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
66613415966f2f1a43cdaa76560eb6d53a05f15d 08-Aug-2014 ztenghui <ztenghui@google.com> Don't double count the left/top when using bitmap cache in VectorDrawable.

bug:16861184

Change-Id: I0530602957a434b222725b6fcbc1af165ee05835
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
f143ae8ffecc46008b9f6a9fa85d77324b5a145b 07-Aug-2014 ztenghui <ztenghui@google.com> Removing fill and stroke opacity

bug:16850076

attrs/public.xml update will be separated for build break friday.

Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
a426445dfdab43886dd894f2ba8a1d55bfcbb278 29-Jul-2014 Alan Viverette <alanv@google.com> Separate tint and tintMode properties

BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
c4d651ec8a8c190c5df173166357c2fdf47472ce 06-Aug-2014 ztenghui <ztenghui@google.com> MiterLimit represent a ratio itself, no need to scale

Change-Id: I474d8c29fc28786c6b3ff88848c1c802ab76d77c
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
5eb5cde467081d1af628e5463ba55f110265a86f 04-Aug-2014 ztenghui <ztenghui@google.com> Fix one typo and add linear progress bar in the test.

Change-Id: Ib516fd4a27000d8e69a6640386332140ff0d6fdd
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
874bcd82c223ce58c9d76edcf619b3988c672307 31-Jul-2014 ztenghui <ztenghui@google.com> Fix the create() for the attrs position

Change-Id: Ieb93053f28502cabbf655c4a27c4864845da212e
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
1c4d8b2173bf4b5bbac94748959752599775628d 31-Jul-2014 ztenghui <ztenghui@google.com> Correct the tag's name in the exceptions

Change-Id: I9d1499fbcf8adb6bf0c5c0b7a10a8b480a708c09
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
a95c8abb366d9c39450513335f550b56da13b30a 23-Jul-2014 ztenghui <ztenghui@google.com> API REVIEW: VectorDrawable

- Merge <size> and <viewport> attributes all in to top-level <vector> tag
- Indent attributes under <group> in java doc.
- Updata android:stroke to be android:strokeColor, likewise android:fill
- Instead of android:clipToPath, make this a different clip-path tag.
- Document units of the various attributes
- Add example code for defining a VectorDrawable resource

More than that:
= Refactor the code to better support clipPath as a sub-class.
= Update all the xml files to use the new attributes and clip-path tag.

TODO:
-- Remove clipToPath, since that should happen on build break Friday.

bug:16488254

Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
1968201b44567262e7b2e382eee3d88990748d89 25-Jul-2014 Dan Sandler <dsandler@android.com> Don't crash when drawing zero pixels.

Bug: 16561522
Change-Id: Ia3a2d2930abc393dbe587053f598246c49c0c9c4
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
5a836f74df027bb568da17fbde4e641b6a56d2a9 22-Jul-2014 ztenghui <ztenghui@google.com> Add negative sign separation support in the pathData

bug:14585171

Change-Id: I61dec27856be09c44bb1d32ff61b3c3cd458cc34
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
9d59a76dd0e850558e83ef1a48fefd865fac1336 18-Jul-2014 ztenghui <ztenghui@google.com> Fix FIT_XY scaleType issue on VectorDrawable

bug:16019658

Change-Id: I8b6ac23bf14de5427d3029436acf76bd1161f0ea
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
670689af43358568bf2b5916284f1cac5762f428 18-Jul-2014 ztenghui <ztenghui@google.com> Fix caching in VectorDrawable to pass the CTS test

bug:16380401

Change-Id: I573f4cc782707c6ef3484597ddc621a7a6353898
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
738177caf6a755a59ca6b17bb968be0aa4e8e10f 16-Jul-2014 ztenghui <ztenghui@google.com> Add the RTL support to VectorDrawable.

bug:15905631

Change-Id: Ieb3dcac2dd446ba89f307716411688dcd6ec5279
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
482eb53c8a7d5180a2d0ce3b0a779c18960aa8cd 14-Jul-2014 ztenghui <ztenghui@google.com> Enable the bitmap cache for the VectorDrawable

b/16299765

Change-Id: Ia2c0fd366abc097d1ce485936de74e4e898cc07a
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
8d0d24f7a2b1a59060aa18926984491691d3c667 09-Jul-2014 ztenghui <ztenghui@google.com> Fix the render order to follow the XML file order.

So we put path and group into a big list, then use reflectiont to handle them
differently.

bug:16162141

Change-Id: I4c84dc952d5d9b49412301dcd6459395e21d3b31
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
55f765441c6cec6b2990de12f68d1c4ac444d35c 08-Jul-2014 ztenghui <ztenghui@google.com> Add constant state support back to VectorDrawable

At the same time, AVD is using a mutated version of VD.
And AVD won't support constant state.
Move the targetsMap down into constant state.

bug:16017895

Change-Id: I12fbc52a8719362adba9df1e0f97288decbd33b2
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
8e5e11b99fac942122ee2d6cdd30af51564861ae 07-Jul-2014 Alan Viverette <alanv@google.com> Handle configuration changes in drawable attributes

Adds themeable attribute support to InsetDrawable, adds support
for attribute configuration changes to all themable drawables.

BUG: 16045735
Change-Id: I3dc62d28801760ac69d303be81b6c78bb9bb5aca
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
9cb5b4c2d93acb9d6f5e14167e265c328c487d6b 27-Jun-2014 ztenghui <ztenghui@google.com> Use AnimatedVectorDrawable for progress bar.

Change-Id: I419197ef38a611757f27ca3192350ad4bd403875
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
f2d0020d9335cdaec2566012cb3e2c10b7db3a22 23-Jun-2014 ztenghui <ztenghui@google.com> Merge "Make AnimatedVectorDrawable public."
7e7ea9da6785a8345feffb754ddcb55b16cf69c9 20-Jun-2014 ztenghui <ztenghui@google.com> Make AnimatedVectorDrawable public.

Clean up some useless VectorDrawable functions.
Add comments, too.

Change-Id: I8cc2165d14d09fd71f5830c4f61f9e8ac1d7c8da
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
eb034fbca40006c55db143047eb628c4b657730a 09-Jun-2014 ztenghui <ztenghui@google.com> AVD now support path morphing.

Basically extended the ValueAnimator to support a new type: pathType.
Add the PathDataEvaluator internally to interpolate path data.
Update test to show the path morphing.

Change-Id: I89db0199cbc12e3041790a6115f3f50b80213cdb
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
02aefd779e6b4077a62ca4819499a01771837945 21-Jun-2014 ztenghui <ztenghui@google.com> Merge "AVD now support path morphing."
9cd14fc710cf81cc6d1c47d599abe349d3aa87dc 20-Jun-2014 Alan Viverette <alanv@google.com> Add support for tint attribute in VectorDrawable

Fixes NPE from previous change. Also fixes docs reference in TypedArray.

BUG: 15375203
Change-Id: Icf3b5759780276b0875a4fb70b29522ab7c8cb90
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
5ff885cd3b8013da4d122127bcf9c30b95e3aeb2 20-Jun-2014 Dianne Hackborn <hackbod@google.com> Revert "Add support for tint attribute in VectorDrawable"

This reverts commit ab41ea17e6b0407fa76bc9f9183190a9bbc7f560.

Was causing system UI to crash.
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
9a77cb92da2b7d3d2c513c9fbc24955fdc0e0693 20-Jun-2014 Alan Viverette <alanv@google.com> Add support for tint attribute in VectorDrawable

Also fixes docs reference in TypedArray.

BUG: 15375203
Change-Id: I8cd2f43bd73f50084e21e5b986af9dc1c1447ad6
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
cf4832f69c8786b098ce18c24319021f8cd6733a 17-Jun-2014 ztenghui <ztenghui@google.com> Add path support into xml files for PathInterpolator and ObjectAnimator.

The test case is showing that AnimatedVectorDrawable is able to use path to
define time interpolator and object movement now.

Change-Id: If3c0418265d0fd762c8f5f0bb8c39cce3ad34ef3
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
16c1bd5db8f4f18e1eee8b19006bba5f06a88123 16-Jun-2014 ztenghui <ztenghui@google.com> Improve constant state for VectorDrawable

Now inflation will not cause duplicated constant states.
And update tests.

Change-Id: I66861e5451c4c10d18756e8522546ea1cb938a55
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
b3c56086d802ae28888dd97ba1f49bd6cee0b673 14-Jun-2014 Alan Viverette <alanv@google.com> Add support for setTint in all Drawables, clean up lint warnings

Change-Id: I962089ca59684cef28cb4a648d4a91e542bdf5d4
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
cda212d79d449468384cc7744878b8c99984059c 14-Jun-2014 Jeff Brown <jeffbrown@google.com> Revert "Add support for setTint in all Drawables, clean up lint warnings"

This reverts commit 381f83b613f7b6e71180983dbb992ff62f8dd6e3.

Change-Id: I1181f436c647216ac46162260d9d886197b24568
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
4b17118aca1e67963254ab83504b0753a3eac7ce 14-Jun-2014 Alan Viverette <alanv@google.com> Add support for setTint in all Drawables, clean up lint warnings

Change-Id: Ia38b9d3e9d5c0072382050e815bdd9232b672e50
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
e5e92602a41a4ddc7b42cd1c171a0edfbd09b8da 03-Jun-2014 ztenghui <ztenghui@google.com> Add AnimatedVectorDrawable

Currently as a hidden class.
It can support many the animations now as far as ObjectAnimator and
hierarchical group can support.
And we don't have path morphing yet.

Also support the Animator / Interpolator inflation from Context and Resources.

Change-Id: I948bbdf7373ad291171eed0b497959dce8c2edf3
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
2af745b56cf4bdfdd9c05d90a4ccc740bf77a4fe 31-May-2014 ztenghui <ztenghui@google.com> Handle the alpha in the group setting and fix the fill issue.

The fill used to be dafault as "none".
Now it is default to opaque black, which is consistent with svg now.
So it is better to always set the fill value.

bug:15288554

Change-Id: I07ac41c5adc77665e66e52f2c0220139586fb09b
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
4d24caf1dec2babf273b18c99638fe2a0635ced4 29-May-2014 ztenghui <ztenghui@google.com> Add the tree hierarchy for the group

bug:15288554

Change-Id: I7caedb8466d078a0d9a6148e00d02eded4a4d234
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
452f6ece7fe2fd1a85fca53f54e90bf041083b21 28-May-2014 ztenghui <ztenghui@google.com> Add translation and scale to the group tag and related tests.

bug:15288554

Change-Id: Iebe176d0a9c2c566d1910674a068e65e15569829
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
63cfd85bcce488a3f3952bd1db523a727d30ca39 27-May-2014 ztenghui <ztenghui@google.com> Move the rotation information from path to group.

Also update the 3rd test to correctly testing clipping.

Removing some naive tests which rotate 360 or 0.

bug:15288554

Change-Id: I436e8e494cb78fc665a3890171a1af87367db419
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
bd67759a3d4d5eeec39f6b05b571995770db9d16 27-May-2014 ztenghui <ztenghui@google.com> Merge "Bring the group tag back to VectorDrawable."
6d9c422de5e0a3890dd723cb1b9264d4507053e9 23-May-2014 ztenghui <ztenghui@google.com> Bring the group tag back to VectorDrawable.

This is the first step, including:
1. Bring the group tag back by reverting.
2. If there is no group tag, then treat all the paths as a single group.
Make sure our test cases covering both cases.

At the same time, fix one tiny UI bug in the test.

TODO:
1. Move the rotation to the group tag.
2. Add translation/scale to the group tag.
3. Convert the group into a tree hierarchy.

This reverts commit 404211630ba3bb865109434aba4433e7541b39d3.

Conflicts:
graphics/java/android/graphics/drawable/VectorDrawable.java

Change-Id: Ife65bb6a7fc85f9947124b8e356cd5b82119796a
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
fd6e411767735478ee0f69ba01d77def4c6b2627 23-May-2014 Alan Viverette <alanv@google.com> Add support for setColorFilter in VectorDrawable

Also cleans up inflation so that we can apply themes more easily.

Change-Id: I56decb29fe987286a38fc0aa96f95952cf67c120
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
77bc0a17e8668945548f3b4936e4888ec3eb189e 20-May-2014 ztenghui <ztenghui@google.com> Merge "Remove the versionCode"
e3c45e7a6b2a7d2176aa46ee482e299b54feeb9f 19-May-2014 ztenghui <ztenghui@google.com> Remove the versionCode

Change-Id: I2a77fefd7b14fd3bef0b0c7a142fe88e69883c75
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
0cfb877f5a0a1bff82d9c3ee969195bf7812c0b5 15-May-2014 Alan Viverette <alanv@google.com> Simplify attribute extraction for themed Drawables

Also fixes a bug in GlowPadView that randomly popped up.

Change-Id: Id20508a44ea02b4a14c8f794de36e13a2c06587c
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
46e546c28fd52b4dedf0a0fbd313db589cb9048b 12-May-2014 ztenghui <ztenghui@google.com> Remove the group tag.

Since we don't support animation, it is better not to expose the group tag for now,
which will only lead to confusion.
Internally, we keep the group class to represent multiple paths. But we don't
allow multiple groups.

Change-Id: I041ba32dff05ef6b1cd9d5ab1a1717e55a356145
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
ddbbb8ae8561c9e61becd03faa40997d76ab5a51 06-May-2014 ztenghui <ztenghui@google.com> Further cleaning on animated part of VectorDrawable.

State changed support is gone.
Rename VAnimatedPath.
Remove the obsolete documents.
Update the tests to reflect the API changes.

Change-Id: Icdc19c6519a4e29975877c1d167e61c8fa14a371
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
498213a265e05134b4a4fbf93dce69de1a47973c 06-May-2014 ztenghui <ztenghui@google.com> First step on API cleaning on the VectorDrawable to disable animation support

Cleaning on the API level, and related tests.
The animated icon will be only showing the initial state.

TODO: Deep clean on the functionality part and attributes.

Change-Id: I5723bc5b64f796c3a273d74bde02095751160a88
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
70802d2501dd5607ca0f38d7aa36771d9e0c7b20 17-Apr-2014 Alan Viverette <alanv@google.com> Fix VectorDrawable states

BUG: 14083130
Change-Id: I8242523d9a4acd499154d2e7b9b9b52a3f1f742d
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
d20974bd51852c71114b6e0e4ffdc3613a4d90aa 17-Apr-2014 Alan Viverette <alanv@google.com> Clean up VectorDrawable formatting

Change-Id: I9110f6ddeda9a811e466e58e451fa95eca08e72e
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
4554a6a5137d8e9bdfb623ad84ff344a48b7eb9d 16-Apr-2014 Alan Viverette <alanv@google.com> Implement jumpToCurrentState() in VectorDrawable

BUG: 14083130
Change-Id: Ie1842b2367d1f24d18fdbc71963e077a1805de9b
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
175f3c892c2c0bd64e32484a2b430e7c59907243 12-Apr-2014 ztenghui <ztenghui@google.com> Make sure control points are in absolute coordinates

Change-Id: I1b90fe39f9dc77e1a1b7b4b512cd11f5734fbf8f
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
8a5c99c9e91fc86875f3c11f621a9e8a50c5831b 11-Apr-2014 ztenghui <ztenghui@google.com> Merge "Fix path interpretation on curves"
4b1a7c203d5e32c8b2dc7f4f54f28559ca31860a 10-Apr-2014 Alan Viverette <alanv@google.com> Fix build breakage

Change-Id: I73d9ff5f38986b7acf83b85c1989203f472bc5fd
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
4b3988d159e1c9faa2a7e16c9aca9951264bb429 10-Apr-2014 Alan Viverette <alanv@google.com> Cleaning up VectorDrawable

Use argb evaluation method from animation package, lazily create paint,
set default for stroke line cap and join. Fix scaling to bounds. Fix
drawable in test app.

Change-Id: I245d5d6acc6ba9806743ab2bf9bf99aff3649c39
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
33ed52eff4b41f88858874e1af7723277a041b56 09-Apr-2014 ztenghui <ztenghui@google.com> Fix path interpretation on curves

Mostly about the shorthand for quadratic / cubic curve.

We now comply with the spec, which said the behavior should depend on the
previous command.
At the same time, make sure our current point and current control point info
are always in absolute coordinates, not a mix of absolute and relative.
CTS test will be added to monitor this behavior.

Note: Chrome / Firefox are following this rule, while Linux OS / Batik are not.

bug:13913405

Change-Id: I9f8168ed97f87c754c79588984f1f199507b0377
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
7f1ab7a43fd7e65bbd7460334014ecc73dbb1b8d 09-Apr-2014 Alan Viverette <alanv@google.com> Theming for more VectorDrawable attrs, add attrs to test app

BUG: 13878079
Change-Id: Ibcc8d67446c44cd8f681230fc484c7dc7411ffab
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
860126b78aa4d6e8db5208c7f96764a8556cf95f 09-Apr-2014 Alan Viverette <alanv@google.com> Make Drawable hotspot APIs public

Change-Id: I8377ed735f73f7083636947aa08a5427f1dc3bf6
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
5c981a100ef30d2925588b69f8b9fe349ee5bfde 08-Apr-2014 Alan Viverette <alanv@google.com> Fix some vector drawable documentation, clean up fields

Change-Id: Iade0323b0ec2d3f8b609f24d89252608dfe40735
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
9453b7cfd4bbb35467bd7f947f850bd154982fce 08-Apr-2014 Alan Viverette <alanv@google.com> Color theming for VectorDrawable, general clean up

BUG: 13878079
Change-Id: I831d26fe3a2658161fc24e947bce382d0be6b548
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
fba3bad3870d607ecaed4f147788885c841c2ab3 03-Apr-2014 ztenghui <ztenghui@google.com> Clean up on VectorDrawable.

Rename the test from DynamicDrawableTest to VectorDrawableTest.
Remove duplicate function calls in the test.
Fix comments in VectorDrawable

Change-Id: I1ef87137088ccc10b1abdb40ca368345d9dbadab
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
177dffd869ff1f5bdf816faead01a7dc4980bf75 01-Apr-2014 ztenghui <ztenghui@google.com> Getting the version information into the VectorDrawable

This will allow version controling for later API improvement.
We will only support version 1 so far.

Change-Id: I322e63f6cff157ebb6df5d80625c39bf96ff3659
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java
abb7d134c02ac60091108c491dafb00877093170 25-Feb-2014 John Hoford <hoford@google.com> add Dynamic Drawable (vector graphics for Icons)

Change-Id: Id44b7f6d1b8dd073b8ed35e2142a380550f2449b
/frameworks/base/graphics/java/android/graphics/drawable/VectorDrawable.java