Home
last modified time | relevance | path

Searched refs:VAlign (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/modules/skottie/src/text/
DTextValue.cpp70 v->fVAlign = v->fBox.isEmpty() ? Shaper::VAlign::kTopBaseline in FromJSON()
71 : Shaper::VAlign::kTop; in FromJSON()
74 static constexpr Shaper::VAlign gVAlignMap[] = { in FromJSON()
75 Shaper::VAlign::kVisualTop, // 'sk_vj': 0 in FromJSON()
76 Shaper::VAlign::kVisualCenter, // 'sk_vj': 1 in FromJSON()
77 Shaper::VAlign::kVisualBottom, // 'sk_vj': 2 in FromJSON()
78 Shaper::VAlign::kVisualResizeToFit, // 'sk_vj': 3 in FromJSON()
DSkottieShaper.cpp175 SkASSERT(!shaped_height || fDesc.fVAlign == Shaper::VAlign::kVisualCenter); in finalize()
180 case Shaper::VAlign::kTop: in finalize()
183 case Shaper::VAlign::kTopBaseline: in finalize()
186 case Shaper::VAlign::kVisualTop: in finalize()
189 case Shaper::VAlign::kVisualCenter: { in finalize()
196 case Shaper::VAlign::kVisualBottom: in finalize()
199 case Shaper::VAlign::kVisualResizeToFit: in finalize()
326 SkASSERT(desc.fVAlign != Shaper::VAlign::kVisualResizeToFit); in ShapeImpl()
351 SkASSERT(orig_desc.fVAlign == Shaper::VAlign::kVisualResizeToFit); in ShapeToFit()
360 desc.fVAlign = Shaper::VAlign::kVisualCenter; in ShapeToFit()
[all …]
DSkottieShaper.h42 enum class VAlign : uint8_t { enum
82 VAlign fVAlign;
/third_party/skia/modules/skottie/src/text/
DTextValue.cpp105 v->fVAlign = v->fBox.isEmpty() ? Shaper::VAlign::kTopBaseline in Parse()
106 : Shaper::VAlign::kTop; in Parse()
108 static constexpr Shaper::VAlign gVAlignMap[] = { in Parse()
109 Shaper::VAlign::kVisualTop, // 'vj': 0 in Parse()
110 Shaper::VAlign::kVisualCenter, // 'vj': 1 in Parse()
111 Shaper::VAlign::kVisualBottom, // 'vj': 2 in Parse()
124 v->fVAlign = Shaper::VAlign::kVisualCenter; in Parse()
129 v->fVAlign = Shaper::VAlign::kVisualCenter; in Parse()
DSkottieShaper.h44 enum class VAlign : uint8_t { enum
114 VAlign fVAlign;
DSkottieShaper.cpp181 case Shaper::VAlign::kTop: in finalize()
184 case Shaper::VAlign::kTopBaseline: in finalize()
187 case Shaper::VAlign::kVisualTop: in finalize()
191 case Shaper::VAlign::kVisualCenter: in finalize()
195 case Shaper::VAlign::kVisualBottom: in finalize()
232 if (fDesc.fVAlign == Shaper::VAlign::kTop) { in shapeLine()
/third_party/flutter/skia/modules/skottie/src/
DSkottieTest.cpp286 Shaper::VAlign::kTopBaseline, in DEF_TEST()
431 skottie::Shaper::VAlign::kTopBaseline, 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()
532 Shaper::VAlign::kTop, in DEF_TEST()
626 Shaper::VAlign::kTop, in DEF_TEST()
/third_party/flutter/skia/modules/skottie/include/
DSkottieProperty.h42 Shaper::VAlign fVAlign = Shaper::VAlign::kTop;
/third_party/skia/modules/skottie/include/
DSkottieProperty.h50 Shaper::VAlign fVAlign = Shaper::VAlign::kTop;
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp325 Shaper::VAlign::kTopBaseline, in DEF_TEST()
478 Shaper::VAlign::kTopBaseline, in DEF_TEST()
527 skottie::Shaper::VAlign align; in DEF_TEST()
530 { skottie::Shaper::VAlign::kVisualTop , 0.0f }, in DEF_TEST()
531 { skottie::Shaper::VAlign::kVisualCenter, 0.5f }, in DEF_TEST()
590 Shaper::VAlign::kTop, in DEF_TEST()
683 Shaper::VAlign::kTop, in DEF_TEST()