Home
last modified time | relevance | path

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

/frameworks/native/libs/vibrator/
DExternalVibrationUtils.cpp27 static constexpr float HAPTIC_MAX_AMPLITUDE_FLOAT = 1.0f; variable
75 buffer[i] = powf(fabsf(buffer[i] / HAPTIC_MAX_AMPLITUDE_FLOAT), gamma) in applyHapticScale()
76 * maxAmplitudeRatio * HAPTIC_MAX_AMPLITUDE_FLOAT * sign; in applyHapticScale()