Package org.robolectric.nativeruntime
Class PropertyValuesHolderNatives
java.lang.Object
org.robolectric.nativeruntime.PropertyValuesHolderNatives
public final class PropertyValuesHolderNatives extends Object
Native methods for PropertyValuesHolder JNI registration.
Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/PropertyValuesHolder.java
-
Method Summary
Modifier and Type Method Description static void
nCallFloatMethod(Object target, long methodID, float arg)
static void
nCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4)
static void
nCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4)
static void
nCallIntMethod(Object target, long methodID, int arg)
static void
nCallMultipleFloatMethod(Object target, long methodID, float[] args)
static void
nCallMultipleIntMethod(Object target, long methodID, int[] args)
static void
nCallTwoFloatMethod(Object target, long methodID, float arg1, float arg2)
static void
nCallTwoIntMethod(Object target, long methodID, int arg1, int arg2)
static long
nGetFloatMethod(Class<?> targetClass, String methodName)
static long
nGetIntMethod(Class<?> targetClass, String methodName)
static long
nGetMultipleFloatMethod(Class<?> targetClass, String methodName, int numParams)
static long
nGetMultipleIntMethod(Class<?> targetClass, String methodName, int numParams)
-
Method Details
-
nGetIntMethod
-
nGetFloatMethod
-
nGetMultipleIntMethod
-
nGetMultipleFloatMethod
-
nCallIntMethod
-
nCallFloatMethod
-
nCallTwoIntMethod
-
nCallFourIntMethod
public static void nCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4) -
nCallMultipleIntMethod
-
nCallTwoFloatMethod
-
nCallFourFloatMethod
public static void nCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4) -
nCallMultipleFloatMethod
-