Package org.robolectric.nativeruntime
Class SweepGradientNatives
java.lang.Object
org.robolectric.nativeruntime.SweepGradientNatives
Native methods for SweepGradient 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/SweepGradient.java
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
nativeCreate
(long matrix, float x, float y, long[] colors, float[] positions, long colorSpaceHandle) static long
nativeCreate1
(long matrix, float x, float y, int[] colors, float[] positions) static long
nativeCreate2
(long matrix, float x, float y, int color0, int color1)
-
Method Details
-
nativeCreate
public static long nativeCreate(long matrix, float x, float y, long[] colors, float[] positions, long colorSpaceHandle) -
nativeCreate1
public static long nativeCreate1(long matrix, float x, float y, int[] colors, float[] positions) -
nativeCreate2
public static long nativeCreate2(long matrix, float x, float y, int color0, int color1)
-