History log of /frameworks/base/core/java/android/util/PathParser.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5e7a29f6774f0672a51761297e5c6dbdbc8f794d 13-Nov-2014 ztenghui <ztenghui@google.com> Fix the starting pen's position when a path close.

We have to cache the starting point for the latest "move", then apply it after
we close the path.

b/18214929

Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
/frameworks/base/core/java/android/util/PathParser.java
897f6daeffe965d546ebdc9a05c99a638b37f37d 08-Oct-2014 ztenghui <ztenghui@google.com> Support negative value in exponential data in the pathData.

Now "1e-5" will not be separated as "1e" and "-5".

Add one test for this use case.
Make sure we print out the pathData when path parsing has error.

b/17919923

Change-Id: I10a00ce21166cfb5a009c49c1a93f40eeb956d83
/frameworks/base/core/java/android/util/PathParser.java
4cc3e2704a93197213ca0978b8c940abcb59e49a 07-Oct-2014 ztenghui <ztenghui@google.com> Support dot separation as the svg path data did.

Like "0.0.0" will be separated to "0.0 .0" now, just to make sure we are more
complied with svg path data.

b/17892882

Change-Id: Id7b64e9882f5174aa794a0256e2a29d66c724876
/frameworks/base/core/java/android/util/PathParser.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/core/java/android/util/PathParser.java
5a836f74df027bb568da17fbde4e641b6a56d2a9 22-Jul-2014 ztenghui <ztenghui@google.com> Add negative sign separation support in the pathData

bug:14585171

Change-Id: I61dec27856be09c44bb1d32ff61b3c3cd458cc34
/frameworks/base/core/java/android/util/PathParser.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/core/java/android/util/PathParser.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/core/java/android/util/PathParser.java