Class ShadowNativeAnimatedVectorDrawable

java.lang.Object
org.robolectric.shadows.ShadowDrawable
org.robolectric.shadows.ShadowNativeAnimatedVectorDrawable

Shadow for AnimatedVectorDrawable that is backed by native code
  • Field Details

  • Constructor Details

    • ShadowNativeAnimatedVectorDrawable

      public ShadowNativeAnimatedVectorDrawable()
  • Method Details

    • start

      @Implementation protected void start()
    • stop

      @Implementation protected void stop()
    • isStartInitiated

      public final boolean isStartInitiated()
      Returns true if start() was called and false if start() was not called or stop() was called.
    • nCreateAnimatorSet

      @Implementation(minSdk=24) protected static long 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

      @Implementation(minSdk=24) protected static void nEnd(long animatorSetPtr)
    • nReset

      @Implementation(minSdk=24) protected static void nReset(long animatorSetPtr)