Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp107 context->param.maxHapticIntensity = os::HapticScale::MUTE; in HapticGenerator_Init()
282 context->param.maxHapticIntensity = hapticIntensity; in HapticGenerator_SetParameter()
284 context->param.maxHapticIntensity = std::max( in HapticGenerator_SetParameter()
285 context->param.maxHapticIntensity, intensity); in HapticGenerator_SetParameter()
425 if (context->param.maxHapticIntensity == os::HapticScale::MUTE) { in HapticGenerator_Process()
451 os::scaleHapticData(hapticOutBuffer, hapticSampleCount, context->param.maxHapticIntensity); in HapticGenerator_Process()
DEffectHapticGenerator.h53 os::HapticScale maxHapticIntensity; // max intensity will be used to scale haptic data. member