Home
last modified time | relevance | path

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

/external/chromium_org/ui/native_theme/
Dnative_theme_base.h162 SkColor OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const;
Dnative_theme_base.cc1005 SkColor NativeThemeBase::OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const { in OutlineColor() argument
1033 SkScalar min_diff = Clamp((hsv1[1] + hsv2[1]) * 1.2f, 0.28f, 0.5f); in OutlineColor()
1034 SkScalar diff = Clamp(fabs(hsv1[2] - hsv2[2]) / 2, min_diff, 0.5f); in OutlineColor()
1036 if (hsv1[2] + hsv2[2] > 1.0) in OutlineColor()