Lines Matching refs:fImage
49 if (!fImage) { in onDrawContent()
55 canvas->drawDrawable(fImage.get()); in onDrawContent()
56 canvas->drawDrawable(fDrawable.get(), fImage->getBounds().width(), 0); in onDrawContent()
60 if (!fImage) { in onAnimate()
70 fTimeToShowNextFrame += fImage->decodeNextFrame(); in onAnimate()
71 if (fImage->isFinished()) { in onAnimate()
87 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
88 if (!fImage) { in onOnceBeforeDraw()
92 fTimeToShowNextFrame = fImage->currentFrameDuration(); in onOnceBeforeDraw()
94 auto canvas = recorder.beginRecording(fImage->getBounds()); in onOnceBeforeDraw()
95 canvas->drawDrawable(fImage.get()); in onOnceBeforeDraw()
106 if (fImage && Sample::CharQ(*evt, &uni)) { in onQuery()
110 if (fImage->isFinished()) { in onQuery()
116 fImage->reset(); in onQuery()
118 fTimeToShowNextFrame = fCurrentTime + fImage->currentFrameDuration(); in onQuery()
128 sk_sp<SkAnimatedImage> fImage; member in SampleAnimatedImage