Lines Matching refs:intensity
1093 float intensity; in getSimpleDetails() local
1098 intensity = 0.5f; in getSimpleDetails()
1101 intensity = 0.7f; in getSimpleDetails()
1104 intensity = 1.0f; in getSimpleDetails()
1114 intensity *= 0.5f; in getSimpleDetails()
1118 intensity *= 0.5f; in getSimpleDetails()
1122 intensity *= 0.7f; in getSimpleDetails()
1126 intensity *= 1.0f; in getSimpleDetails()
1133 volLevel = intensityToVolLevel(intensity, effectIndex); in getSimpleDetails()
1343 uint32_t Vibrator::intensityToVolLevel(float intensity, uint32_t effectIndex) { in intensityToVolLevel() argument
1344 HAPTICS_TRACE("intensityToVolLevel(intensity:%f, effectIndex:%u)", intensity, effectIndex); in intensityToVolLevel()
1351 volLevel = calc(intensity, mTickEffectVol); in intensityToVolLevel()
1356 volLevel = calc(intensity, mLongEffectVol); in intensityToVolLevel()
1367 volLevel = calc(intensity, mClickEffectVol); in intensityToVolLevel()