/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 | 98 /** Convert RGB components to HSV. 99 hsv[0] is Hue [0 .. 360) 100 hsv[1] is Saturation [0...1] 101 hsv[2] is Value [0...1] 105 @param hsv 3 element array which holds the resulting HSV components. 107 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]); 109 /** Convert the argb color to its HSV components. 110 hsv[0] is Hue [0 .. 360) 111 hsv[1] is Saturation [0...1 118 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 29 SkScalar hsv[3]; local 30 SkRGBToHSV(red, green, blue, hsv); 35 values[i] = SkScalarToFloat(hsv[i]); 43 SkScalar hsv[3]; local 46 hsv[i] = SkFloatToScalar(values[i]); 49 return SkHSVToColor(alpha, hsv);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
RocketLauncher.java | 94 public final float[] hsv = new float[3]; field in class:RocketLauncher.Board.FlyingIcon 110 hsv[1] = 1f; 111 hsv[2] = 1f;
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 593 float[] hsv = new float[3]; local 594 Color.colorToHSV(color, hsv); 595 hsv[1] = Math.max(hsv[1] - SATURATION_ADJUST, 0.0f); 596 return Color.HSVToColor(hsv); [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
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 | |