Home
last modified time | relevance | path

Searched refs:TextLayoutAlgorithm (Results 1 – 9 of 9) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_layout_algorithm.cpp59 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
61 void TextLayoutAlgorithm::OnReset() {} in OnReset()
63 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
131 bool TextLayoutAlgorithm::AddPropertiesAndAnimations(TextStyle& textStyle, in AddPropertiesAndAnimations()
154 void TextLayoutAlgorithm::FontRegisterCallback(const RefPtr<FrameNode>& frameNode, const TextStyle&… in FontRegisterCallback()
189 void TextLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
202 void TextLayoutAlgorithm::UpdateParagraph(LayoutWrapper* layoutWrapper) in UpdateParagraph()
293 void TextLayoutAlgorithm::UpdateParagraphForAISpan(const TextStyle& textStyle, LayoutWrapper* layou… in UpdateParagraphForAISpan()
342 void TextLayoutAlgorithm::GrayDisplayAISpan(const DragSpanPosition& dragSpanPosition, in GrayDisplayAISpan()
372 std::string TextLayoutAlgorithm::StringOutBoundProtection(int32_t position, int32_t length, std::ws… in StringOutBoundProtection()
[all …]
Dtext_layout_algorithm.h44 class ACE_EXPORT TextLayoutAlgorithm : public BoxLayoutAlgorithm {
45 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm);
48 TextLayoutAlgorithm();
50 explicit TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spanItemChildren) in TextLayoutAlgorithm() function
54 ~TextLayoutAlgorithm() override = default;
162 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
Dtext_pattern.h80 return MakeRefPtr<TextLayoutAlgorithm>(spans_); in CreateLayoutAlgorithm()
Dtext_pattern.cpp1925 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
Drich_editor_layout_algorithm.h23 class ACE_EXPORT RichEditorLayoutAlgorithm : public TextLayoutAlgorithm {
24 DECLARE_ACE_TYPE(RichEditorLayoutAlgorithm, TextLayoutAlgorithm);
Drich_editor_layout_algorithm.cpp82 auto size = TextLayoutAlgorithm::MeasureContent(contentConstraint, layoutWrapper); in MeasureContent()
164 TextLayoutAlgorithm::Measure(layoutWrapper); in Measure()
179 TextLayoutAlgorithm::Layout(layoutWrapper); in Layout()
184 auto contentOffset = TextLayoutAlgorithm::GetContentOffset(layoutWrapper); in GetContentOffset()
201 auto style = TextLayoutAlgorithm::GetParagraphStyle(textStyle, content, layoutWrapper); in GetParagraphStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
Dtext_test_ng.cpp833 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
867 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
917 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1032 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1084 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1131 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1186 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1242 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1298 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1351 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
Dgauge_layout_algorithm.cpp320 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp162 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()