Home
last modified time | relevance | path

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

/external/skia/gm/
DSkAnimTimer.h33 SkAnimTimer() : fBaseTimeNanos(0), fCurrTimeNanos(0), fState(kStopped_State) {} in SkAnimTimer()
74 fCurrTimeNanos = SkTime::GetNSecs(); in updateTime()
84 const double msec = (fCurrTimeNanos - fBaseTimeNanos) * 1e-6; in msec()
93 double secs() const { return (fCurrTimeNanos - fBaseTimeNanos) * 1e-9; } in secs()
127 double fCurrTimeNanos; variable
133 fBaseTimeNanos = fCurrTimeNanos = 0; in setState()
144 fBaseTimeNanos = fCurrTimeNanos = SkTime::GetNSecs(); in setState()
148 fBaseTimeNanos += now - fCurrTimeNanos; in setState()
149 fCurrTimeNanos = now; in setState()