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/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()