OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:foreground_luminance
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/ui/gfx/
sys_color_change_listener.cc
29
int
foreground_luminance
= color_utils::GetLuminanceForColor(
local
38
foreground_luminance
> background_luminance;
color_utils.cc
64
double ContrastRatio(double
foreground_luminance
, double background_luminance) {
65
DCHECK_GE(
foreground_luminance
, 0.0);
67
foreground_luminance
+= 0.05;
69
return (
foreground_luminance
> background_luminance) ?
70
(
foreground_luminance
/ background_luminance) :
71
(background_luminance /
foreground_luminance
);
Completed in 93 milliseconds