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

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

Completed in 47 milliseconds