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,
callNativeMethodsByDefault=true)
public class ShadowNativePathParser
extends Object
Shadow for
PathParser
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
nCanMorph
(long fromDataPtr, long toDataPtr) protected static long
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, maxSdk=34) protected static void nParseStringForPath(long pathPtr, String pathString, int stringLength) -
nCreatePathDataFromString
@Implementation(minSdk=26, maxSdk=34) protected static long nCreatePathDataFromString(String pathString, int stringLength) -
nCreatePathFromPathData
@Implementation(minSdk=26, maxSdk=34) protected static void nCreatePathFromPathData(long outPathPtr, long pathData) -
nCreateEmptyPathData
-
nCreatePathData
-
nInterpolatePathData
@Implementation(minSdk=26, maxSdk=34) protected static boolean nInterpolatePathData(long outDataPtr, long fromDataPtr, long toDataPtr, float fraction) -
nFinalize
-
nCanMorph
@Implementation(minSdk=26, maxSdk=34) protected static boolean nCanMorph(long fromDataPtr, long toDataPtr) -
nSetPathData
@Implementation(minSdk=26, maxSdk=34) protected static void nSetPathData(long outDataPtr, long fromDataPtr)
-