Class InterpolatorNatives

java.lang.Object
org.robolectric.nativeruntime.InterpolatorNatives

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

  • Method Details

    • nativeConstructor

      public static long nativeConstructor​(int valueCount, int frameCount)
    • nativeDestructor

      public static void nativeDestructor​(long nativeInstance)
    • nativeReset

      public static void nativeReset​(long nativeInstance, int valueCount, int frameCount)
    • nativeSetKeyFrame

      public static void nativeSetKeyFrame​(long nativeInstance, int index, int msec, float[] values, float[] blend)
    • nativeSetRepeatMirror

      public static void nativeSetRepeatMirror​(long nativeInstance, float repeatCount, boolean mirror)
    • nativeTimeToValues

      public static int nativeTimeToValues​(long nativeInstance, int msec, float[] values)