Searched refs:TextLayoutAlgorithm (Results 1 – 9 of 9) sorted by relevance
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
| D | text_layout_algorithm.cpp | 59 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 …]
|
| D | text_layout_algorithm.h | 44 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);
|
| D | text_pattern.h | 80 return MakeRefPtr<TextLayoutAlgorithm>(spans_); in CreateLayoutAlgorithm()
|
| D | text_pattern.cpp | 1925 …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 | 82 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/ |
| D | text_test_ng.cpp | 833 …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/ |
| D | gauge_layout_algorithm.cpp | 320 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
| D | dialog_layout_algorithm.cpp | 162 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()
|