Package org.robolectric.shadows
Class ShadowNativeAnimatedVectorDrawable
java.lang.Object
org.robolectric.shadows.ShadowDrawable
org.robolectric.shadows.ShadowNativeAnimatedVectorDrawable
@Implements(value=android.graphics.drawable.AnimatedVectorDrawable.class, minSdk=26, shadowPicker=Picker.class) public class ShadowNativeAnimatedVectorDrawable extends ShadowDrawable
Shadow for
AnimatedVectorDrawable
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeAnimatedVectorDrawable.Picker
Shadow picker forAnimatedVectorDrawable
. -
Constructor Summary
Constructors Constructor Description ShadowNativeAnimatedVectorDrawable()
-
Method Summary
Modifier and Type Method Description protected static void
nAddAnimator(long setPtr, long propertyValuesHolder, long nativeInterpolator, long startDelay, long duration, int repeatCount, int repeatMode)
protected static long
nCreateAnimatorSet()
protected static long
nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue)
protected static long
nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue)
protected static long
nCreatePathDataPropertyHolder(long nativePtr, long startValuePtr, long endValuePtr)
protected static long
nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue)
protected static long
nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue)
protected static void
nEnd(long animatorSetPtr)
protected static void
nReset(long animatorSetPtr)
protected static void
nReverse(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id)
protected static void
nSetPropertyHolderData(long nativePtr, float[] data, int length)
protected static void
nSetPropertyHolderData(long nativePtr, int[] data, int length)
protected static void
nSetVectorDrawableTarget(long animatorPtr, long vectorDrawablePtr)
protected static void
nStart(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id)
Methods inherited from class org.robolectric.shadows.ShadowDrawable
createFromResourceId, getCreatedFromResId, getInputStream, invalidateSelf, setCreatedFromResId, validate, wasInvalidated
-
Constructor Details
-
ShadowNativeAnimatedVectorDrawable
public ShadowNativeAnimatedVectorDrawable()
-
-
Method Details
-
nCreateAnimatorSet
-
nSetVectorDrawableTarget
@Implementation(minSdk=25) protected static void nSetVectorDrawableTarget(long animatorPtr, long vectorDrawablePtr) -
nAddAnimator
@Implementation(minSdk=25) protected static void nAddAnimator(long setPtr, long propertyValuesHolder, long nativeInterpolator, long startDelay, long duration, int repeatCount, int repeatMode) -
nSetPropertyHolderData
@Implementation(minSdk=24) protected static void nSetPropertyHolderData(long nativePtr, float[] data, int length) -
nSetPropertyHolderData
@Implementation(minSdk=25) protected static void nSetPropertyHolderData(long nativePtr, int[] data, int length) -
nStart
@Implementation(minSdk=24) protected static void nStart(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id) -
nReverse
@Implementation(minSdk=24) protected static void nReverse(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id) -
nCreateGroupPropertyHolder
@Implementation(minSdk=24) protected static long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) -
nCreatePathDataPropertyHolder
@Implementation(minSdk=24) protected static long nCreatePathDataPropertyHolder(long nativePtr, long startValuePtr, long endValuePtr) -
nCreatePathColorPropertyHolder
@Implementation(minSdk=24) protected static long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) -
nCreatePathPropertyHolder
@Implementation(minSdk=24) protected static long nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) -
nCreateRootAlphaPropertyHolder
@Implementation(minSdk=24) protected static long nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) -
nEnd
-
nReset
-