Package org.robolectric.nativeruntime
Class PathParserNatives
java.lang.Object
org.robolectric.nativeruntime.PathParserNatives
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 Summary
Modifier and TypeMethodDescriptionstatic boolean
nCanMorph
(long fromDataPtr, long toDataPtr) static long
static long
nCreatePathData
(long nativePtr) static long
nCreatePathDataFromString
(String pathString, int stringLength) static void
nCreatePathFromPathData
(long outPathPtr, long pathData) static void
nFinalize
(long nativePtr) static boolean
nInterpolatePathData
(long outDataPtr, long fromDataPtr, long toDataPtr, float fraction) static void
nParseStringForPath
(long pathPtr, String pathString, int stringLength) static void
nSetPathData
(long outDataPtr, long fromDataPtr)
-
Method Details
-
nParseStringForPath
-
nCreatePathDataFromString
-
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)
-