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 Details

    • nGetIntMethod

      public static long nGetIntMethod(Class<?> targetClass, String methodName)
    • nGetFloatMethod

      public static long nGetFloatMethod(Class<?> targetClass, String methodName)
    • nGetMultipleIntMethod

      public static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, int numParams)
    • nGetMultipleFloatMethod

      public static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, int numParams)
    • nCallIntMethod

      public static void nCallIntMethod(Object target, long methodID, int arg)
    • nCallFloatMethod

      public static void nCallFloatMethod(Object target, long methodID, float arg)
    • nCallTwoIntMethod

      public static void nCallTwoIntMethod(Object target, long methodID, int arg1, int arg2)
    • nCallFourIntMethod

      public static void nCallFourIntMethod(Object target, long methodID, int arg1, int arg2, int arg3, int arg4)
    • nCallMultipleIntMethod

      public static void nCallMultipleIntMethod(Object target, long methodID, int[] args)
    • nCallTwoFloatMethod

      public static void nCallTwoFloatMethod(Object target, long methodID, float arg1, float arg2)
    • nCallFourFloatMethod

      public static void nCallFourFloatMethod(Object target, long methodID, float arg1, float arg2, float arg3, float arg4)
    • nCallMultipleFloatMethod

      public static void nCallMultipleFloatMethod(Object target, long methodID, float[] args)