Lines Matching refs:slide
64 static DEFINE_string(slide, "", "Start on this sample.");
586 if (auto slide = fact(name, path)) { in initSlides() local
587 dirSlides.push_back(slide); in initSlides()
588 fSlides.push_back(std::move(slide)); in initSlides()
630 sk_sp<Slide> slide(new GMSlide(gm.release())); in initSlides() local
631 fSlides.push_back(std::move(slide)); in initSlides()
642 sk_sp<Slide> slide(new SampleSlide(factory)); in initSlides() local
643 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, slide->getName().c_str())) { in initSlides()
644 fSlides.push_back(slide); in initSlides()
651 sk_sp<Slide> slide(new ParticlesSlide()); in initSlides() local
652 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, slide->getName().c_str())) { in initSlides()
653 fSlides.push_back(std::move(slide)); in initSlides()
680 sk_sp<Slide> slide(new NullSlide()); in initSlides() local
681 fSlides.push_back(std::move(slide)); in initSlides()
905 for (const auto& slide : fSlides) { in listNames() local
906 SkDebugf(" %s\n", slide->getName().c_str()); in listNames()
910 void Viewer::setCurrentSlide(int slide) { in setCurrentSlide() argument
911 SkASSERT(slide >= 0 && slide < fSlides.count()); in setCurrentSlide()
913 if (slide == fCurrentSlide) { in setCurrentSlide()
921 fSlides[slide]->load(SkIntToScalar(fWindow->width()), in setCurrentSlide()
923 fCurrentSlide = slide; in setCurrentSlide()
2027 for(const auto& slide : fSlides) { in updateUIState() local
2028 writer.appendString(slide->getName().c_str()); in updateUIState()