Searched refs:text_box (Results 1 – 1 of 1) sorted by relevance
/external/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 533 const auto text_box = SkRect::MakeXYWH(100, 100, 1000, 1000); // large-enough to avoid breaks. in DEF_TEST() local 553 const auto shape_result = Shaper::Shape(text, desc, text_box, SkFontMgr::RefDefault()); in DEF_TEST() 560 const auto v_diff = text_box.height() - shape_bounds.height(); in DEF_TEST() 562 const auto expected_t = text_box.top() + v_diff * talign.topFactor; in DEF_TEST() 568 const auto expected_b = text_box.bottom() - v_diff * (1 - talign.topFactor); in DEF_TEST() 594 const auto text_box = SkRect::MakeWH(100, 100); in DEF_TEST() local 597 const auto shape_result = Shaper::Shape(text, desc, text_box, SkFontMgr::RefDefault()); in DEF_TEST() 605 const auto shape_result = skottie::Shaper::Shape(text, desc, text_box, in DEF_TEST() 688 const auto text_box = SkRect::MakeWH(100, 100); in DEF_TEST() local 691 const auto shape_result = Shaper::Shape(SkString("foo bar"), desc, text_box, fontmgr); in DEF_TEST() [all …]
|