Home
last modified time | relevance | path

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

/external/skqp/tools/timer/
DSkAnimTimer.h34 SkAnimTimer() : fPreviousNanos(0), fElapsedNanos(0), fSpeed(1), fState(kStopped_State) {} in SkAnimTimer()
39 , fSpeed(1) in SkAnimTimer()
64 float getSpeed() const { return fSpeed; } in getSpeed()
65 void setSpeed(float speed) { fSpeed = speed; } in setSpeed()
88 fElapsedNanos += (now - fPreviousNanos) * fSpeed; in updateTime()
143 float fSpeed; variable
/external/skia/tools/viewer/
DAnimTimer.h39 float getSpeed() const { return fSpeed; } in getSpeed()
40 void setSpeed(float speed) { fSpeed = speed; } in setSpeed()
86 fElapsedNanos += (now - fPreviousNanos) * fSpeed; in updateTime()
94 float fSpeed = 1; variable
/external/skia/gm/
Danimatedimageblurs.cpp91 , fSpeed(0.0f) {
105 fSpeed = rand->nextRangeF(20.0f, 60.0f); in init()
111 fPos.fX += deltaTime * fSpeed * fDir.fX; in update()
112 fPos.fY += deltaTime * fSpeed * fDir.fY; in update()
135 SkScalar fSpeed; member in AnimatedImageBlurs::Node
/external/skqp/gm/
Danimatedimageblurs.cpp82 , fSpeed(0.0f) {
96 fSpeed = rand->nextRangeF(20.0f, 60.0f); in init()
103 fPos.fX += deltaTime * fSpeed * fDir.fX; in update()
104 fPos.fY += deltaTime * fSpeed * fDir.fY; in update()
127 SkScalar fSpeed; member in AnimatedImageBlurs::Node