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