Package org.robolectric.shadows
Class ShadowNativePropertyValuesHolder
java.lang.Object
org.robolectric.shadows.ShadowNativePropertyValuesHolder
@Implements(value=android.animation.PropertyValuesHolder.class, minSdk=26, shadowPicker=Picker.class) public class ShadowNativePropertyValuesHolder extends Object
Shadow for
PropertyValuesHolder
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativePropertyValuesHolder.Picker
Shadow picker forPropertyValuesHolder
. -
Constructor Summary
Constructors Constructor Description ShadowNativePropertyValuesHolder()
-
Method Summary
Modifier and Type Method Description protected static void
nCallFloatMethod(Object target, long methodID, float arg)
protected static void
nCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4)
protected static void
nCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4)
protected static void
nCallIntMethod(Object target, long methodID, int arg)
protected static void
nCallMultipleFloatMethod(Object target, long methodID, float[] args)
protected static void
nCallMultipleIntMethod(Object target, long methodID, int[] args)
protected static void
nCallTwoFloatMethod(Object target, long methodID, float arg1, float arg2)
protected static void
nCallTwoIntMethod(Object target, long methodID, int arg1, int arg2)
protected static long
nGetFloatMethod(Class<?> targetClass, String methodName)
protected static long
nGetIntMethod(Class<?> targetClass, String methodName)
protected static long
nGetMultipleFloatMethod(Class<?> targetClass, String methodName, int numParams)
protected static long
nGetMultipleIntMethod(Class<?> targetClass, String methodName, int numParams)
-
Constructor Details
-
ShadowNativePropertyValuesHolder
public ShadowNativePropertyValuesHolder()
-
-
Method Details
-
nGetIntMethod
-
nGetFloatMethod
-
nGetMultipleIntMethod
@Implementation protected static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, int numParams) -
nGetMultipleFloatMethod
@Implementation protected static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, int numParams) -
nCallIntMethod
-
nCallFloatMethod
-
nCallTwoIntMethod
@Implementation protected static void nCallTwoIntMethod(Object target, long methodID, int arg1, int arg2) -
nCallFourIntMethod
@Implementation protected static void nCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4) -
nCallMultipleIntMethod
@Implementation protected static void nCallMultipleIntMethod(Object target, long methodID, int[] args) -
nCallTwoFloatMethod
@Implementation protected static void nCallTwoFloatMethod(Object target, long methodID, float arg1, float arg2) -
nCallFourFloatMethod
@Implementation protected static void nCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4) -
nCallMultipleFloatMethod
@Implementation protected static void nCallMultipleFloatMethod(Object target, long methodID, float[] args)
-