Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleAnimatedImage.cpp68 fCurrentTime += fLastWallTime - lastWallTime; in onAnimate()
69 if (fCurrentTime > fTimeToShowNextFrame) { in onAnimate()
117 fCurrentTime = fLastWallTime; in onQuery()
118 fTimeToShowNextFrame = fCurrentTime + fImage->currentFrameDuration(); in onQuery()
132 double fCurrentTime = 0.0; member in SampleAnimatedImage
DSampleAnimatedText.cpp44 fCurrentTime = 0; in AnimatedTextView()
81 fTimes[fCurrentTime] = (float)(fTimer.fWall); in onDrawContent()
82 fCurrentTime = (fCurrentTime + 1) & 0x1f; in onDrawContent()
153 int fCurrentTime; member in AnimatedTextView
DSampleShip.cpp84 fCurrentTime = 0; in DrawShipView()
116 fTimes[fCurrentTime] = (float)(fTimer.fWall); in onDrawContent()
117 fCurrentTime = (fCurrentTime + 1) & 0x1f; in onDrawContent()
175 int fCurrentTime; member in DrawShipView
/external/skqp/samplecode/
DSampleAnimatedImage.cpp68 fCurrentTime += fLastWallTime - lastWallTime; in onAnimate()
69 if (fCurrentTime > fTimeToShowNextFrame) { in onAnimate()
117 fCurrentTime = fLastWallTime; in onQuery()
118 fTimeToShowNextFrame = fCurrentTime + fImage->currentFrameDuration(); in onQuery()
132 double fCurrentTime = 0.0; member in SampleAnimatedImage
DSampleAnimatedText.cpp44 fCurrentTime = 0; in AnimatedTextView()
81 fTimes[fCurrentTime] = (float)(fTimer.fWall); in onDrawContent()
82 fCurrentTime = (fCurrentTime + 1) & 0x1f; in onDrawContent()
153 int fCurrentTime; member in AnimatedTextView
DSampleShip.cpp84 fCurrentTime = 0; in DrawShipView()
116 fTimes[fCurrentTime] = (float)(fTimer.fWall); in onDrawContent()
117 fCurrentTime = (fCurrentTime + 1) & 0x1f; in onDrawContent()
175 int fCurrentTime; member in DrawShipView