Searched refs:adaptiveScaleFactor (Results 1 – 3 of 3) sorted by relevance
68 float adaptiveScaleFactor = scale.getAdaptiveScaleFactor(); in applyHapticScale() local79 if (adaptiveScaleFactor != 1.0f) { in applyHapticScale()80 buffer[i] *= adaptiveScaleFactor; in applyHapticScale()
37 constexpr HapticScale(HapticLevel level, float adaptiveScaleFactor) in HapticScale() argument38 : mLevel(level), mAdaptiveScaleFactor(adaptiveScaleFactor) {} in HapticScale()
321 const float adaptiveScaleFactor = (*((float *) value + 2)); in HapticGenerator_SetParameter() local322 const os::HapticScale hapticScale = {hapticLevel, adaptiveScaleFactor}; in HapticGenerator_SetParameter()324 static_cast<int>(hapticLevel), adaptiveScaleFactor); in HapticGenerator_SetParameter()