Home
last modified time | relevance | path

Searched refs:fDom (Results 1 – 13 of 13) sorted by relevance

/external/skia/samplecode/
DSampleSVGFile.cpp36 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
37 if (fDom) { in onOnceBeforeDraw()
38 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
43 if (fDom) { in onDrawContent()
44 fDom->render(canvas); in onDrawContent()
49 if (fDom) { in onSizeChange()
50 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
59 sk_sp<SkSVGDOM> fDom; member in __anon4a3606be0111::SVGFileView
DSampleCowboy.cpp30 sk_sp<SkSVGDOM> fDom; member in __anon0748e7810111::AnimatedSVGSample
50 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
51 if (fDom) { in onOnceBeforeDraw()
52 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
57 if (fDom) { in onDrawContent()
80 fDom->render(canvas); in onDrawContent()
85 if (fDom) { in onSizeChange()
86 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
93 if (!fDom) { in onAnimate()
/external/skia/tools/viewer/
DSvgSlide.cpp38 fDom = SkSVGDOM::Builder().setResourceProvider(std::move(rp)).make(*stream); in load()
39 if (fDom) { in load()
40 fDom->setContainerSize(fWinSize); in load()
45 fDom.reset(); in unload()
50 if (fDom) { in resize()
51 fDom->setContainerSize(fWinSize); in resize()
61 if (fDom) { in draw()
62 fDom->render(canvas); in draw()
DSvgSlide.h30 sk_sp<SkSVGDOM> fDom; variable
/external/skqp/samplecode/
DSampleSVGFile.cpp42 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
43 if (fDom) { in onOnceBeforeDraw()
44 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
49 if (fDom) { in onDrawContent()
50 fDom->render(canvas); in onDrawContent()
55 if (fDom) { in onSizeChange()
56 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
71 sk_sp<SkSVGDOM> fDom; member in __anonb058e3350111::SVGFileView
DSampleCowboy.cpp57 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
58 if (fDom) { in onOnceBeforeDraw()
59 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
64 if (fDom) { in onDrawContent()
87 fDom->render(canvas); in onDrawContent()
92 if (fDom) { in onSizeChange()
93 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
109 if (!fDom) { in onAnimate()
135 sk_sp<SkSVGDOM> fDom; member in __anon5fb691180111::CowboyView
/external/skqp/tools/viewer/
DSvgSlide.cpp25 fDom = SkSVGDOM::MakeFromStream(*svgStream); in load()
26 if (fDom) { in load()
27 fDom->setContainerSize(fWinSize); in load()
33 fDom.reset(); in unload()
42 if (fDom) { in draw()
43 fDom->render(canvas); in draw()
DSvgSlide.h29 sk_sp<SkSVGDOM> fDom; variable
/external/skia/experimental/skrive/src/reader/
DJsonReader.cpp59 : fDom(std::move(dom)) { in JsonReader()
60 fContextStack.push_back({&fDom->root(), 0}); in JsonReader()
245 const std::unique_ptr<skjson::DOM> fDom; member in skrive::internal::__anon5e60dc860111::JsonReader
/external/skia/dm/
DDMSrcSink.cpp1325 fDom = SkSVGDOM::Builder().setResourceProvider(std::move(rp)) in SVGSrc()
1327 if (!fDom) { in SVGSrc()
1331 const SkSize& sz = fDom->containerSize(); in SVGSrc()
1334 fDom->setContainerSize(kDefaultSVGSize); in SVGSrc()
1342 if (!fDom) { in draw()
1349 fDom->render(canvas); in draw()
1355 if (!fDom) { in size()
1359 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale} in size()
DDMSrcSink.h347 sk_sp<SkSVGDOM> fDom; variable
/external/skqp/dm/
DDMSrcSink.cpp1262 fDom = SkSVGDOM::MakeFromStream(stream); in SVGSrc()
1263 if (!fDom) { in SVGSrc()
1267 const SkSize& sz = fDom->containerSize(); in SVGSrc()
1270 fDom->setContainerSize(kDefaultSVGSize); in SVGSrc()
1278 if (!fDom) { in draw()
1284 fDom->render(canvas); in draw()
1290 if (!fDom) { in size()
1294 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale} in size()
DDMSrcSink.h307 sk_sp<SkSVGDOM> fDom; variable