Home
last modified time | relevance | path

Searched refs:shape_result (Results 1 – 2 of 2) sorted by relevance

/external/skia/modules/skottie/src/
DSkottieTest.cpp483 const auto shape_result = Shaper::Shape(text, desc, text_point, in DEF_TEST() local
485 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
486 REPORTER_ASSERT(reporter, shape_result.fFragments[0].fBlob); in DEF_TEST()
488 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST()
553 const auto shape_result = Shaper::Shape(text, desc, text_box, SkFontMgr::RefDefault()); in DEF_TEST() local
554 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
555 REPORTER_ASSERT(reporter, shape_result.fFragments[0].fBlob); in DEF_TEST()
557 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST()
597 const auto shape_result = Shaper::Shape(text, desc, text_box, SkFontMgr::RefDefault()); in DEF_TEST() local
599 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
[all …]
/external/skia/modules/skottie/src/text/
DTextAdapter.cpp193 void TextAdapter::buildDomainMaps(const Shaper::Result& shape_result) { in buildDomainMaps() argument
211 for (; i < shape_result.fFragments.size(); ++i) { in buildDomainMaps()
212 const auto& frag = shape_result.fFragments[i]; in buildDomainMaps()
284 const auto shape_result = Shaper::Shape(fText->fText, text_desc, fText->fBox, fFontMgr); in reshape() local
286 if (fLogger && shape_result.fMissingGlyphCount > 0) { in reshape()
288 shape_result.fMissingGlyphCount, in reshape()
303 for (const auto& frag : shape_result.fFragments) { in reshape()
309 this->buildDomainMaps(shape_result); in reshape()
326 fRoot->addChild(sksg::Draw::Make(sksg::Rect::Make(shape_result.computeVisualBounds()), in reshape()