Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp120 for (size_t effectIndex = 0; effectIndex < effectCount; effectIndex++) { local
121 mHwApi->setEffectIndex(effectIndex);
124 mEffectDurations[effectIndex] = std::ceil(effectDuration / EFFECT_FREQUENCY_KHZ);
227 uint32_t effectIndex; in getPrimitiveDuration() local
230 status = getPrimitiveDetails(primitive, &effectIndex); in getPrimitiveDuration()
235 *durationMs = mEffectDurations[effectIndex]; in getPrimitiveDuration()
266 uint32_t effectIndex; in compose() local
268 status = getPrimitiveDetails(e.primitive, &effectIndex); in compose()
273 effectBuilder << effectIndex << "." << intensityToVolLevel(e.scale) << ","; in compose()
288 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex, in on() argument
[all …]
DVibrator.h143 ndk::ScopedAStatus on(uint32_t timeoutMs, uint32_t effectIndex,
161 ndk::ScopedAStatus performEffect(uint32_t effectIndex, uint32_t volLevel,