HomeSort by relevance Sort by last modified time
    Searched refs:background_luminance (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/ui/gfx/
color_utils.cc 64 double ContrastRatio(double foreground_luminance, double background_luminance) {
66 DCHECK_GE(background_luminance, 0.0);
68 background_luminance += 0.05;
69 return (foreground_luminance > background_luminance) ?
70 (foreground_luminance / background_luminance) :
71 (background_luminance / foreground_luminance);
269 unsigned char background_luminance = local
272 (background_luminance < 128) ? SK_ColorWHITE : SK_ColorBLACK;
278 const double background_luminance = RelativeLuminance(background); local
279 return (ContrastRatio(RelativeLuminance(foreground), background_luminance) >
    [all...]
sys_color_change_listener.cc 31 int background_luminance = color_utils::GetLuminanceForColor( local
38 foreground_luminance > background_luminance;
  /external/chromium_org/chrome/browser/ui/views/autofill/
autofill_dialog_views.cc 674 int background_luminance = local
677 7 + 15 * (255 - background_luminance) / 255);
679 10 + 20 * (255 - background_luminance) / 255);
    [all...]

Completed in 84 milliseconds