Lines Matching refs:t
51 static inline float _getSlope(float t, float aA1, float aA2) in _getSlope() argument
53 return 3.0f * _constA(aA1, aA2) * t * t + 2.0f * _constB(aA1, aA2) * t + _constC(aA1); in _getSlope()
57 static inline float _calcBezier(float t, float aA1, float aA2) in _calcBezier() argument
59 return ((_constA(aA1, aA2) * t + _constB(aA1, aA2)) * t + _constC(aA1)) * t; in _calcBezier()
92 float x, t; in binarySubdivide() local
96 t = aA + (aB - aA) / 2.0f; in binarySubdivide()
97 x = _calcBezier(t, outTangent.x, inTangent.x) - aX; in binarySubdivide()
98 if (x > 0.0f) aB = t; in binarySubdivide()
99 else aA = t; in binarySubdivide()
101 return t; in binarySubdivide()
124 float LottieInterpolator::progress(float t) in progress() argument
126 if (outTangent.x == outTangent.y && inTangent.x == inTangent.y) return t; in progress()
127 return _calcBezier(getTForX(t), outTangent.y, inTangent.y); in progress()