Home
last modified time | relevance | path

Searched refs:text_align (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_style.cc46 if (text_align == TextAlign::start) { in effective_align()
49 } else if (text_align == TextAlign::end) { in effective_align()
53 return text_align; in effective_align()
Dparagraph_style.h70 TextAlign text_align = TextAlign::start; variable
Dparagraph_txt.cc289 breaker_.setJustified(paragraph_style_.text_align == TextAlign::justify); in ComputeLineBreaks()
705 (paragraph_style_.text_align == TextAlign::justify && in Layout()
/third_party/flutter/engine/flutter/third_party/txt/tests/
Dparagraph_unittests.cc1176 paragraph_style.text_align = TextAlign::left; in TEST_F()
1412 paragraph_style.text_align = TextAlign::left; in TEST_F()
1471 ASSERT_EQ(paragraph_style.text_align, in TEST_F()
1472 paragraph->GetParagraphStyle().text_align); in TEST_F()
1509 paragraph_style.text_align = TextAlign::right; in TEST_F()
1597 ASSERT_EQ(paragraph_style.text_align, in TEST_F()
1598 paragraph->GetParagraphStyle().text_align); in TEST_F()
1628 paragraph_style.text_align = TextAlign::center; in TEST_F()
1708 ASSERT_EQ(paragraph_style.text_align, in TEST_F()
1709 paragraph->GetParagraphStyle().text_align); in TEST_F()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dsubtitle.h383 GstSubtitleTextAlign text_align; member
Dttmlparse.c485 style_set->text_align = GST_SUBTITLE_TEXT_ALIGN_LEFT; in ttml_update_style_set()
487 style_set->text_align = GST_SUBTITLE_TEXT_ALIGN_CENTER; in ttml_update_style_set()
489 style_set->text_align = GST_SUBTITLE_TEXT_ALIGN_RIGHT; in ttml_update_style_set()
491 style_set->text_align = GST_SUBTITLE_TEXT_ALIGN_END; in ttml_update_style_set()
493 style_set->text_align = GST_SUBTITLE_TEXT_ALIGN_START; in ttml_update_style_set()
Dgstttmlrender.c2106 switch (style_set->text_align) { in gst_ttml_render_align_line_areas()
2684 switch (block->style_set->text_align) { in gst_ttml_render_render_text_region()
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_builder_skia.cc72 skia.setTextAlign(static_cast<skt::TextAlign>(txt.text_align)); in TxtToSkia()
/third_party/flutter/engine/flutter/lib/ui/text/
Dparagraph_builder.cc174 style.text_align = txt::TextAlign(encoded[psTextAlignIndex]); in ParagraphBuilder()
/third_party/flutter/engine/flutter/third_party/txt/benchmarks/
Dparagraph_benchmarks.cc127 paragraph_style.text_align = TextAlign::justify; in BM_ParagraphJustifyLayout()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp5736 auto layout = [&](TextAlign text_align) -> std::pair<SkScalar, SkScalar> { in UNIX_ONLY_TEST() argument
5737 paragraph_style.setTextAlign(text_align); in UNIX_ONLY_TEST()