Home
last modified time | relevance | path

Searched refs:fSample (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/viewer/
DSampleSlide.cpp24 return SkISize::Make(SkScalarCeilToInt(fSample->width()), SkScalarCeilToInt(fSample->height())); in getDimensions()
27 bool SampleSlide::animate(double nanos) { return fSample->animate(nanos); } in animate()
30 SkASSERT(fSample); in draw()
31 fSample->draw(canvas); in draw()
35 fSample.reset(fSampleFactory()); in load()
36 fSample->setSize(winWidth, winHeight); in load()
40 fSample.reset(); in unload()
44 return fSample && fSample->onChar(c); in onChar()
48 return fSample && fSample->mouse({x, y}, state, modifierKeys); in onMouse()
DSampleSlide.h24 fSample->setSize(winWidth, winHeight); in resize()
35 std::unique_ptr<Sample> fSample; variable
/external/skqp/tools/viewer/
DSampleSlide.cpp27 return SkISize::Make(SkScalarCeilToInt(fSample->width()), SkScalarCeilToInt(fSample->height())); in getDimensions()
31 SkASSERT(fSample); in draw()
32 fSample->draw(canvas); in draw()
36 fSample.reset(fSampleFactory()); in load()
37 fSample->setSize(winWidth, winHeight); in load()
41 fSample.reset(); in unload()
45 if (!fSample) { in onChar()
50 return fSample->doQuery(&evt); in onChar()
66 fClick = fSample->findClickHandler(SkIntToScalar(x), SkIntToScalar(y), modifierKeys); in onMouse()
DSampleSlide.h24 fSample->setSize(winWidth, winHeight); in resize()
28 return fSample->animate(timer); in animate()
37 sk_sp<Sample> fSample; variable