Home
last modified time | relevance | path

Searched refs:ResizePolicy (Results 1 – 5 of 5) sorted by relevance

/external/skia/modules/skottie/src/text/
DTextValue.cpp70 static constexpr Shaper::ResizePolicy gResizeMap[] = { in FromJSON()
71 Shaper::ResizePolicy::kNone, // 'sk_rs': 0 in FromJSON()
72 Shaper::ResizePolicy::kScaleToFit, // 'sk_rs': 1 in FromJSON()
73 Shaper::ResizePolicy::kDownscaleToFit, // 'sk_rs': 2 in FromJSON()
99 v->fResize = Shaper::ResizePolicy::kScaleToFit; in FromJSON()
104 v->fResize = Shaper::ResizePolicy::kDownscaleToFit; in FromJSON()
114 if (v->fResize != Shaper::ResizePolicy::kNone && v->fBox.isEmpty()) { in FromJSON()
116 v->fResize = Shaper::ResizePolicy::kNone; in FromJSON()
DSkottieShaper.h66 enum class ResizePolicy : uint8_t { enum
92 ResizePolicy fResize;
DSkottieShaper.cpp418 return (desc.fResize == ResizePolicy::kScaleToFit || in Shape()
419 desc.fResize == ResizePolicy::kDownscaleToFit) // makes no sense in point mode in Shape()
427 case ResizePolicy::kNone: in Shape()
429 case ResizePolicy::kScaleToFit: in Shape()
431 case ResizePolicy::kDownscaleToFit: { in Shape()
/external/skia/modules/skottie/include/
DSkottieProperty.h43 Shaper::ResizePolicy fResize = Shaper::ResizePolicy::kNone;
/external/skia/modules/skottie/src/
DSkottieTest.cpp323 Shaper::ResizePolicy::kNone, in DEF_TEST()
469 skottie::Shaper::ResizePolicy::kNone, in DEF_TEST()
535 skottie::Shaper::ResizePolicy::kNone, in DEF_TEST()
572 skottie::Shaper::ResizePolicy::kNone, in DEF_TEST()
667 Shaper::ResizePolicy::kNone, in DEF_TEST()