Home
last modified time | relevance | path

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

/frameworks/av/include/media/
DVolumeShaper.h60 #define MAX_CURVE_TIME 1.f // type S: end of VolumeShaper curve (normalized) macro
215 if (first().first != MIN_CURVE_TIME || last().first != MAX_CURVE_TIME) { in checkCurve()
274 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f in scaleToStartVolume()
276 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale; in scaleToStartVolume()
391 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset()
411 ? MAX_CURVE_TIME - normalizedTime : normalizedTime); in setNormalizedTime()
616 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset()
693 MAX_CURVE_TIME - xOffset : xOffset; in updatePosition()
712 x = MAX_CURVE_TIME - x; in computeStateFromNormalizedTime()
717 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
[all …]