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 classShadowNativeAnimatedVectorDrawable.PickerShadow picker forAnimatedVectorDrawable. -
Constructor Summary
Constructors Constructor Description ShadowNativeAnimatedVectorDrawable() -
Method Summary
Modifier and Type Method Description protected static voidnAddAnimator(long setPtr, long propertyValuesHolder, long nativeInterpolator, long startDelay, long duration, int repeatCount, int repeatMode)protected static longnCreateAnimatorSet()protected static longnCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue)protected static longnCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue)protected static longnCreatePathDataPropertyHolder(long nativePtr, long startValuePtr, long endValuePtr)protected static longnCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue)protected static longnCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue)protected static voidnEnd(long animatorSetPtr)protected static voidnReset(long animatorSetPtr)protected static voidnReverse(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id)protected static voidnSetPropertyHolderData(long nativePtr, float[] data, int length)protected static voidnSetPropertyHolderData(long nativePtr, int[] data, int length)protected static voidnSetVectorDrawableTarget(long animatorPtr, long vectorDrawablePtr)protected static voidnStart(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
-