Searched refs:levelHigh (Results 1 – 1 of 1) sorted by relevance
/device/google/felix/vibrator/cs40l26/tests/ |
D | test-vibrator.cpp | 67 static EffectLevel Level(float intensity, float levelLow, float levelHigh); 68 static EffectScale Scale(float intensity, float levelLow, float levelHigh); 192 static EffectLevel Level(float intensity, float levelLow, float levelHigh) { in Level() argument 193 return std::lround(intensity * (levelHigh - levelLow)) + levelLow; in Level() 196 static EffectScale Scale(float intensity, float levelLow, float levelHigh) { in Scale() argument 197 return levelToScale(Level(intensity, levelLow, levelHigh)); in Scale()
|