Searched refs:onMS (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/display/msm8960/liblight/ |
D | lights.c | 148 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/ |
D | lights.c | 135 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/msm8998/liblight/ |
D | lights.c | 172 int onMS, offMS; in set_speaker_light_locked() local 181 onMS = state->flashOnMS; in set_speaker_light_locked() 186 onMS = 0; in set_speaker_light_locked() 195 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked() 202 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked() 209 if (onMS == offMS) in set_speaker_light_locked()
|
/hardware/qcom/display/msm8084/liblight/ |
D | lights.c | 134 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/ |
D | lights.c | 135 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()
|
/hardware/qcom/display/msm8226/liblight/ |
D | lights.c | 134 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/msm8909w_3100/liblight/ |
D | lights.c | 196 int onMS, offMS; in set_speaker_light_locked() local 205 onMS = state->flashOnMS; in set_speaker_light_locked() 210 onMS = 0; in set_speaker_light_locked() 219 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked() 226 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked() 233 if (onMS == offMS) in set_speaker_light_locked()
|
/hardware/qcom/display/msm8909/liblight/ |
D | lights.c | 196 int onMS, offMS; in set_speaker_light_locked() local 205 onMS = state->flashOnMS; in set_speaker_light_locked() 210 onMS = 0; in set_speaker_light_locked() 219 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked() 226 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked() 233 if (onMS == offMS) in set_speaker_light_locked()
|