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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
nativeHSVToColor
(int alpha, float[] hsv) protected static void
nativeRGBToHSV
(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
-