Home
last modified time | relevance | path

Searched refs:GetLineHeight (Results 1 – 25 of 71) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_prop_convertor.cpp290 if (textStyle.GetLineHeight().Unit() == DimensionUnit::PERCENT) { in ToRSTextStyle()
293 rsTextStyle.height_ = textStyle.GetLineHeight().Value(); in ToRSTextStyle()
296 rsTextStyle.heightScale = textStyle.GetLineHeight().Value(); in ToRSTextStyle()
304 double lineHeight = textStyle.GetLineHeight().Value(); in ToRSTextStyle()
306 lineHeight = context->NormalizeToPx(textStyle.GetLineHeight()); in ToRSTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtext_composed_element.cpp33 … { "lineHeight", [](const TextComposedElement& inspector) { return inspector.GetLineHeight(); } }, in __anon25743e010602()
53 DumpLog::GetInstance().AddDesc(std::string("lineHeight: ").append(GetLineHeight())); in Dump()
96 std::string TextComposedElement::GetLineHeight() const in GetLineHeight() function in OHOS::Ace::V2::TextComposedElement
100 renderText ? renderText->GetTextStyle().GetLineHeight() : Dimension(); in GetLineHeight()
H A Dtext_composed_element.h51 std::string GetLineHeight() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Dconstants_converter.cpp548 if (textStyle.GetLineHeight().Unit() == DimensionUnit::PERCENT) { in ConvertTxtStyle()
550 txtStyle.height = textStyle.GetLineHeight().Value(); in ConvertTxtStyle()
553 double lineHeight = textStyle.GetLineHeight().Value(); in ConvertTxtStyle()
668 if (textStyle.GetLineHeight().Unit() == DimensionUnit::PERCENT) { in ConvertTxtStyle()
670 txtStyle.heightScale = textStyle.GetLineHeight().Value(); in ConvertTxtStyle()
673 double lineHeight = textStyle.GetLineHeight().Value(); in ConvertTxtStyle()
675 lineHeight = NormalizeToPx(textStyle.GetLineHeight()); in ConvertTxtStyle()
776 if (textStyle.GetLineHeight().Unit() == DimensionUnit::PERCENT) { in ConvertTxtStyle()
778 lineHeightScale = textStyle.GetLineHeight().Value(); in ConvertTxtStyle()
781 double lineHeight = textStyle.GetLineHeight().Value(); in ConvertTxtStyle()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Dtext_component.cpp53 …updateType |= static_cast<uint32_t>(declarationStyle.GetLineHeight() == textStyle.GetLineHeight() ? in Compare()
H A Dtext_component_v2.cpp83 spanStyle.SetLineHeight(textStyle.GetLineHeight(), textStyle.HasHeightOverride()); in CheckAndSetChildStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_base.h41 virtual float GetLineHeight() const = 0;
H A Dtext_drag_pattern.h134 float GetLineHeight() const in GetLineHeight() function
H A Dtext_drag_pattern.cpp174 auto lineHeight = GetLineHeight(); in GenerateClipPath()
226 auto lineHeight = GetLineHeight(); in GenerateBackgroundPoints()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_span.cpp81 currentStyle.SetLineHeight(parentStyle.GetLineHeight(), parentStyle.HasHeightOverride()); in CheckAndSetCurrentSpanStyle()
H A Ddom_text.cpp92 spanStyle.SetLineHeight(textStyle.GetLineHeight(), textStyle.HasHeightOverride()); in CheckAndSetSpanStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dtypography.h61 double GetLineHeight(int lineNumber) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_skeleton_params.h125 float GetLineHeight() const in GetLineHeight() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dtypography.h148 virtual double GetLineHeight(int lineNumber) = 0;
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/
H A Djs_paragraph.h48 static napi_value GetLineHeight(napi_env env, napi_callback_info info);
H A Djs_paragraph.cpp82 DECLARE_NAPI_FUNCTION("getLineHeight", JsParagraph::GetLineHeight), in Init()
508 napi_value JsParagraph::GetLineHeight(napi_env env, napi_callback_info info) in GetLineHeight() function in OHOS::Rosen::JsParagraph
532 double lineHeight = paragraph_->GetLineHeight(lineNumber); in OnGetLineHeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Dselection_info.h85 lineHeight = style.GetLineHeight().ConvertToPx(); in SymbolSpanStyle()
H A Drich_editor_event_hub.cpp164 double RichEditorAbstractSpanResult::GetLineHeight() const in GetLineHeight() function in OHOS::Ace::NG::RichEditorAbstractSpanResult
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dtypography_test.cpp168 EXPECT_EQ(typography->GetLineHeight(0) == 0.0, true);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.cpp782 RefPtr<SpanBase> spanBase = MakeRefPtr<LineHeightSpan>(GetLineHeight(), start, end); in GetSubSpan()
796 Dimension LineHeightSpan::GetLineHeight() const in GetLineHeight() function in OHOS::Ace::LineHeightSpan
824 auto lineHeight = lineHeightSpan->GetLineHeight(); in IsAttributesEqual()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_property.cpp109 json->PutExtAttr("lineHeight", GetLineHeight().value_or(0.0_vp).ToString().c_str(), filter); in ToJsonValue()
H A Dtext_model_ng.h142 static float GetLineHeight(FrameNode* frameNode);
H A Dmultiple_paragraph_layout_algorithm.cpp335 auto lineHeight = layoutProperty->GetLineHeight(); in SetPropertyToModifier()
343 modifier->SetLineHeight(textStyle.GetLineHeight(), textStyle, true); in SetPropertyToModifier()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_component.h86 double GetLineHeight() const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_decoration_test_ng.cpp243 EXPECT_EQ(textFieldLayoutProperty->GetLineHeight(), 2.0_fp);

123