/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorTest.java | 89 //abnormal case: hsv length less than 3 91 float[] hsv = new float[2]; local 92 Color.HSVToColor(hsv); 98 float[] hsv = new float[3]; local 99 Color.colorToHSV(Color.RED, hsv); 100 assertEquals(Color.RED, Color.HSVToColor(hsv)); 116 //abnormal case: hsv length less than 3 118 float[] hsv = new float[2]; local 119 Color.HSVToColor(hsv); 125 float[] hsv = new float[3] local 196 float[] hsv = new float[2]; local 203 float[] hsv = new float[3]; local [all...] |
/external/skia/include/core/ |
SkColor.h | 81 /** Convert RGB components to HSV. 82 hsv[0] is Hue [0 .. 360) 83 hsv[1] is Saturation [0...1] 84 hsv[2] is Value [0...1] 88 @param hsv 3 element array which holds the resulting HSV components. 90 void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]); 92 /** Convert the argb color to its HSV components. 93 hsv[0] is Hue [0 .. 360) 94 hsv[1] is Saturation [0...1 101 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 19 SkScalar hsv[3]; local 20 SkRGBToHSV(red, green, blue, hsv); 25 values[i] = SkScalarToFloat(hsv[i]); 33 SkScalar hsv[3]; local 36 hsv[i] = SkFloatToScalar(values[i]); 39 return SkHSVToColor(alpha, hsv);
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarView.java | 2471 float[] hsv = new float[3]; local 2472 Color.colorToHSV(p.getColor(), hsv); local [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |