Searched refs:text_tint (Results 1 – 3 of 3) sorted by relevance
148 color_utils::HSL text_tint; in PickButtonTintFromColors() local149 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()
227 color_utils::HSL text_tint; in PickButtonTintFromColors() local229 &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()
151 color_utils::HSL text_tint; in PickButtonTintFromColors() local152 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()