@ Implementation protected static void RGBToHSV ( int red , int green , int blue , float hsv [ ] ) { java . awt . Color . RGBtoHSB ( red , green , blue , hsv ) ; hsv [ 0 ] = hsv [ 0 ] * 360 ; }
This is implemented in native code in the Android SDK .