Searched refs:hsv1 (Results 1 – 2 of 2) sorted by relevance
162 SkColor OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const;
1005 SkColor NativeThemeBase::OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const { in OutlineColor() argument1033 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()