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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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(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)
-