32995223a85a3b774789091d97987dfacc1e9ef3 |
|
07-Oct-2016 |
John Reck <jreck@google.com> |
Convert utils fastjni -> @FastNative Test: builds & boots, refactor no behavior change Change-Id: Ieb569a70fd05b88a8d2bd7b285099c1fc1888a75
/frameworks/base/core/java/android/util/PathParser.java
|
0a1a5167be26d363d4e27bdc7b816f425b7b4e66 |
|
08-Apr-2016 |
Doris Liu <tianliu@google.com> |
Improve error logging for parsing failures Bug: 27043594 Change-Id: I901b65f734c49444a78e0714e007e15e2340ab9d
/frameworks/base/core/java/android/util/PathParser.java
|
766431aa57c16ece8842287a92b2e7208e3b8ac3 |
|
04-Feb-2016 |
Doris Liu <tianliu@google.com> |
Revert "Revert "VectorDrawable native rendering - Step 4 of MANY"" This reverts commit 5a11e8d0ba21624025b89ac63bbd18befa55be0e. Change-Id: I7a48b59c4f930dad65ddc8590c25a12636244ea2
/frameworks/base/core/java/android/util/PathParser.java
|
5a11e8d0ba21624025b89ac63bbd18befa55be0e |
|
04-Feb-2016 |
Doris Liu <tianliu@google.com> |
Revert "VectorDrawable native rendering - Step 4 of MANY" b/26949340 and b/26975469, b/26975079 as well This reverts commit f276acd98457bcaabc9e79a17a736b3b484f005e. Change-Id: I4b55177daf0d289bc03604c71fd4bf579f65073a
/frameworks/base/core/java/android/util/PathParser.java
|
f276acd98457bcaabc9e79a17a736b3b484f005e |
|
07-Jan-2016 |
Doris Liu <tianliu@google.com> |
VectorDrawable native rendering - Step 4 of MANY This CL runs VectorDrawable animation on RenderThread. The changes in this CL include: - Convert all the animators in AnimatorSet for AVD into a set of RenderNodeAnimators. - Hook up the new animators with RenderThread - Add drawOp in RecordingCanvas for drawing VD so that during the animation on RenderThread, all the property changes on VD can be reflected on the screen. TODO: - Implement reverse and reset for AVD. Change-Id: I2df1d754f2db0ad098d9c15dde4bb2bdfafc2315
/frameworks/base/core/java/android/util/PathParser.java
|
4bbc2931263b232fba61807fca00e127573eff42 |
|
02-Dec-2015 |
Doris Liu <tianliu@google.com> |
VectorDrawable native rendering - Step 3 of MANY - Refactored VPathRenderer & VectorDrawableState - Moved all the VD rendering into native - Set up hooks for VD's property changes in JNI for animated VD TODO: JNI calls can be further reduced when we convert the animation in AVD to use RenderNodeAnimator, in which case animation will be driven from native and therefore most of the JNI hooks for changing VD's properties during animation will no longer be needed. Change-Id: I52021f4d7bea057b83ace54085d870dd45acae0f
/frameworks/base/core/java/android/util/PathParser.java
|
804618d0863a5d8ad1b08a846bd5319be864a1cb |
|
17-Nov-2015 |
Doris Liu <tianliu@google.com> |
VectorDrawable native rendering - Step 2 of MANY Introduced PathData in Java, which is effectively a thin layer around the native instance. PathData holds the verbs and points which is being used in path morphing/interpolation. The verbs and points can be interpreted into skia path commands, which is now done in native and therefore saves a handful of JNI calls during path creation. Removed the old PathDataNode mechanism and changed the PathEvaluator to use PathData instead. Also added tests and a microbench. Also ran CTS tests for VectorDrawable and AnimatedVectorDrawable, and passed all of the existing tests. Change-Id: Ia166f5172ff031fe18b154327967f911a62caec1
/frameworks/base/core/java/android/util/PathParser.java
|
cdd23f9d45ea2974c3f295754b89f5462bdd2c0d |
|
11-Nov-2015 |
Doris Liu <tianliu@google.com> |
Add hooks in JNI to start using native path parsing Change-Id: Iaa0d3c2c1936c248146ed7f186a13e8e79be818e
/frameworks/base/core/java/android/util/PathParser.java
|
a992ab45ca9d06121a1d43c085063728de44a4c1 |
|
20-Oct-2015 |
Teng-Hui Zhu <ztenghui@google.com> |
Fix segment number for arcTo conversion AOSP bug: https://code.google.com/p/android/issues/detail?id=188594 Change-Id: Iaebb8ec7782658a1438cf973ed9a8799da0fdea3
/frameworks/base/core/java/android/util/PathParser.java
|
17a1422a12d03b18d7fecffa8f24958a127ac14a |
|
09-Sep-2015 |
Teng-Hui Zhu <ztenghui@google.com> |
Fix implicit lineTo issue b/23808876 Change-Id: I208e088bfc565ae0d09b826ceff6f9d3c5eb215f
/frameworks/base/core/java/android/util/PathParser.java
|
e1b9262084362c2001b421d6ed2b2e14083870ef |
|
16-Mar-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Use || instead of | Nothing wrong with | in this case, but || is canonical. Bug: 19797138 Change-Id: I5f145736a5470f7cde06efce9a217d86eda2135f
/frameworks/base/core/java/android/util/PathParser.java
|
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
|