1{ 2 "methods": { 3 "HSVToColor(int,float[])": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected", 7 "static" 8 ], 9 "params": [ 10 "alpha", 11 "hsv" 12 ], 13 "returnType": "int", 14 "exceptions": [], 15 "name": "HSVToColor(int,float[])" 16 }, 17 "RGBToHSV(int,int,int,float[])": { 18 "isImplementation": true, 19 "modifiers": [ 20 "protected", 21 "static" 22 ], 23 "params": [ 24 "red", 25 "green", 26 "blue", 27 "hsv" 28 ], 29 "returnType": "void", 30 "exceptions": [], 31 "name": "RGBToHSV(int,int,int,float[])", 32 "documentation": "This is implemented in native code in the Android SDK.\n\n\u003cp\u003eSince HSV \u003d\u003d HSB then the implementation from {@link java.awt.Color} can be used, with a\nsmall adjustment to the representation of the hue.\n\n\u003cp\u003e{@link java.awt.Color} represents hue as 0..1 (where 1 \u003d\u003d 100% \u003d\u003d 360 degrees), while {@link\nandroid.graphics.Color} represents hue as 0..360 degrees. The correct hue can be calculated by\nmultiplying with 360.\n\n@param red Red component\n@param green Green component\n@param blue Blue component\n@param hsv Array to store HSV components\n" 33 } 34 }, 35 "imports": [ 36 "android.graphics.Color", 37 "org.robolectric.annotation.Implementation", 38 "org.robolectric.annotation.Implements" 39 ], 40 "name": "org.robolectric.shadows.ShadowColor" 41}