Searched refs:hapticLevel (Results 1 – 2 of 2) sorted by relevance
67 HapticLevel hapticLevel = scale.getLevel(); in applyHapticScale() local69 float gamma = getHapticScaleGamma(hapticLevel); in applyHapticScale()70 float maxAmplitudeRatio = getHapticMaxAmplitudeRatio(hapticLevel); in applyHapticScale()73 if (hapticLevel != HapticLevel::NONE) { in applyHapticScale()
320 const os::HapticLevel hapticLevel = static_cast<os::HapticLevel>(*((int *) value + 1)); in HapticGenerator_SetParameter() local322 const os::HapticScale hapticScale = {hapticLevel, adaptiveScaleFactor}; in HapticGenerator_SetParameter()324 static_cast<int>(hapticLevel), adaptiveScaleFactor); in HapticGenerator_SetParameter()