Class AnimatedVectorDrawableNatives

java.lang.Object
org.robolectric.nativeruntime.AnimatedVectorDrawableNatives

public final class AnimatedVectorDrawableNatives extends Object
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 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)