Package org.robolectric.shadows
Class ShadowNativePropertyValuesHolder
java.lang.Object
org.robolectric.shadows.ShadowNativePropertyValuesHolder
@Implements(value=android.animation.PropertyValuesHolder.class,
minSdk=26,
shadowPicker=Picker.class,
callNativeMethodsByDefault=true)
public class ShadowNativePropertyValuesHolder
extends Object
Shadow for
PropertyValuesHolder that is backed by native code-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidnCallFloatMethod(Object target, long methodID, float arg) protected static voidnCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4) protected static voidnCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4) protected static voidnCallIntMethod(Object target, long methodID, int arg) protected static voidnCallMultipleFloatMethod(Object target, long methodID, float[] args) protected static voidnCallMultipleIntMethod(Object target, long methodID, int[] args) protected static voidnCallTwoFloatMethod(Object target, long methodID, float arg1, float arg2) protected static voidnCallTwoIntMethod(Object target, long methodID, int arg1, int arg2) protected static longnGetFloatMethod(Class<?> targetClass, String methodName) protected static longnGetIntMethod(Class<?> targetClass, String methodName) protected static longnGetMultipleFloatMethod(Class<?> targetClass, String methodName, int numParams) protected static longnGetMultipleIntMethod(Class<?> targetClass, String methodName, int numParams)
-
Constructor Details
-
ShadowNativePropertyValuesHolder
public ShadowNativePropertyValuesHolder()
-
-
Method Details
-
nGetIntMethod
@Implementation(maxSdk=34) protected static long nGetIntMethod(Class<?> targetClass, String methodName) -
nGetFloatMethod
@Implementation(maxSdk=34) protected static long nGetFloatMethod(Class<?> targetClass, String methodName) -
nGetMultipleIntMethod
@Implementation(maxSdk=34) protected static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, int numParams) -
nGetMultipleFloatMethod
@Implementation(maxSdk=34) protected static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, int numParams) -
nCallIntMethod
@Implementation(maxSdk=34) protected static void nCallIntMethod(Object target, long methodID, int arg) -
nCallFloatMethod
@Implementation(maxSdk=34) protected static void nCallFloatMethod(Object target, long methodID, float arg) -
nCallTwoIntMethod
@Implementation(maxSdk=34) protected static void nCallTwoIntMethod(Object target, long methodID, int arg1, int arg2) -
nCallFourIntMethod
@Implementation(maxSdk=34) protected static void nCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4) -
nCallMultipleIntMethod
@Implementation(maxSdk=34) protected static void nCallMultipleIntMethod(Object target, long methodID, int[] args) -
nCallTwoFloatMethod
@Implementation(maxSdk=34) protected static void nCallTwoFloatMethod(Object target, long methodID, float arg1, float arg2) -
nCallFourFloatMethod
@Implementation(maxSdk=34) protected static void nCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4) -
nCallMultipleFloatMethod
@Implementation(maxSdk=34) protected static void nCallMultipleFloatMethod(Object target, long methodID, float[] args)
-