Support repeatMode = reverse in AVD
BUG: 30641232 Change-Id: I34c823a0a45c8441873a9b467275174c5529994b
This commit is contained in:
@@ -1358,7 +1358,7 @@ public class AnimatedVectorDrawable extends Drawable implements Animatable2 {
|
||||
|
||||
mStartDelays.add(startDelay);
|
||||
nAddAnimator(mSetPtr, propertyPtr, nativeInterpolator, startDelay, duration,
|
||||
repeatCount);
|
||||
repeatCount, animator.getRepeatMode());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1625,7 +1625,8 @@ public class AnimatedVectorDrawable extends Drawable implements Animatable2 {
|
||||
private static native long nCreateAnimatorSet();
|
||||
private static native void nSetVectorDrawableTarget(long animatorPtr, long vectorDrawablePtr);
|
||||
private static native void nAddAnimator(long setPtr, long propertyValuesHolder,
|
||||
long nativeInterpolator, long startDelay, long duration, int repeatCount);
|
||||
long nativeInterpolator, long startDelay, long duration, int repeatCount,
|
||||
int repeatMode);
|
||||
|
||||
private static native long nCreateGroupPropertyHolder(long nativePtr, int propertyId,
|
||||
float startValue, float endValue);
|
||||
|
||||
Reference in New Issue
Block a user