Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBlendComposite.java319 float var_1, var_2; in HSLtoRGB() local
321 var_2 = l * (1 + s); in HSLtoRGB()
323 var_2 = (l + s) - (s * l); in HSLtoRGB()
325 var_1 = 2 * l - var_2; in HSLtoRGB()
327 R = (int) (255.0f * hue2RGB(var_1, var_2, h + (1.0f / 3.0f))); in HSLtoRGB()
328 G = (int) (255.0f * hue2RGB(var_1, var_2, h)); in HSLtoRGB()
329 B = (int) (255.0f * hue2RGB(var_1, var_2, h - (1.0f / 3.0f))); in HSLtoRGB()