• Home
  • Raw
  • Download

Lines Matching full:skottie

13 #include "modules/skottie/include/Skottie.h"
14 #include "modules/skottie/include/SkottieProperty.h"
15 #include "modules/skottie/src/text/SkottieShaper.h"
25 using namespace skottie;
134 std::unique_ptr<skottie::ColorPropertyHandle> handle; in DEF_TEST()
139 std::unique_ptr<skottie::OpacityPropertyHandle> handle; in DEF_TEST()
144 std::unique_ptr<skottie::TextPropertyHandle> handle; in DEF_TEST()
149 std::unique_ptr<skottie::TransformPropertyHandle> handle; in DEF_TEST()
233 auto animation = skottie::Animation::Builder() in DEF_TEST()
257 REPORTER_ASSERT(reporter, transforms[0].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
266 REPORTER_ASSERT(reporter, transforms[1].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
278 REPORTER_ASSERT(reporter, texts[0].handle->get() == skottie::TextPropertyValue({ in DEF_TEST()
343 auto animation = skottie::Animation::Builder() in DEF_TEST()
383 static SkRect ComputeShapeResultBounds(const skottie::Shaper::Result& res) { in ComputeShapeResultBounds()
425 const skottie::Shaper::TextDesc desc = { in DEF_TEST()
431 skottie::Shaper::VAlign::kTopBaseline, in DEF_TEST()
435 const auto shape_result = skottie::Shaper::Shape(text, desc, text_point, in DEF_TEST()
476 skottie::Shaper::VAlign align; in DEF_TEST()
479 { skottie::Shaper::VAlign::kVisualTop , 0.0f }, in DEF_TEST()
480 { skottie::Shaper::VAlign::kVisualCenter, 0.5f }, in DEF_TEST()
490 const skottie::Shaper::TextDesc desc = { in DEF_TEST()
500 const auto shape_result = skottie::Shaper::Shape(text, desc, text_box, in DEF_TEST()
526 skottie::Shaper::TextDesc desc = { in DEF_TEST()
540 const auto shape_result = skottie::Shaper::Shape(text, desc, text_box, in DEF_TEST()
549 const auto shape_result = skottie::Shaper::Shape(text, desc, text_box, in DEF_TEST()
620 skottie::Shaper::TextDesc desc = { in DEF_TEST()
633 const auto shape_result = skottie::Shaper::Shape(SkString("foo bar"), in DEF_TEST()
644 const auto shape_result = skottie::Shaper::Shape(SkString("foo\U000DFFFFbar"), in DEF_TEST()