Searched defs:hsv (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DIconTest.java307 static float[] hsv = new float[3]; field in class:IconTest
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp29 SkScalar hsv[3]; local
30 SkRGBToHSV(red, green, blue, hsv);
35 values[i] = SkScalarToFloat(hsv[i]);
43 SkScalar* hsv = autoHSV.ptr(); local
48 return static_cast<jint>(SkHSVToColor(alpha, hsv));
/frameworks/base/graphics/java/android/graphics/
H A DColor.java1406 * <li><code>hsv[0]</code> is Hue \([0..360[\)</li>
1407 * <li><code>hsv[1]</code> is Saturation \([0...1]\)</li>
1408 * <li><code>hsv[2]</code> is Value \([0...1]\)</li>
1413 * @param hsv 3 element array which holds the resulting HSV components.
1418 @IntRange(from = 0, to = 255) int blue, @Size(3) float hsv[]) {
1419 if (hsv.length < 3) {
1420 throw new RuntimeException("3 components required for hsv");
1422 nativeRGBToHSV(red, green, blue, hsv);
1428 * <li><code>hsv[0]</code> is Hue \([0..360[\)</li>
1429 * <li><code>hsv[
1415 RGBToHSV( @ntRangefrom = 0, to = 255) int red, @IntRange(from = 0, to = 255) int green, @IntRange(from = 0, to = 255) int blue, @Size(3) float hsv[]) argument
1435 colorToHSV(@olorInt int color, @Size(3) float hsv[]) argument
1451 HSVToColor(@ize3) float hsv[]) argument
1469 HSVToColor(@ntRangefrom = 0, to = 255) int alpha, @Size(3) float hsv[]) argument
1476 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument
1477 nativeHSVToColor(int alpha, float hsv[]) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java227 float[] hsv = new float[] { 0, 1f, .85f }; field in class:DessertCaseView
231 hsv[0] = irand(0,COLORS) * (360f/COLORS);
232 return Color.HSVToColor(hsv);
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java297 final static float hsv[] = {0, 0, 0}; field in class:MLand

Completed in 3225 milliseconds