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 classShadowNativeInterpolator.PickerShadow picker forInterpolator. -
Constructor Summary
Constructors Constructor Description ShadowNativeInterpolator() -
Method Summary
Modifier and Type Method Description protected 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 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)
-