Home
last modified time | relevance | path

Searched refs:calcHue (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/gfx/
Dcolor_utils.cc29 int calcHue(double temp1, double temp2, double hue) { in calcHue() function
149 calcHue(temp1, temp2, hue + 1.0 / 3.0), in HSLToSkColor()
150 calcHue(temp1, temp2, hue), in HSLToSkColor()
151 calcHue(temp1, temp2, hue - 1.0 / 3.0)); in HSLToSkColor()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DColor.cpp79 static double calcHue(double temp1, double temp2, double hueVal) in calcHue() function
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()