Home
last modified time | relevance | path

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

/device/google/marlin/liblight/
Dlights.c216 unsigned int colorRGB; in set_speaker_light_locked() local
234 colorRGB = state->color; in set_speaker_light_locked()
238 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
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.c215 unsigned int colorRGB; in set_speaker_light_locked() local
233 colorRGB = state->color; in set_speaker_light_locked()
237 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
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()