Package org.robolectric.nativeruntime
Class LinearGradientNatives
- java.lang.Object
-
- org.robolectric.nativeruntime.LinearGradientNatives
-
public final class LinearGradientNatives extends Object
Native methods for LinearGradient 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/LinearGradient.java
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longnativeCreate(long matrix, float x0, float y0, float x1, float y1, long[] colors, float[] positions, int tileMode, long colorSpaceHandle)static longnativeCreate1(long matrix, float x0, float y0, float x1, float y1, int[] colors, float[] positions, int tileMode)static longnativeCreate2(long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode)
-
-
-
Method Detail
-
nativeCreate
public static long nativeCreate(long matrix, float x0, float y0, float x1, float y1, long[] colors, float[] positions, int tileMode, long colorSpaceHandle)
-
nativeCreate1
public static long nativeCreate1(long matrix, float x0, float y0, float x1, float y1, int[] colors, float[] positions, int tileMode)
-
nativeCreate2
public static long nativeCreate2(long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode)
-
-