Package org.robolectric.nativeruntime
Class AnimatedVectorDrawableNatives
java.lang.Object
org.robolectric.nativeruntime.AnimatedVectorDrawableNatives
Native methods for AnimatedVectorDrawable JNI registration.
Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
nAddAnimator
(long setPtr, long propertyValuesHolder, long nativeInterpolator, long startDelay, long duration, int repeatCount, int repeatMode) static long
static long
nCreateGroupPropertyHolder
(long nativePtr, int propertyId, float startValue, float endValue) static long
nCreatePathColorPropertyHolder
(long nativePtr, int propertyId, int startValue, int endValue) static long
nCreatePathDataPropertyHolder
(long nativePtr, long startValuePtr, long endValuePtr) static long
nCreatePathPropertyHolder
(long nativePtr, int propertyId, float startValue, float endValue) static long
nCreateRootAlphaPropertyHolder
(long nativePtr, float startValue, float endValue) static void
nEnd
(long animatorSetPtr) static void
nReset
(long animatorSetPtr) static void
nReverse
(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id) static void
nSetPropertyHolderData
(long nativePtr, float[] data, int length) static void
nSetPropertyHolderData
(long nativePtr, int[] data, int length) static void
nSetVectorDrawableTarget
(long animatorPtr, long vectorDrawablePtr) static void
nStart
(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id)
-
Method Details
-
nCreateAnimatorSet
public static long nCreateAnimatorSet() -
nSetVectorDrawableTarget
public static void nSetVectorDrawableTarget(long animatorPtr, long vectorDrawablePtr) -
nAddAnimator
public static void nAddAnimator(long setPtr, long propertyValuesHolder, long nativeInterpolator, long startDelay, long duration, int repeatCount, int repeatMode) -
nSetPropertyHolderData
public static void nSetPropertyHolderData(long nativePtr, float[] data, int length) -
nSetPropertyHolderData
public static void nSetPropertyHolderData(long nativePtr, int[] data, int length) -
nStart
public static void nStart(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id) -
nReverse
public static void nReverse(long animatorSetPtr, AnimatedVectorDrawable.VectorDrawableAnimatorRT set, int id) -
nCreateGroupPropertyHolder
public static long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) -
nCreatePathDataPropertyHolder
public static long nCreatePathDataPropertyHolder(long nativePtr, long startValuePtr, long endValuePtr) -
nCreatePathColorPropertyHolder
public static long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) -
nCreatePathPropertyHolder
public static long nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) -
nCreateRootAlphaPropertyHolder
public static long nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) -
nEnd
public static void nEnd(long animatorSetPtr) -
nReset
public static void nReset(long animatorSetPtr)
-