Class ShadowNativeInterpolator

java.lang.Object
org.robolectric.shadows.ShadowNativeInterpolator

@Implements(value=android.graphics.Interpolator.class, minSdk=26, shadowPicker=Picker.class) public class ShadowNativeInterpolator extends Object
Shadow for Interpolator that is backed by native code
  • Constructor Details

    • ShadowNativeInterpolator

      public ShadowNativeInterpolator()
  • Method Details

    • nativeConstructor

      @Implementation protected static long nativeConstructor(int valueCount, int frameCount)
    • nativeDestructor

      @Implementation protected static void nativeDestructor(long nativeInstance)
    • nativeReset

      @Implementation protected static void nativeReset(long nativeInstance, int valueCount, int frameCount)
    • nativeSetKeyFrame

      @Implementation protected static void nativeSetKeyFrame(long nativeInstance, int index, int msec, float[] values, float[] blend)
    • nativeSetRepeatMirror

      @Implementation protected static void nativeSetRepeatMirror(long nativeInstance, float repeatCount, boolean mirror)
    • nativeTimeToValues

      @Implementation protected static int nativeTimeToValues(long nativeInstance, int msec, float[] values)