/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | multiple_paragraph_layout_algorithm.h | 52 RefPtr<Paragraph> GetSingleParagraph() const; 60 …virtual void HandleEmptyParagraph(RefPtr<Paragraph> paragraph, const std::list<RefPtr<SpanItem>>& … in HandleEmptyParagraph() 67 … void ApplyIndent(ParagraphStyle& paragraphStyle, const RefPtr<Paragraph>& paragraph, double width, 117 …RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& paragraph, const std::list<RefPtr<SpanItem>… 128 …const LayoutConstraintF& layoutConstrain, const RefPtr<Paragraph>& paragraph, int32_t& spanTextLen… 132 const RefPtr<Paragraph>& paragraph, int32_t& spanTextLength); 134 …const RefPtr<Paragraph>& paragraph, int32_t& spanTextLength, CustomSpanPlaceholderInfo& customSpan… 137 const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& paragraph); 139 const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& paragraph);
|
H A D | text_layout_algorithm.h | 70 RefPtr<Paragraph> GetParagraph() const override in GetParagraph() 84 … const TextStyle& textStyle, LayoutWrapper* layoutWrapper, const RefPtr<Paragraph>& paragraph); 87 const TextStyle& textStyle, bool isDragging, const RefPtr<Paragraph>& paragraph); 98 …extStyle& textStyle, const std::vector<std::string>& contents, const RefPtr<Paragraph>& paragraph);
|
H A D | text_adapt_font_sizer.h | 35 virtual RefPtr<Paragraph> GetParagraph() const = 0; 59 bool IsAdaptFontSizeExceedLineHeight(const RefPtr<Paragraph>& paragraph);
|
H A D | multiple_paragraph_layout_algorithm.cpp | 347 RefPtr<Paragraph> MultipleParagraphLayoutAlgorithm::GetSingleParagraph() const in GetSingleParagraph() 493 auto&& paragraph = Paragraph::Create(spanParagraphStyle, FontCollection::Current()); in UpdateParagraphBySpan() 562 const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& paragraph) in AddSymbolSpanToParagraph() 573 const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& paragraph) in AddTextSpanToParagraph() 583 const RefPtr<Paragraph>& paragraph, int32_t& spanTextLength, const TextStyle& textStyle) in AddImageToParagraph() 625 const RefPtr<Paragraph>& paragraph, int32_t& spanTextLength) in AddPlaceHolderToParagraph() 651 LayoutWrapper* layoutWrapper, const RefPtr<Paragraph>& paragraph, int32_t& spanTextLength, in UpdateParagraphByCustomSpan() 695 …ParagraphStyle& paragraphStyle, const RefPtr<Paragraph>& paragraph, double width, const TextStyle&… in ApplyIndent() 725 …RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& paragraph, const std::list<RefPtr<SpanItem>… in UpdateSymbolSpanEffect()
|
H A D | span_node.h | 151 class Paragraph; variable 222 …void UpdateSymbolSpanParagraph(const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& builde… 223 …virtual int32_t UpdateParagraph(const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& build… 226 …virtual void UpdateTextStyleForAISpan(const std::string& content, const RefPtr<Paragraph>& builder, 228 virtual void UpdateTextStyle(const std::string& content, const RefPtr<Paragraph>& builder, 231 const std::string& content, const RefPtr<Paragraph>& builder, const TextStyle& textStyle); 593 int32_t UpdateParagraph(const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& builder, 768 int32_t UpdateParagraph(const RefPtr<FrameNode>& frameNode, const RefPtr<Paragraph>& builder,
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_paragraph.cpp | 24 RefPtr<Paragraph> Paragraph::Create(const ParagraphStyle& paraStyle, const RefPtr<FontCollection>& … in Create() 29 RefPtr<Paragraph> Paragraph::Create(void* paragraph) in Create()
|
H A D | mock_paragraph.h | 24 class MockParagraph : public Paragraph { 25 DECLARE_ACE_TYPE(MockParagraph, Paragraph);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_testfour_ng.cpp | 340 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 529 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 618 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 664 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 704 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 755 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 806 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 852 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 898 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 944 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); [all …]
|
H A D | text_testtwo_ng.cpp | 91 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 1238 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 1308 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 1345 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 1438 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 1720 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 1964 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 2053 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current()); 2227 RefPtr<Paragraph> paragraph = Paragraph::Create(paragraphStyle, FontCollection::Current());
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/window/ |
H A D | drag_window.h | 25 class Paragraph; variable 39 class Paragraph; variable 73 …std::shared_ptr<txt::Paragraph> paragraph, const Offset& offset, const RefPtr<RenderText>& renderT… 78 …virtual void DrawTextNG(const RefPtr<NG::Paragraph>& paragraph, const RefPtr<NG::TextPattern>& tex…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | txt_paragraph.cpp | 32 RefPtr<Paragraph> Paragraph::Create(const ParagraphStyle& paraStyle, const RefPtr<FontCollection>& … in Create() 40 RefPtr<Paragraph> Paragraph::Create(void* rsParagraph) in Create() 301 index, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in GetCharacterWidth() 431 index, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in AdjustIndexForward() 496 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretUpstream() 508 … 0, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretUpstream() 518 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretUpstream() 605 … extent, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretDownstream() 675 : txt::Paragraph::RectHeightStyle::kMax; in GetRectsForRangeInner() 884 txt::Paragraph::RectWidthStyle::kTight); in HandleCaretWhenEmpty() [all …]
|
H A D | txt_paragraph.h | 35 class TxtParagraph : public Paragraph { 36 DECLARE_ACE_TYPE(NG::TxtParagraph, NG::Paragraph) in DECLARE_ACE_TYPE() argument 174 txt::Paragraph* GetParagraph(); 175 std::unique_ptr<txt::Paragraph> paragraph_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_manager.cpp | 97 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 157 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 168 … 0, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 177 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 241 … extent, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 459 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_impl.h | 29 class ParagraphImpl : public Paragraph { 31 ParagraphImpl(std::unique_ptr<skia::textlayout::Paragraph> paragraph, 118 std::unique_ptr<Paragraph> CloneSelf() override; 126 std::unique_ptr<skia::textlayout::Paragraph> paragraph_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | rosen_render_text_field.h | 187 std::unique_ptr<txt::Paragraph> paragraph_; 188 std::unique_ptr<txt::Paragraph> errorParagraph_; 189 std::unique_ptr<txt::Paragraph> countParagraph_; 190 std::unique_ptr<txt::Paragraph> placeholderParagraph_; 199 std::unique_ptr<txt::Paragraph> template_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_pattern.h | 90 void Initialize(const RefPtr<Paragraph>& paragraph, const TextDragData& data) in Initialize() 96 void UpdateParagraph(const RefPtr<Paragraph>& paragraph) in UpdateParagraph() 109 const WeakPtr<Paragraph>& GetParagraph() const in GetParagraph() 238 WeakPtr<Paragraph> paragraph_;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | paragraph_test.cpp | 38 …static skia::textlayout::ParagraphImpl* GetParagraphSkiaImpl(const std::shared_ptr<Paragraph>& par… 39 static ParagraphImpl* GetParagraphImpl(const std::shared_ptr<Paragraph>& paragraph); 42 std::shared_ptr<Paragraph> paragraph_; 71 ParagraphImpl* ParagraphTest::GetParagraphImpl(const std::shared_ptr<Paragraph>& paragraph) in GetParagraphImpl() 76 …ut::ParagraphImpl* ParagraphTest::GetParagraphSkiaImpl(const std::shared_ptr<Paragraph>& paragraph) in GetParagraphSkiaImpl()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_drag_window.h | 34 …void(std::shared_ptr<txt::Paragraph> paragraph, const Offset& offset, const RefPtr<RenderText>& re… 39 …MOCK_METHOD2(DrawTextNG, void(const RefPtr<NG::Paragraph>& paragraph, const RefPtr<NG::TextPattern…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph.h | 77 class Paragraph { 79 virtual ~Paragraph() = default; 195 virtual std::unique_ptr<Paragraph> CloneSelf() = 0;
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/window/ |
H A D | drag_window_ohos.h | 49 …std::shared_ptr<txt::Paragraph> paragraph, const Offset& offset, const RefPtr<RenderText>& renderT… 54 …void DrawTextNG(const RefPtr<NG::Paragraph>& paragraph, const RefPtr<NG::TextPattern>& textPattern…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_layout_algorithm.h | 56 RefPtr<Paragraph> GetParagraph() const override; 123 RefPtr<Paragraph>& paragraph, float removeValue = 0.0f); 147 RefPtr<Paragraph> paragraph_; 148 RefPtr<Paragraph> inlineParagraph_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 276 return txt::Paragraph::RectHeightStyle::kTight; in ConvertTxtRectHeightStyle() 278 return txt::Paragraph::RectHeightStyle::kMax; in ConvertTxtRectHeightStyle() 280 return txt::Paragraph::RectHeightStyle::kIncludeLineSpacingMiddle; in ConvertTxtRectHeightStyle() 282 return txt::Paragraph::RectHeightStyle::kIncludeLineSpacingTop; in ConvertTxtRectHeightStyle() 284 return txt::Paragraph::RectHeightStyle::kIncludeLineSpacingBottom; in ConvertTxtRectHeightStyle() 286 return txt::Paragraph::RectHeightStyle::kStrut; in ConvertTxtRectHeightStyle() 288 return txt::Paragraph::RectHeightStyle::kTight; in ConvertTxtRectHeightStyle() 314 txt::Paragraph::RectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle) in ConvertTxtRectWidthStyle() 318 return txt::Paragraph::RectWidthStyle::kTight; in ConvertTxtRectWidthStyle() 320 return txt::Paragraph::RectWidthStyle::kMax; in ConvertTxtRectWidthStyle() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | paragraph.h | 213 class Paragraph : public virtual AceType { 214 DECLARE_ACE_TYPE(NG::Paragraph, AceType) 217 …static RefPtr<Paragraph> Create(const ParagraphStyle& paraStyle, const RefPtr<FontCollection>& fon… 219 static RefPtr<Paragraph> Create(void* paragraph);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_tip_modifier.h | 36 void SetParagraph(const RefPtr<NG::Paragraph>& paragraph) in SetParagraph() 144 RefPtr<NG::Paragraph> paragraph_;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.h | 28 explicit Typography(std::unique_ptr<SPText::Paragraph> paragraph); 79 std::unique_ptr<SPText::Paragraph> paragraph_ = nullptr;
|