Home
last modified time | relevance | path

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

/external/skia/src/animator/
DSkDrawColor.cpp40 SkScalar part60 = 60 / delta; in RGB_to_HSV() local
42 hue = SkScalarMul(green - blue, part60); 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()