Home
last modified time | relevance | path

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

/device/google/felix/vibrator/cs40l26/tests/
Dutils.h38 static inline EffectScale amplitudeToScale(EffectAmplitude amplitude) { in amplitudeToScale() function
Dtest-vibrator.cpp422 EXPECT_CALL(*mMockApi, setFFGain(_, amplitudeToScale(amplitude))).WillOnce(Return(true)); in TEST_F()
/device/google/felix/vibrator/cs40l26/
DVibrator.cpp111 static uint16_t amplitudeToScale(float amplitude, float maximum) { in amplitudeToScale() function
953 uint16_t scale = amplitudeToScale(amplitude, maximum); in setEffectAmplitude()