/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 290 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 D | text_composed_element.cpp | 33 … { "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 D | text_composed_element.h | 51 std::string GetLineHeight() const;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 548 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 D | text_component.cpp | 53 …updateType |= static_cast<uint32_t>(declarationStyle.GetLineHeight() == textStyle.GetLineHeight() ? in Compare()
|
H A D | text_component_v2.cpp | 83 spanStyle.SetLineHeight(textStyle.GetLineHeight(), textStyle.HasHeightOverride()); in CheckAndSetChildStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_base.h | 41 virtual float GetLineHeight() const = 0;
|
H A D | text_drag_pattern.h | 134 float GetLineHeight() const in GetLineHeight() function
|
H A D | text_drag_pattern.cpp | 174 auto lineHeight = GetLineHeight(); in GenerateClipPath() 226 auto lineHeight = GetLineHeight(); in GenerateBackgroundPoints()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_span.cpp | 81 currentStyle.SetLineHeight(parentStyle.GetLineHeight(), parentStyle.HasHeightOverride()); in CheckAndSetCurrentSpanStyle()
|
H A D | dom_text.cpp | 92 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 D | typography.h | 61 double GetLineHeight(int lineNumber) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_skeleton_params.h | 125 float GetLineHeight() const in GetLineHeight() function
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography.h | 148 virtual double GetLineHeight(int lineNumber) = 0;
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/ |
H A D | js_paragraph.h | 48 static napi_value GetLineHeight(napi_env env, napi_callback_info info);
|
H A D | js_paragraph.cpp | 82 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 D | selection_info.h | 85 lineHeight = style.GetLineHeight().ConvertToPx(); in SymbolSpanStyle()
|
H A D | rich_editor_event_hub.cpp | 164 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 D | typography_test.cpp | 168 EXPECT_EQ(typography->GetLineHeight(0) == 0.0, true);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | span_object.cpp | 782 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 D | text_layout_property.cpp | 109 json->PutExtAttr("lineHeight", GetLineHeight().value_or(0.0_vp).ToString().c_str(), filter); in ToJsonValue()
|
H A D | text_model_ng.h | 142 static float GetLineHeight(FrameNode* frameNode);
|
H A D | multiple_paragraph_layout_algorithm.cpp | 335 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 D | text_overlay_component.h | 86 double GetLineHeight() const;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_decoration_test_ng.cpp | 243 EXPECT_EQ(textFieldLayoutProperty->GetLineHeight(), 2.0_fp);
|