Searched refs:pStyle (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | multiple_paragraph_layout_algorithm.cpp | 182 pStyle.align = lineStyle->GetTextAlignValue(); in GetSpanParagraphStyle() 185 pStyle.maxLines = lineStyle->GetMaxLinesValue(); in GetSpanParagraphStyle() 188 pStyle.wordBreak = lineStyle->GetWordBreakValue(); in GetSpanParagraphStyle() 191 pStyle.ellipsisMode = lineStyle->GetEllipsisModeValue(); in GetSpanParagraphStyle() 194 pStyle.textOverflow = lineStyle->GetTextOverflowValue(); in GetSpanParagraphStyle() 197 pStyle.indent = lineStyle->GetTextIndentValue(); in GetSpanParagraphStyle() 200 pStyle.lineBreakStrategy = lineStyle->GetLineBreakStrategyValue(); in GetSpanParagraphStyle() 203 pStyle.leadingMargin = lineStyle->GetLeadingMarginValue(); in GetSpanParagraphStyle() 206 pStyle.lineHeight = lineStyle->GetLineHeightValue(); in GetSpanParagraphStyle() 209 pStyle.direction = GetTextDirection(spanItem->content, layoutWrapper); in GetSpanParagraphStyle() [all …]
|
H A D | text_layout_algorithm.cpp | 74 ParagraphStyle pStyle; in ConstructParagraphSpanGroup() local 75 GetSpanParagraphStyle(nullptr, (*it), pStyle); in ConstructParagraphSpanGroup() 95 if (pStyle != nextSpanParagraphStyle || in ConstructParagraphSpanGroup() 96 …(pStyle.leadingMargin.has_value() && pStyle.leadingMargin->pixmap) || Positive(pStyle.indent.Value… in ConstructParagraphSpanGroup() 97 pStyle.maxLines != UINT32_MAX) { in ConstructParagraphSpanGroup() 101 spanStringHasMaxLines_ |= pStyle.maxLines != UINT32_MAX; in ConstructParagraphSpanGroup() 104 pStyle = nextSpanParagraphStyle; in ConstructParagraphSpanGroup()
|
H A D | multiple_paragraph_layout_algorithm.h | 55 …graphStyle(LayoutWrapper* layoutWrapper, const RefPtr<SpanItem>& spanItem, ParagraphStyle& pStyle);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_testfive_ng.cpp | 1426 ParagraphStyle pStyle; variable 1433 textLayoutAlgorithm->GetSpanParagraphStyle(nullptr, spanItem, pStyle); 1434 EXPECT_EQ(pStyle.maxLines, 1024); 1435 EXPECT_EQ(pStyle.ellipsisMode, EllipsisMode::HEAD); 1436 EXPECT_EQ(pStyle.lineBreakStrategy, LineBreakStrategy::GREEDY);
|