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/test/mock/pattern/text/
Dmock_text_layout_algorithm.cpp21 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
23 void TextLayoutAlgorithm::OnReset() {} in OnReset()
25 void TextLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) {} in Measure()
27 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
33 bool TextLayoutAlgorithm::CreateParagraph(const TextStyle& textStyle, std::string content, LayoutWr… in CreateParagraph()
38 bool TextLayoutAlgorithm::CreateParagraphAndLayout(const TextStyle& textStyle, const std::string& c… in CreateParagraphAndLayout()
44 bool TextLayoutAlgorithm::AdaptMinTextSize(TextStyle& textStyle, const std::string& content, in AdaptMinTextSize()
50 bool TextLayoutAlgorithm::DidExceedMaxLines(const SizeF& maxSize) in DidExceedMaxLines()
55 TextDirection TextLayoutAlgorithm::GetTextDirection(const std::string& content) in GetTextDirection()
60 float TextLayoutAlgorithm::GetTextWidth() const in GetTextWidth()
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_layout_algorithm.cpp57 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
59 void TextLayoutAlgorithm::OnReset() {} in OnReset()
61 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
119 bool TextLayoutAlgorithm::AddPropertiesAndAnimations(TextStyle& textStyle, in AddPropertiesAndAnimations()
142 void TextLayoutAlgorithm::FontRegisterCallback(const RefPtr<FrameNode>& frameNode, const TextStyle&… in FontRegisterCallback()
177 void TextLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
190 void TextLayoutAlgorithm::UpdateParagraph(LayoutWrapper* layoutWrapper) in UpdateParagraph()
235 bool TextLayoutAlgorithm::CreateParagraph(const TextStyle& textStyle, std::string content, LayoutWr… in CreateParagraph()
257 bool TextLayoutAlgorithm::CreateParagraphAndLayout(const TextStyle& textStyle, const std::string& c… in CreateParagraphAndLayout()
274 OffsetF TextLayoutAlgorithm::GetContentOffset(LayoutWrapper* layoutWrapper) const in GetContentOffset()
[all …]
Dtext_layout_algorithm.h34 class ACE_EXPORT TextLayoutAlgorithm : public BoxLayoutAlgorithm {
35 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm);
38 TextLayoutAlgorithm();
40TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spanItemChildren, const RefPtr<Paragraph>& paragra… in TextLayoutAlgorithm() function
44 ~TextLayoutAlgorithm() override = default;
115 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
Dtext_pattern.h89 return MakeRefPtr<TextLayoutAlgorithm>(spanItemChildren_, paragraph_); in CreateLayoutAlgorithm()
Dtext_pattern.cpp946 …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.cpp23 : TextLayoutAlgorithm(spanItemChildren, paragraph) in RichEditorLayoutAlgorithm()
33 TextLayoutAlgorithm::Layout(layoutWrapper); in Layout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/text/
Dtext_test_ng.cpp826 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
853 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
908 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1035 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1093 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1142 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1195 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1249 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1303 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1350 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp149 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()