Searched refs:nextTime (Results 1 – 2 of 2) sorted by relevance
64 SkMSec nextTime, const SkScalar blend[4]) { in ComputeRelativeT() argument65 SkASSERT(time > prevTime && time < nextTime); in ComputeRelativeT()67 SkScalar t = (SkScalar)(time - prevTime) / (SkScalar)(nextTime - prevTime); in ComputeRelativeT()118 const SkTimeCode* nextTime = &fTimes[index]; in timeToT() local119 SkMSec nextT = nextTime[0].fTime; in timeToT()123 SkMSec prevT = nextTime[-1].fTime; in timeToT()124 *T = ComputeRelativeT(time, prevT, nextT, nextTime[-1].fBlend); in timeToT()
71 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime,