Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8960/liblight/
Dlights.c148 int onMS, offMS; in set_speaker_light_locked() local
153 onMS = state->flashOnMS; in set_speaker_light_locked()
158 onMS = 0; in set_speaker_light_locked()
167 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
170 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
171 int totalMS = onMS + offMS; in set_speaker_light_locked()
179 pwm = (onMS * 255) / totalMS; in set_speaker_light_locked()
/hardware/qcom/display/msm8996/liblight/
Dlights.c135 int onMS, offMS; in set_speaker_light_locked() local
144 onMS = state->flashOnMS; in set_speaker_light_locked()
149 onMS = 0; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
165 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
172 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/display/msm8909/liblight/
Dlights.c138 int onMS, offMS; in set_speaker_light_locked() local
147 onMS = state->flashOnMS; in set_speaker_light_locked()
152 onMS = 0; in set_speaker_light_locked()
161 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
168 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
175 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/display/msm8084/liblight/
Dlights.c134 int onMS, offMS; in set_speaker_light_locked() local
143 onMS = state->flashOnMS; in set_speaker_light_locked()
148 onMS = 0; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8226/liblight/
Dlights.c134 int onMS, offMS; in set_speaker_light_locked() local
143 onMS = state->flashOnMS; in set_speaker_light_locked()
148 onMS = 0; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8994/liblight/
Dlights.c135 int onMS, offMS; in set_speaker_light_locked() local
144 onMS = state->flashOnMS; in set_speaker_light_locked()
149 onMS = 0; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
165 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()