/external/skia/src/animator/ |
D | SkDrawColor.cpp | 44 SkScalar hue; in RGB_to_HSV() local 46 hue = 0; in RGB_to_HSV() 50 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV() 51 if (hue < 0) in RGB_to_HSV() 52 hue += 360 * SK_Scalar1; in RGB_to_HSV() 55 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV() 57 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); in RGB_to_HSV() 60 return hue; in RGB_to_HSV() 69 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); in HSV_to_RGB() local 80 int sextant = SkScalarFloor(hue / 60); in HSV_to_RGB() [all …]
|
D | SkAnimateSchema.xsd | 1250 <!-- @attribute hue The hue component of an HSV color. Hue ranges from 0 to 360. --> 1251 <xs:attribute name="hue" type="Sk:Float"/>
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | Color.cpp | 99 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha) in makeRGBAFromHSLA() argument 111 return makeRGBA(static_cast<int>(calcHue(temp1, temp2, hue + 1.0 / 3.0) * scaleFactor), in makeRGBAFromHSLA() 112 static_cast<int>(calcHue(temp1, temp2, hue) * scaleFactor), in makeRGBAFromHSLA() 113 static_cast<int>(calcHue(temp1, temp2, hue - 1.0 / 3.0) * scaleFactor), in makeRGBAFromHSLA() 361 void Color::getHSL(double& hue, double& saturation, double& lightness) const in getHSL() argument 373 hue = 0.0; in getHSL() 375 hue = (60.0 * ((g - b) / (max - min))) + 360.0; in getHSL() 377 hue = (60.0 * ((b - r) / (max - min))) + 120.0; in getHSL() 379 hue = (60.0 * ((r - g) / (max - min))) + 240.0; in getHSL() 381 if (hue >= 360.0) in getHSL() [all …]
|
/external/mesa3d/test/Debug/ |
D | stress_fs.frag | 22 int hue; 27 hue=4; 32 hue=3; 35 if(sum(abs(v2.zxy-v2.xyz))-width<blowup) return hue;
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1217 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local 1254 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_load_bg_image() 1265 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_load_bg_image() 1266 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_x_load_bg_image() 1267 hue /= 60.0; in rpng2_x_load_bg_image() 1268 ii = (int)hue; in rpng2_x_load_bg_image() 1269 f = hue - (double)ii; in rpng2_x_load_bg_image() 1986 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_reload_bg_image() local 2019 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_reload_bg_image() 2030 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_reload_bg_image() [all …]
|
D | rpng2-win.c | 947 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_win_load_bg_image() local 984 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_win_load_bg_image() 995 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_win_load_bg_image() 996 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_win_load_bg_image() 997 hue /= 60.0; in rpng2_win_load_bg_image() 998 ii = (int)hue; in rpng2_win_load_bg_image() 999 f = hue - (double)ii; in rpng2_win_load_bg_image()
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
D | FEColorMatrix.cpp | 100 inline void huerotate(double& red, double& green, double& blue, const float& hue) in huerotate() argument 102 double cosHue = cos(hue * piDouble / 180); in huerotate() 103 double sinHue = sin(hue * piDouble / 180); in huerotate()
|
/external/chromium/chrome/browser/themes/ |
D | theme_service_mac.mm | 163 CGFloat hue, saturation, brightness; 164 HSLToHSB(tint, &hue, &saturation, &brightness); 166 tint_color = [NSColor colorWithCalibratedHue:hue
|
/external/kernel-headers/original/linux/ |
D | videodev.h | 88 __u16 hue; member
|
/external/llvm/ |
D | CREDITS.TXT | 270 E: morten@hue.no
|
/external/srec/config/en.us/dictionary/ |
D | large.ok | 13927 hue hyU
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2007-10-14 | 13047 (WebCore::CSSParser::parseHSLParameters): Parse hue as a Number,
|