Class RenderNodeAnimatorNatives

java.lang.Object
org.robolectric.nativeruntime.RenderNodeAnimatorNatives

public final class RenderNodeAnimatorNatives extends Object
Native methods for RenderNodeAnimator 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/RenderNodeAnimator.java

  • Method Details

    • nCreateAnimator

      public static long nCreateAnimator(int property, float finalValue)
    • nCreateCanvasPropertyFloatAnimator

      public static long nCreateCanvasPropertyFloatAnimator(long canvasProperty, float finalValue)
    • nCreateCanvasPropertyPaintAnimator

      public static long nCreateCanvasPropertyPaintAnimator(long canvasProperty, int paintField, float finalValue)
    • nCreateRevealAnimator

      public static long nCreateRevealAnimator(int x, int y, float startRadius, float endRadius)
    • nSetStartValue

      public static void nSetStartValue(long nativePtr, float startValue)
    • nSetDuration

      public static void nSetDuration(long nativePtr, long duration)
    • nGetDuration

      public static long nGetDuration(long nativePtr)
    • nSetStartDelay

      public static void nSetStartDelay(long nativePtr, long startDelay)
    • nSetInterpolator

      public static void nSetInterpolator(long animPtr, long interpolatorPtr)
    • nSetAllowRunningAsync

      public static void nSetAllowRunningAsync(long animPtr, boolean mayRunAsync)
    • nSetListener

      public static void nSetListener(long animPtr, Object listener)
    • nStart

      public static void nStart(long animPtr)
    • nEnd

      public static void nEnd(long animPtr)