Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/utils/
DSkInterpolator.cpp64 SkMSec nextTime, const SkScalar blend[4]) { in ComputeRelativeT() argument
65 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() local
119 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()
/third_party/flutter/skia/include/utils/
DSkInterpolator.h71 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime,