Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp89 std::array<uint32_t, 6> volLevels; local
105 mHwCal->getVolLevels(&volLevels);
110 mEffectVolMin = std::max(std::lround(volLevels[WAVEFORM_EFFECT_0_20_LEVEL] -
111 (volLevels[WAVEFORM_EFFECT_1_00_LEVEL] -
112 volLevels[WAVEFORM_EFFECT_0_20_LEVEL]) /
115 mEffectVolMax = volLevels[WAVEFORM_EFFECT_1_00_LEVEL];
116 mGlobalVolMax = volLevels[VOLTAGE_GLOBAL_SCALE_LEVEL];