diff options
| author | Doris Liu <tianliu@google.com> | 2016-01-07 13:49:26 -0800 |
|---|---|---|
| committer | Doris Liu <tianliu@google.com> | 2016-02-02 15:04:01 -0800 |
| commit | f276acd98457bcaabc9e79a17a736b3b484f005e (patch) | |
| tree | b9efee10194c520b09a4813f7b8074be9a2f99c8 /core/java/android/animation/PathKeyframes.java | |
| parent | 650e3b70e4aa2fa9acf2f9c6ce211c4b46862c15 (diff) | |
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
Diffstat (limited to 'core/java/android/animation/PathKeyframes.java')
| -rw-r--r-- | core/java/android/animation/PathKeyframes.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/animation/PathKeyframes.java b/core/java/android/animation/PathKeyframes.java index 2a47b68a41b0..8230ac5bbfc5 100644 --- a/core/java/android/animation/PathKeyframes.java +++ b/core/java/android/animation/PathKeyframes.java @@ -231,7 +231,7 @@ class PathKeyframes implements Keyframes { } } - private abstract static class IntKeyframesBase extends SimpleKeyframes implements IntKeyframes { + abstract static class IntKeyframesBase extends SimpleKeyframes implements IntKeyframes { @Override public Class getType() { return Integer.class; @@ -243,7 +243,7 @@ class PathKeyframes implements Keyframes { } } - private abstract static class FloatKeyframesBase extends SimpleKeyframes + abstract static class FloatKeyframesBase extends SimpleKeyframes implements FloatKeyframes { @Override public Class getType() { |
