Searched refs:onMS (Results 1 – 6 of 6) 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/msm8909/liblight/ |
D | lights.c | 138 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/ |
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/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/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()
|