Searched refs:effectVolLevel (Results 1 – 1 of 1) sorted by relevance
/device/google/felix/vibrator/cs40l26/ |
D | Vibrator.cpp | 252 int constructComposeSegment(uint32_t effectVolLevel, uint32_t effectIndex, uint8_t repeat, in constructComposeSegment() argument 258 if (effectVolLevel > 100 || effectIndex > WAVEFORM_MAX_PHYSICAL_INDEX) { in constructComposeSegment() 259 ALOGE("%s: Invalid argument: %u, %u", __func__, effectVolLevel, effectIndex); in constructComposeSegment() 262 write(8, effectVolLevel); /* amplitude */ in constructComposeSegment() 895 uint32_t effectVolLevel = 0; in compose() local 915 effectVolLevel = intensityToVolLevel(effectScale, effectIndex); in compose() 936 ch.constructComposeSegment(effectVolLevel, effectIndex, 0 /*repeat*/, 0 /*flags*/, in compose()
|