/external/skia/src/animator/ |
D | SkDrawColor.cpp | 36 SkScalar hue; in RGB_to_HSV() local 38 hue = 0; in RGB_to_HSV() 42 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV() 43 if (hue < 0) in RGB_to_HSV() 44 hue += 360 * SK_Scalar1; in RGB_to_HSV() 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV() 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); in RGB_to_HSV() 52 return hue; in RGB_to_HSV() 61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); in HSV_to_RGB() local 72 int sextant = SkScalarFloorToInt(hue / 60); in HSV_to_RGB() [all …]
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDrawColor.cpp | 36 SkScalar hue; in RGB_to_HSV() local 38 hue = 0; in RGB_to_HSV() 42 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV() 43 if (hue < 0) in RGB_to_HSV() 44 hue += 360 * SK_Scalar1; in RGB_to_HSV() 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV() 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); in RGB_to_HSV() 52 return hue; in RGB_to_HSV() 61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); in HSV_to_RGB() local 72 int sextant = SkScalarFloorToInt(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/chromium_org/ui/gfx/ |
D | color_utils.cc | 29 int calcHue(double temp1, double temp2, double hue) { in calcHue() argument 30 if (hue < 0.0) in calcHue() 31 ++hue; in calcHue() 32 else if (hue > 1.0) in calcHue() 33 --hue; in calcHue() 36 if (hue * 6.0 < 1.0) in calcHue() 37 result = temp1 + (temp2 - temp1) * hue * 6.0; in calcHue() 38 else if (hue * 2.0 < 1.0) in calcHue() 40 else if (hue * 3.0 < 2.0) in calcHue() 41 result = temp1 + (temp2 - temp1) * (2.0 / 3.0 - hue) * 6.0; in calcHue() [all …]
|
/external/chromium_org/third_party/WebKit/Source/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() 398 void Color::getHSL(double& hue, double& saturation, double& lightness) const in getHSL() argument 410 hue = 0.0; in getHSL() 412 hue = (60.0 * ((g - b) / (max - min))) + 360.0; in getHSL() 414 hue = (60.0 * ((b - r) / (max - min))) + 120.0; in getHSL() 416 hue = (60.0 * ((r - g) / (max - min))) + 240.0; in getHSL() 418 if (hue >= 360.0) in getHSL() [all …]
|
/external/chromium_org/ui/views/color_chooser/ |
D | color_chooser_view.cc | 122 void OnHueChanged(SkScalar hue); 144 void ColorChooserView::HueView::OnHueChanged(SkScalar hue) { in OnHueChanged() argument 147 int level = SkScalarDiv(SkScalarMul(hue_max - hue, height), hue_max); in OnHueChanged() 233 void OnHueChanged(SkScalar hue); 259 void ColorChooserView::SaturationValueView::OnHueChanged(SkScalar hue) { in OnHueChanged() argument 260 if (hue_ != hue) { in OnHueChanged() 261 hue_ = hue; in OnHueChanged() 419 void ColorChooserView::OnHueChosen(SkScalar hue) { in OnHueChosen() argument 420 hsv_[0] = hue; in OnHueChosen() 424 saturation_value_->OnHueChanged(hue); in OnHueChosen()
|
D | color_chooser_view.h | 35 void OnHueChosen(SkScalar hue); 40 float hue() const { return hsv_[0]; } in hue() function
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
D | FEColorMatrix.cpp | 95 static void hueRotateMatrix(float hue, SkScalar matrix[20]) in hueRotateMatrix() argument 97 float cosHue = cosf(hue * piFloat / 180); in hueRotateMatrix() 98 float sinHue = sinf(hue * piFloat / 180); in hueRotateMatrix()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | spectrum.css | 23 .spectrum-hue { 71 .spectrum-hue {
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1197 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local 1234 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_load_bg_image() 1245 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_load_bg_image() 1246 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_x_load_bg_image() 1247 hue /= 60.0; in rpng2_x_load_bg_image() 1248 ii = (int)hue; in rpng2_x_load_bg_image() 1249 f = hue - (double)ii; in rpng2_x_load_bg_image() 1966 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_reload_bg_image() local 1999 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_reload_bg_image() 2010 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_reload_bg_image() [all …]
|
D | rpng2-win.c | 970 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_win_load_bg_image() local 1007 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_win_load_bg_image() 1018 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_win_load_bg_image() 1019 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_win_load_bg_image() 1020 hue /= 60.0; in rpng2_win_load_bg_image() 1021 ii = (int)hue; in rpng2_win_load_bg_image() 1022 f = hue - (double)ii; in rpng2_win_load_bg_image()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/ |
D | attributes.c | 100 context_priv->procamp.hue = value / 1000.0f; in XvMCSetAttribute() 144 *value = context_priv->procamp.hue * 1000; in XvMCGetAttribute()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | attributes.c | 100 context_priv->procamp.hue = value / 1000.0f; in XvMCSetAttribute() 144 *value = context_priv->procamp.hue * 1000; in XvMCGetAttribute()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_csc.h | 40 float hue; member
|
D | vl_csc.c | 187 float h = p->hue; in vl_csc_get_matrix()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
D | vl_csc.h | 40 float hue; member
|
D | vl_csc.c | 187 float h = p->hue; in vl_csc_get_matrix()
|
/external/chromium_org/cc/output/ |
D | render_surface_filters.cc | 70 void GetHueRotateMatrix(float hue, SkScalar matrix[20]) { in GetHueRotateMatrix() argument 73 float cos_hue = cosf(hue * kPi / 180.f); in GetHueRotateMatrix() 74 float sin_hue = sinf(hue * kPi / 180.f); in GetHueRotateMatrix()
|
/external/chromium_org/chrome/browser/themes/ |
D | theme_service_mac.mm | 139 CGFloat hue, saturation, brightness; 140 HSLToHSB(tint, &hue, &saturation, &brightness); 142 tint_color = [NSColor colorWithCalibratedHue:hue
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | mixer.c | 784 camp.hue = procamp->hue; in vlVdpGenerateCSCMatrix()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
D | mixer.c | 784 camp.hue = procamp->hue; in vlVdpGenerateCSCMatrix()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSValueKeywords.in | 913 hue
|
/external/llvm/ |
D | CREDITS.TXT | 328 E: morten@hue.no
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | FrameView.cpp | 280 double hue, saturation, lightness; in recalculateScrollbarOverlayStyle() local 281 backgroundColor.getHSL(hue, saturation, lightness); in recalculateScrollbarOverlayStyle()
|
/external/chromium_org/chrome/browser/web_applications/ |
D | web_app_mac.mm | 411 // distro size and for better consistency with changing hue across OSX
|