Searched refs:levelToScale (Results 1 – 2 of 2) sorted by relevance
/device/google/coral/vibrator/tests/ |
D | test-vibrator.cpp | 56 static const EffectScale GPIO_FALL_SCALE{levelToScale(V_LEVELS[2])}; 58 static const EffectScale GPIO_RISE_SCALE{levelToScale(V_LEVELS[3])}; 60 static const EffectScale ON_GLOBAL_SCALE{levelToScale(V_LEVELS[5])}; 64 {{Effect::CLICK, EffectStrength::LIGHT}, levelToScale(V_LEVELS[1])}, 65 {{Effect::CLICK, EffectStrength::MEDIUM}, levelToScale(V_LEVELS[2])}, 66 {{Effect::CLICK, EffectStrength::STRONG}, levelToScale(V_LEVELS[3])}, 67 {{Effect::TICK, EffectStrength::LIGHT}, levelToScale(V_LEVELS[1])}, 68 {{Effect::TICK, EffectStrength::MEDIUM}, levelToScale(V_LEVELS[1])}, 69 {{Effect::TICK, EffectStrength::STRONG}, levelToScale(V_LEVELS[1])}, 70 {{Effect::HEAVY_CLICK, EffectStrength::LIGHT}, levelToScale(V_LEVELS[2])}, [all …]
|
D | utils.h | 27 static inline EffectScale levelToScale(EffectLevel level) { in levelToScale() function
|