OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:background_luminance
(Results
1 - 2
of
2
) 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);
239
unsigned char
background_luminance
=
local
242
(
background_luminance
< 128) ? SK_ColorWHITE : SK_ColorBLACK;
248
const double
background_luminance
= RelativeLuminance(background);
local
249
return (ContrastRatio(RelativeLuminance(foreground),
background_luminance
) >
[
all
...]
sys_color_change_listener.cc
30
int
background_luminance
= color_utils::GetLuminanceForColor(
local
37
foreground_luminance >
background_luminance
;
Completed in 84 milliseconds