Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/utils/
DSkInterpolator.cpp79 SkMSec offsetTime = time - startTime; in timeToT() local
81 if (offsetTime >= endTime) { in timeToT()
83 offsetTime = fraction == 0 && fRepeat > 0 ? totalTime : in timeToT()
88 offsetTime = offsetTime % (totalTime << mirror); in timeToT()
89 if (offsetTime > totalTime) { // can only be true if fMirror is true in timeToT()
90 offsetTime = (totalTime << 1) - offsetTime; in timeToT()
93 time = offsetTime + startTime; in timeToT()
/external/skia/src/utils/
DSkInterpolator.cpp79 SkMSec offsetTime = time - startTime; in timeToT() local
81 if (offsetTime >= endTime) { in timeToT()
83 offsetTime = fraction == 0 && fRepeat > 0 ? totalTime : in timeToT()
88 offsetTime = offsetTime % (totalTime << mirror); in timeToT()
89 if (offsetTime > totalTime) { // can only be true if fMirror is true in timeToT()
90 offsetTime = (totalTime << 1) - offsetTime; in timeToT()
93 time = offsetTime + startTime; in timeToT()