Lines Matching refs:SkMSec
48 bool SkInterpolatorBase::getDuration(SkMSec* startTime, SkMSec* endTime) const { in getDuration()
62 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT()
63 SkMSec nextTime, const SkScalar blend[4]) { in ComputeRelativeT()
71 SkInterpolatorBase::Result SkInterpolatorBase::timeToT(SkMSec time, SkScalar* T, in timeToT()
76 SkMSec startTime = 0, endTime = 0; // initialize to avoid warning in timeToT()
78 SkMSec totalTime = endTime - startTime; in timeToT()
79 SkMSec offsetTime = time - startTime; in timeToT()
84 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
96 int index = SkTSearch<SkMSec>(&fTimes[0].fTime, fFrameCount, time, in timeToT()
118 SkMSec nextT = nextTime[0].fTime; in timeToT()
122 SkMSec prevT = nextTime[-1].fTime; in timeToT()
161 bool SkInterpolator::setKeyFrame(int index, SkMSec time, in setKeyFrame()
169 bool success = ~index == SkTSearch<SkMSec>(&fTimes->fTime, index, time, in setKeyFrame()
182 SkInterpolator::Result SkInterpolator::timeToValues(SkMSec time, in timeToValues()