Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8960/liblight/
Dlights.c149 unsigned int colorRGB; in set_speaker_light_locked() local
163 colorRGB = state->color; in set_speaker_light_locked()
167 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
207 write_int(RED_LED_FILE, (colorRGB >> 16) & 0xFF); in set_speaker_light_locked()
208 write_int(GREEN_LED_FILE, (colorRGB >> 8) & 0xFF); in set_speaker_light_locked()
209 write_int(BLUE_LED_FILE, colorRGB & 0xFF); in set_speaker_light_locked()
212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + in set_speaker_light_locked()
213 (150 * ((colorRGB >> 8) & 0xFF)) + in set_speaker_light_locked()
214 (29 * (colorRGB & 0xFF))) >> 8; in set_speaker_light_locked()
/hardware/qcom/display/msm8084/liblight/
Dlights.c135 unsigned int colorRGB; in set_speaker_light_locked() local
153 colorRGB = state->color; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
160 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
161 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
162 blue = colorRGB & 0xFF; in set_speaker_light_locked()
/hardware/qcom/display/msm8226/liblight/
Dlights.c135 unsigned int colorRGB; in set_speaker_light_locked() local
153 colorRGB = state->color; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
160 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
161 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
162 blue = colorRGB & 0xFF; in set_speaker_light_locked()
/hardware/qcom/display/msm8994/liblight/
Dlights.c136 unsigned int colorRGB; in set_speaker_light_locked() local
154 colorRGB = state->color; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
161 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
162 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
163 blue = colorRGB & 0xFF; in set_speaker_light_locked()
/hardware/qcom/display/msm8996/liblight/
Dlights.c136 unsigned int colorRGB; in set_speaker_light_locked() local
154 colorRGB = state->color; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
161 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
162 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
163 blue = colorRGB & 0xFF; in set_speaker_light_locked()
/hardware/qcom/display/msm8909/liblight/
Dlights.c139 unsigned int colorRGB; in set_speaker_light_locked() local
157 colorRGB = state->color; in set_speaker_light_locked()
161 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
165 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
166 blue = colorRGB & 0xFF; in set_speaker_light_locked()