Home
last modified time | relevance | path

Searched refs:rgb_brightness_ratio (Results 1 – 2 of 2) sorted by relevance

/device/google/marlin/liblight/
Dlights.c48 static int rgb_brightness_ratio = 255; variable
106 rgb_brightness_ratio = 25; in init_globals()
108 rgb_brightness_ratio = 15; in init_globals()
110 rgb_brightness_ratio = 15; in init_globals()
112 rgb_brightness_ratio = 20; in init_globals()
241 red = ((colorRGB >> 16) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()
242 green = ((colorRGB >> 8) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()
243 blue = (colorRGB & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()
/device/google/wahoo/liblight/
Dlights.c48 static int rgb_brightness_ratio = 255; variable
106 rgb_brightness_ratio = 25; in init_globals()
108 rgb_brightness_ratio = 15; in init_globals()
110 rgb_brightness_ratio = 15; in init_globals()
112 rgb_brightness_ratio = 20; in init_globals()
240 red = ((colorRGB >> 16) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()
241 green = ((colorRGB >> 8) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()
242 blue = (colorRGB & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()