Home
last modified time | relevance | path

Searched refs:Paragraph (Results 1 – 25 of 77) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dmultiple_paragraph_layout_algorithm.h52 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 Dtext_layout_algorithm.h70 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 Dtext_adapt_font_sizer.h35 virtual RefPtr<Paragraph> GetParagraph() const = 0;
59 bool IsAdaptFontSizeExceedLineHeight(const RefPtr<Paragraph>& paragraph);
H A Dmultiple_paragraph_layout_algorithm.cpp347 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 Dspan_node.h151 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 Dmock_paragraph.cpp24 RefPtr<Paragraph> Paragraph::Create(const ParagraphStyle& paraStyle, const RefPtr<FontCollection>& … in Create()
29 RefPtr<Paragraph> Paragraph::Create(void* paragraph) in Create()
H A Dmock_paragraph.h24 class MockParagraph : public Paragraph {
25 DECLARE_ACE_TYPE(MockParagraph, Paragraph);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_testfour_ng.cpp340 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 Dtext_testtwo_ng.cpp91 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 Ddrag_window.h25 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 Dtxt_paragraph.cpp32 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 Dtxt_paragraph.h35 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 Dtext_overlay_manager.cpp97 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 Dparagraph_impl.h29 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 Drosen_render_text_field.h187 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 Dtext_drag_pattern.h90 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 Dparagraph_test.cpp38 …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 Dmock_drag_window.h34 …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 Dparagraph.h77 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 Ddrag_window_ohos.h49 …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 Dtext_field_layout_algorithm.h56 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 Dconstants_converter.cpp276 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 Dparagraph.h213 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 Dslider_tip_modifier.h36 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 Dtypography.h28 explicit Typography(std::unique_ptr<SPText::Paragraph> paragraph);
79 std::unique_ptr<SPText::Paragraph> paragraph_ = nullptr;

1234