Class PathParserNatives

java.lang.Object
org.robolectric.nativeruntime.PathParserNatives

public final class PathParserNatives
extends Object
Native methods for PathParser 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/PathParser.java

  • Method Details

    • nParseStringForPath

      public static void nParseStringForPath​(long pathPtr, String pathString, int stringLength)
    • nCreatePathDataFromString

      public static long nCreatePathDataFromString​(String pathString, int stringLength)
    • nCreatePathFromPathData

      public static void nCreatePathFromPathData​(long outPathPtr, long pathData)
    • nCreateEmptyPathData

      public static long nCreateEmptyPathData()
    • nCreatePathData

      public static long nCreatePathData​(long nativePtr)
    • nInterpolatePathData

      public static boolean nInterpolatePathData​(long outDataPtr, long fromDataPtr, long toDataPtr, float fraction)
    • nFinalize

      public static void nFinalize​(long nativePtr)
    • nCanMorph

      public static boolean nCanMorph​(long fromDataPtr, long toDataPtr)
    • nSetPathData

      public static void nSetPathData​(long outDataPtr, long fromDataPtr)