Searched refs:TextLayoutAlgorithm (Results 1 – 9 of 9) sorted by relevance
| /foundation/arkui/ace_engine/frameworks/core/components_ng/test/mock/pattern/text/ |
| D | mock_text_layout_algorithm.cpp | 21 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/ |
| D | text_layout_algorithm.cpp | 57 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 …]
|
| D | text_layout_algorithm.h | 34 class ACE_EXPORT TextLayoutAlgorithm : public BoxLayoutAlgorithm { 35 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm); 38 TextLayoutAlgorithm(); 40 …TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spanItemChildren, const RefPtr<Paragraph>& paragra… in TextLayoutAlgorithm() function 44 ~TextLayoutAlgorithm() override = default; 115 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
|
| D | text_pattern.h | 89 return MakeRefPtr<TextLayoutAlgorithm>(spanItemChildren_, paragraph_); in CreateLayoutAlgorithm()
|
| D | text_pattern.cpp | 946 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
| D | rich_editor_layout_algorithm.h | 23 class ACE_EXPORT RichEditorLayoutAlgorithm : public TextLayoutAlgorithm { 24 DECLARE_ACE_TYPE(RichEditorLayoutAlgorithm, TextLayoutAlgorithm);
|
| D | rich_editor_layout_algorithm.cpp | 23 : TextLayoutAlgorithm(spanItemChildren, paragraph) in RichEditorLayoutAlgorithm() 33 TextLayoutAlgorithm::Layout(layoutWrapper); in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/text/ |
| D | text_test_ng.cpp | 826 …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/ |
| D | dialog_layout_algorithm.cpp | 149 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()
|