Home
last modified time | relevance | path

Searched refs:mFfEffects (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp185 mFfEffects.resize(WAVEFORM_MAX_INDEX);
203 mFfEffects[effectIndex] = {
217 if (!mHwApi->setFFEffect(&mFfEffects[effectIndex], mEffectDurations[effectIndex])) {
222 if (mFfEffects[effectIndex].id != effectIndex) {
223 ALOGW("Unexpected effect index: %d -> %d", effectIndex, mFfEffects[effectIndex].id);
231 mFfEffects[effectIndex] = {
365 (!mHwApi->eraseOwtEffect(mActiveId, &mFfEffects))) { in off()
601 mFfEffects[WAVEFORM_COMPOSE].replay.length = 0; in compose()
646 if (!mHwApi->uploadOwtEffect(ch->front(), ch->size(), &mFfEffects[effectIndex], in on()
657 mFfEffects[effectIndex].replay.length = static_cast<uint16_t>(timeoutMs); in on()
[all …]
DVibrator.h252 std::vector<ff_effect> mFfEffects; variable