Searched refs:ResizePolicy (Results 1 – 5 of 5) sorted by relevance
70 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()
66 enum class ResizePolicy : uint8_t { enum92 ResizePolicy fResize;
418 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()
43 Shaper::ResizePolicy fResize = Shaper::ResizePolicy::kNone;
323 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()