Home
last modified time | relevance | path

Searched refs:TextLayoutAlgorithm (Results 1 – 7 of 7) 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) in CreateParagraph()
38 bool TextLayoutAlgorithm::CreateParagraphAndLayout( 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.h33 class ACE_EXPORT TextLayoutAlgorithm : public BoxLayoutAlgorithm {
34 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm);
37 TextLayoutAlgorithm();
39TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spanItemChildren, const RefPtr<Paragraph>& paragra… in TextLayoutAlgorithm() function
43 ~TextLayoutAlgorithm() override = default;
73 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
Dtext_layout_algorithm.cpp52 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
54 void TextLayoutAlgorithm::OnReset() {} in OnReset()
56 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
102 void TextLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
115 bool TextLayoutAlgorithm::CreateParagraph(const TextStyle& textStyle, std::string content) in CreateParagraph()
144 bool TextLayoutAlgorithm::CreateParagraphAndLayout( in CreateParagraphAndLayout()
156 bool TextLayoutAlgorithm::AdaptMinTextSize(TextStyle& textStyle, const std::string& content, in AdaptMinTextSize()
200 bool TextLayoutAlgorithm::DidExceedMaxLines(const SizeF& maxSize) in DidExceedMaxLines()
209 TextDirection TextLayoutAlgorithm::GetTextDirection(const std::string& content) in GetTextDirection()
225 float TextLayoutAlgorithm::GetTextWidth() const in GetTextWidth()
[all …]
Dtext_pattern.h57 return MakeRefPtr<TextLayoutAlgorithm>(spanItemChildren_, paragraph_); in CreateLayoutAlgorithm()
Dtext_pattern.cpp430 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/text/
Dtext_layout_test_ng.cpp94 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
152 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
201 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
254 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
307 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
360 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
406 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
458 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
512 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
757 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
[all …]
Dtext_pattern_test_ng.cpp652 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
679 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
734 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…