Package org.robolectric.shadows
Class ShadowNativePathParser
java.lang.Object
org.robolectric.shadows.ShadowNativePathParser
@Implements(value=android.util.PathParser.class, minSdk=26, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowNativePathParser extends Object
Shadow for
PathParser
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativePathParser.Picker
Shadow picker forPathParser
. -
Constructor Summary
Constructors Constructor Description ShadowNativePathParser()
-
Method Summary
Modifier and Type Method Description protected static boolean
nCanMorph(long fromDataPtr, long toDataPtr)
protected static long
nCreateEmptyPathData()
protected static long
nCreatePathData(long nativePtr)
protected static long
nCreatePathDataFromString(String pathString, int stringLength)
protected static void
nCreatePathFromPathData(long outPathPtr, long pathData)
protected static void
nFinalize(long nativePtr)
protected static boolean
nInterpolatePathData(long outDataPtr, long fromDataPtr, long toDataPtr, float fraction)
protected static void
nParseStringForPath(long pathPtr, String pathString, int stringLength)
protected static void
nSetPathData(long outDataPtr, long fromDataPtr)
-
Constructor Details
-
ShadowNativePathParser
public ShadowNativePathParser()
-
-
Method Details
-
nParseStringForPath
@Implementation(minSdk=26) protected static void nParseStringForPath(long pathPtr, String pathString, int stringLength) -
nCreatePathDataFromString
@Implementation(minSdk=26) protected static long nCreatePathDataFromString(String pathString, int stringLength) -
nCreatePathFromPathData
@Implementation(minSdk=26) protected static void nCreatePathFromPathData(long outPathPtr, long pathData) -
nCreateEmptyPathData
-
nCreatePathData
-
nInterpolatePathData
@Implementation(minSdk=26) protected static boolean nInterpolatePathData(long outDataPtr, long fromDataPtr, long toDataPtr, float fraction) -
nFinalize
-
nCanMorph
-
nSetPathData
-