Home
last modified time | relevance | path

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

/third_party/skia/samplecode/
DSampleAnimatedImage.cpp30 double fCurrentTime = 0.0; member in SampleAnimatedImage
69 fCurrentTime += fLastWallTime - lastWallTime; in onAnimate()
70 if (fCurrentTime > fTimeToShowNextFrame) { in onAnimate()
113 fCurrentTime = fLastWallTime; in onChar()
114 fTimeToShowNextFrame = fCurrentTime + fImage->currentFrameDuration(); in onChar()
/third_party/flutter/skia/samplecode/
DSampleAnimatedImage.cpp30 double fCurrentTime = 0.0; member in SampleAnimatedImage
69 fCurrentTime += fLastWallTime - lastWallTime; in onAnimate()
70 if (fCurrentTime > fTimeToShowNextFrame) { in onAnimate()
114 fCurrentTime = fLastWallTime; in onChar()
115 fTimeToShowNextFrame = fCurrentTime + fImage->currentFrameDuration(); in onChar()
/third_party/skia/modules/skottie/tests/
DAudioLayer.cpp59 bool isPlaying() const { return fCurrentTime >= 0; } in DEF_TEST()
60 float currentTime() const { return fCurrentTime; } in DEF_TEST()
64 fCurrentTime = t; in DEF_TEST()
67 float fCurrentTime = 0; in DEF_TEST() member in DEF_TEST::MockTracker