Lines Matching refs:fAnimation
58 fAnimation = Animation::Builder() in onOnceBeforeDraw()
65 if (!fAnimation) { in onDraw()
70 fAnimation->render(canvas, &dest); in onDraw()
74 if (!fAnimation) { in onAnimate()
78 const auto duration = fAnimation->duration(); in onAnimate()
79 fAnimation->seek(std::fmod(timer.secs(), duration) / duration); in onAnimate()
86 sk_sp<Animation> fAnimation; member in SkottieWebFontGM
108 fAnimation = Animation::Builder() in onOnceBeforeDraw()
116 if (!fAnimation) { in onDraw()
121 fAnimation->render(canvas, &dest); in onDraw()
125 if (!fAnimation) { in onAnimate()
129 const auto duration = fAnimation->duration(); in onAnimate()
130 fAnimation->seek(std::fmod(timer.secs(), duration) / duration); in onAnimate()
157 sk_sp<Animation> fAnimation; member in SkottieColorizeGM
180 fAnimation = Animation::Builder() in onOnceBeforeDraw()
187 if (!fAnimation) { in onDraw()
192 fAnimation->render(canvas, &dest); in onDraw()
196 if (!fAnimation) { in onAnimate()
200 const auto duration = fAnimation->duration(); in onAnimate()
201 fAnimation->seek(std::fmod(timer.secs(), duration) / duration); in onAnimate()
216 sk_sp<Animation> fAnimation; member in SkottieMultiFrameGM