Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service.cc148 color_utils::HSL text_tint; in PickButtonTintFromColors() local
149 color_utils::SkColorToHSL(GdkToSkColor(&text_color), &text_tint); in PickButtonTintFromColors()
168 tint->s = text_tint.s; in PickButtonTintFromColors()
175 tint->l = text_tint.l; in PickButtonTintFromColors()
187 if (text_tint.l < 0.5) in PickButtonTintFromColors()
189 else if (text_tint.l <= 0.9) in PickButtonTintFromColors()
190 tint->l = text_tint.l; in PickButtonTintFromColors()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_ui.cc227 color_utils::HSL text_tint; in PickButtonTintFromColors() local
229 &text_tint); in PickButtonTintFromColors()
249 tint->s = text_tint.s; in PickButtonTintFromColors()
256 tint->l = text_tint.l; in PickButtonTintFromColors()
268 if (text_tint.l < 0.5) in PickButtonTintFromColors()
270 else if (text_tint.l <= 0.9) in PickButtonTintFromColors()
271 tint->l = text_tint.l; in PickButtonTintFromColors()
/external/chromium_org/chrome/browser/ui/gtk/
Dgtk_theme_service.cc151 color_utils::HSL text_tint; in PickButtonTintFromColors() local
152 color_utils::SkColorToHSL(gfx::GdkColorToSkColor(text_color), &text_tint); in PickButtonTintFromColors()
172 tint->s = text_tint.s; in PickButtonTintFromColors()
179 tint->l = text_tint.l; in PickButtonTintFromColors()
191 if (text_tint.l < 0.5) in PickButtonTintFromColors()
193 else if (text_tint.l <= 0.9) in PickButtonTintFromColors()
194 tint->l = text_tint.l; in PickButtonTintFromColors()