Package org.robolectric.shadows
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-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeInterpolator.Picker
Shadow picker forInterpolator
. -
Constructor Summary
Constructors Constructor Description ShadowNativeInterpolator()
-
Method Summary
Modifier and Type Method Description protected static long
nativeConstructor(int valueCount, int frameCount)
protected static void
nativeDestructor(long nativeInstance)
protected static void
nativeReset(long nativeInstance, int valueCount, int frameCount)
protected static void
nativeSetKeyFrame(long nativeInstance, int index, int msec, float[] values, float[] blend)
protected static void
nativeSetRepeatMirror(long nativeInstance, float repeatCount, boolean mirror)
protected static int
nativeTimeToValues(long nativeInstance, int msec, float[] values)
-
Constructor Details
-
ShadowNativeInterpolator
public ShadowNativeInterpolator()
-
-
Method Details
-
nativeConstructor
-
nativeDestructor
-
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)
-