Package org.robolectric.shadows
Class ShadowNativeInterpolator
java.lang.Object
org.robolectric.shadows.ShadowNativeInterpolator
@Implements(value=android.graphics.Interpolator.class,
minSdk=26,
shadowPicker=Picker.class,
callNativeMethodsByDefault=true)
public class ShadowNativeInterpolator
extends Object
Shadow for
Interpolator that is backed by native code-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static longnativeConstructor(int valueCount, int frameCount) protected static voidnativeDestructor(long nativeInstance) protected static voidnativeReset(long nativeInstance, int valueCount, int frameCount) protected static voidnativeSetKeyFrame(long nativeInstance, int index, int msec, float[] values, float[] blend) protected static voidnativeSetRepeatMirror(long nativeInstance, float repeatCount, boolean mirror) protected static intnativeTimeToValues(long nativeInstance, int msec, float[] values)
-
Constructor Details
-
ShadowNativeInterpolator
public ShadowNativeInterpolator()
-
-
Method Details
-
nativeConstructor
-
nativeDestructor
-
nativeReset
@Implementation(maxSdk=34) protected static void nativeReset(long nativeInstance, int valueCount, int frameCount) -
nativeSetKeyFrame
@Implementation(maxSdk=34) protected static void nativeSetKeyFrame(long nativeInstance, int index, int msec, float[] values, float[] blend) -
nativeSetRepeatMirror
@Implementation(maxSdk=34) protected static void nativeSetRepeatMirror(long nativeInstance, float repeatCount, boolean mirror) -
nativeTimeToValues
@Implementation(maxSdk=34) protected static int nativeTimeToValues(long nativeInstance, int msec, float[] values)
-