Home
last modified time | relevance | path

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

/external/skqp/tools/timer/
DSkAnimTimer.h34 SkAnimTimer() : fPreviousNanos(0), fElapsedNanos(0), fSpeed(1), fState(kStopped_State) {} in SkAnimTimer()
38 , fElapsedNanos(elapsed) in SkAnimTimer()
88 fElapsedNanos += (now - fPreviousNanos) * fSpeed; in updateTime()
99 const double msec = fElapsedNanos * 1e-6; in msec()
108 double secs() const { return fElapsedNanos * 1e-9; } in secs()
142 double fElapsedNanos; variable
149 fPreviousNanos = fElapsedNanos = 0; in setState()
161 fElapsedNanos = 0; in setState()
/external/skia/tools/viewer/
DAnimTimer.h34 double nanos() const { return fElapsedNanos; } in nanos()
49 fElapsedNanos = 0; in run()
86 fElapsedNanos += (now - fPreviousNanos) * fSpeed; in updateTime()
93 double fElapsedNanos = 0; variable