Home
last modified time | relevance | path

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

/frameworks/av/include/media/
DVolumeShaper.h58 #define MAX_CURVE_TIME 1.f // type S: end of VolumeShaper curve (normalized) macro
213 if (first().first != MIN_CURVE_TIME || last().first != MAX_CURVE_TIME) { in checkCurve()
272 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f in scaleToStartVolume()
274 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale; in scaleToStartVolume()
389 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset()
409 ? MAX_CURVE_TIME - normalizedTime : normalizedTime); in setNormalizedTime()
614 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset()
691 MAX_CURVE_TIME - xOffset : xOffset; in updatePosition()
710 x = MAX_CURVE_TIME - x; in computeStateFromNormalizedTime()
715 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
[all …]