Home
last modified time | relevance | path

Searched refs:colorRGB (Results 1 – 8 of 8) 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/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/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/msm8998/liblight/
Dlights.c173 unsigned int colorRGB; in set_speaker_light_locked() local
191 colorRGB = state->color; in set_speaker_light_locked()
195 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
198 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
199 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
200 blue = colorRGB & 0xFF; in set_speaker_light_locked()
/hardware/qcom/display/msm8909w_3100/liblight/
Dlights.c197 unsigned int colorRGB; in set_speaker_light_locked() local
215 colorRGB = state->color; in set_speaker_light_locked()
219 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
222 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
223 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
224 blue = colorRGB & 0xFF; in set_speaker_light_locked()
/hardware/qcom/display/msm8909/liblight/
Dlights.c197 unsigned int colorRGB; in set_speaker_light_locked() local
215 colorRGB = state->color; in set_speaker_light_locked()
219 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
222 red = (colorRGB >> 16) & 0xFF; in set_speaker_light_locked()
223 green = (colorRGB >> 8) & 0xFF; in set_speaker_light_locked()
224 blue = colorRGB & 0xFF; in set_speaker_light_locked()