Searched refs:text_align (Results 1 – 11 of 11) sorted by relevance
46 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()
70 TextAlign text_align = TextAlign::start; variable
289 breaker_.setJustified(paragraph_style_.text_align == TextAlign::justify); in ComputeLineBreaks()705 (paragraph_style_.text_align == TextAlign::justify && in Layout()
1176 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 …]
383 GstSubtitleTextAlign text_align; member
485 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()
2106 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()
72 skia.setTextAlign(static_cast<skt::TextAlign>(txt.text_align)); in TxtToSkia()
174 style.text_align = txt::TextAlign(encoded[psTextAlignIndex]); in ParagraphBuilder()
127 paragraph_style.text_align = TextAlign::justify; in BM_ParagraphJustifyLayout()
5736 auto layout = [&](TextAlign text_align) -> std::pair<SkScalar, SkScalar> { in UNIX_ONLY_TEST() argument5737 paragraph_style.setTextAlign(text_align); in UNIX_ONLY_TEST()