Home
last modified time | relevance | path

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

/frameworks/av/include/media/
DVolumeShaper.h65 #define MAX_CURVE_TIME 1.f // type S: end of VolumeShaper curve (normalized) macro
246 if (first().first != MIN_CURVE_TIME || last().first != MAX_CURVE_TIME) { in checkCurve()
305 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f in scaleToStartVolume()
307 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale; in scaleToStartVolume()
497 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset()
517 ? MAX_CURVE_TIME - normalizedTime : normalizedTime); in setNormalizedTime()
787 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset()
864 MAX_CURVE_TIME - xOffset : xOffset; in updatePosition()
883 x = MAX_CURVE_TIME - x; in computeStateFromNormalizedTime()
888 } else if (x > MAX_CURVE_TIME) { in computeStateFromNormalizedTime()
[all …]