Home
last modified time | relevance | path

Searched refs:Shaper (Results 1 – 10 of 10) 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()
79 v->fVAlign = v->fBox.isEmpty() ? Shaper::VAlign::kTopBaseline in FromJSON()
80 : Shaper::VAlign::kTop; in FromJSON()
83 static constexpr Shaper::VAlign gVAlignMap[] = { in FromJSON()
84 Shaper::VAlign::kVisualTop, // 'sk_vj': 0 in FromJSON()
85 Shaper::VAlign::kVisualCenter, // 'sk_vj': 1 in FromJSON()
86 Shaper::VAlign::kVisualBottom, // 'sk_vj': 2 in FromJSON()
[all …]
DSkottieShaper.cpp53 BlobMaker(const Shaper::TextDesc& desc, const SkRect& box, const sk_sp<SkFontMgr>& fontmgr) in BlobMaker()
121 const auto commit_proc = (fDesc.fFlags & Shaper::Flags::kFragmentGlyphs) in commitLine()
139 Shaper::Result finalize(SkSize* shaped_size) { in finalize()
140 if (!(fDesc.fFlags & Shaper::Flags::kFragmentGlyphs)) { in finalize()
180 case Shaper::VAlign::kTop: in finalize()
183 case Shaper::VAlign::kTopBaseline: in finalize()
186 case Shaper::VAlign::kVisualTop: in finalize()
190 case Shaper::VAlign::kVisualCenter: in finalize()
194 case Shaper::VAlign::kVisualBottom: in finalize()
231 if (fDesc.fVAlign == Shaper::VAlign::kTop) { in shapeLine()
[all …]
DTextAdapter.cpp89 void TextAdapter::addFragment(const Shaper::Fragment& frag) { in addFragment()
132 void TextAdapter::buildDomainMaps(const Shaper::Result& shape_result) { in buildDomainMaps()
184 const Shaper::TextDesc text_desc = { in reshape()
192 fAnimators.empty() ? Shaper::Flags::kNone : Shaper::Flags::kFragmentGlyphs, in reshape()
194 const auto shape_result = Shaper::Shape(fText->fText, text_desc, fText->fBox, fFontMgr); in reshape()
DSkottieShaper.h23 class Shaper final {
108 Shaper() = delete;
DTextAdapter.h56 void addFragment(const Shaper::Fragment&);
57 void buildDomainMaps(const Shaper::Result&);
/external/skia/modules/skottie/src/
DSkottieTest.cpp322 Shaper::VAlign::kTopBaseline, in DEF_TEST()
323 Shaper::ResizePolicy::kNone, in DEF_TEST()
420 static SkRect ComputeShapeResultBounds(const skottie::Shaper::Result& res) { in ComputeShapeResultBounds()
462 const skottie::Shaper::TextDesc desc = { in DEF_TEST()
468 skottie::Shaper::VAlign::kTopBaseline, in DEF_TEST()
469 skottie::Shaper::ResizePolicy::kNone, in DEF_TEST()
470 Shaper::Flags::kNone in DEF_TEST()
473 const auto shape_result = skottie::Shaper::Shape(text, desc, text_point, in DEF_TEST()
514 skottie::Shaper::VAlign align; in DEF_TEST()
517 { skottie::Shaper::VAlign::kVisualTop , 0.0f }, in DEF_TEST()
[all …]
/external/skia/modules/skottie/include/
DSkottieProperty.h42 Shaper::VAlign fVAlign = Shaper::VAlign::kTop;
43 Shaper::ResizePolicy fResize = Shaper::ResizePolicy::kNone;
/external/harfbuzz_ng/src/
Dhb-shaper.hh56 #define HB_SHAPER_ORDER(Shaper) \ argument
57 HB_PASTE (HB_SHAPER_ORDER_, Shaper)
61 #define HB_SHAPER_IMPLEMENT(Shaper) \ argument
62 HB_SHAPER_ORDER (Shaper),
/external/pdfium/third_party/lcms/src/
Dcmsps2.c947 …t WriteInputMatrixShaper(cmsIOHANDLER* m, cmsHPROFILE hProfile, cmsStage* Matrix, cmsStage* Shaper) in WriteInputMatrixShaper() argument
959 cmsToneCurve** ShaperCurve = _cmsStageGetPtrToCurveSet(Shaper); in WriteInputMatrixShaper()
976 _cmsStageGetPtrToCurveSet(Shaper), in WriteInputMatrixShaper()
1051 cmsStage* Matrix, *Shaper; in GenerateCSA() local
1080 …neCheckAndRetreiveStages(lut, 2, cmsSigCurveSetElemType, cmsSigMatrixElemType, &Shaper, &Matrix)) { in GenerateCSA()
1082 if (!WriteInputMatrixShaper(mem, hProfile, Matrix, Shaper)) goto Error; in GenerateCSA()
/external/iproute2/examples/
DREADME.cbq43 # | | |______ Shaper name - any word
71 # RATE: Shaper's speed - Kbit,Mbit or bps (bytes per second)