Searched refs:fg_hsl (Results 1 - 2 of 2) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
H A Dautocomplete_popup_view_gtk.cc123 color_utils::HSL fg_hsl; local
124 color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); local
131 double s = std::max(0.5, fg_hsl.s);
136 if (fg_hsl.l < hue_hsl.l)
139 l = (fg_hsl.l + hue_hsl.l) / 2;
151 color_utils::HSL fg_hsl; local
152 color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); local
168 double opposite_l = fg_hsl.l;
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
H A Domnibox_popup_view_gtk.cc110 color_utils::HSL fg_hsl; local
111 color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); local
118 double s = std::max(0.5, fg_hsl.s);
123 if (fg_hsl.l < hue_hsl.l)
126 l = (fg_hsl.l + hue_hsl.l) / 2;
138 color_utils::HSL fg_hsl; local
139 color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); local
155 double opposite_l = fg_hsl.l;

Completed in 140 milliseconds