Package org.robolectric.shadows
Class ShadowNativeColor
java.lang.Object
org.robolectric.shadows.ShadowNativeColor
@Implements(value=android.graphics.Color.class, minSdk=26, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowNativeColor extends Object
Shadow for
Color that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeColor.PickerShadow picker forColor. -
Constructor Summary
Constructors Constructor Description ShadowNativeColor() -
Method Summary
Modifier and Type Method Description protected static intnativeHSVToColor(int alpha, float[] hsv)protected static voidnativeRGBToHSV(int red, int greed, int blue, float[] hsv)
-
Constructor Details
-
ShadowNativeColor
public ShadowNativeColor()
-
-
Method Details
-
nativeRGBToHSV
@Implementation(minSdk=26) protected static void nativeRGBToHSV(int red, int greed, int blue, float[] hsv) -
nativeHSVToColor
-