/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()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | text_composed_element.cpp | 30 { "lineHeight", [](const TextComposedElement& inspector) { return inspector.GetLineHeight(); } }, 50 DumpLog::GetInstance().AddDesc(std::string("lineHeight: ").append(GetLineHeight())); in Dump() 93 std::string TextComposedElement::GetLineHeight() const in GetLineHeight() function in OHOS::Ace::V2::TextComposedElement 97 renderText ? renderText->GetTextStyle().GetLineHeight() : Dimension(); in GetLineHeight()
|
H A D | text_composed_element.h | 51 std::string GetLineHeight() const;
|
/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() 555 lineHeight = pipelineContext->NormalizeToPx(textStyle.GetLineHeight()); 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() in ConvertTxtStyle() [all...] |
/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 | 132 float GetLineHeight() const in GetLineHeight() function in OHOS::Ace::NG::TextDragPattern
|
H A D | text_drag_pattern.cpp | 174 auto lineHeight = GetLineHeight(); in GenerateClipPath() 226 auto lineHeight = GetLineHeight(); in GenerateBackgroundPoints()
|
/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 | 82 spanStyle.SetLineHeight(textStyle.GetLineHeight(), textStyle.HasHeightOverride()); in CheckAndSetChildStyle()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_accessibility_test_ng.cpp | 256 EXPECT_EQ(textLineStyle->GetLineHeight(), LINE_HEIGHT_VALUE);
in HWTEST_F() 324 EXPECT_EQ(textLineStyle->GetLineHeight(), LINE_HEIGHT_VALUE);
in HWTEST_F() 441 EXPECT_EQ(textLineStyle->GetLineHeight(), LINE_HEIGHT_VALUE);
in HWTEST_F()
|
/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()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.h | 62 double GetLineHeight(int lineNumber) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_skeleton_params.h | 125 float GetLineHeight() const in GetLineHeight() function in OHOS::Ace::NG::FormSkeletonParams
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography.h | 149 virtual double GetLineHeight(int lineNumber) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | selection_info.h | 86 lineHeight = style.GetLineHeight().ConvertToPx(); in SymbolSpanStyle()
|
H A D | rich_editor_event_hub.cpp | 163 double RichEditorAbstractSpanResult::GetLineHeight() const in GetLineHeight() function in OHOS::Ace::NG::RichEditorAbstractSpanResult
|
/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() 494 napi_value JsParagraph::GetLineHeight(napi_env env, napi_callback_info info) in GetLineHeight() function in OHOS::Rosen::JsParagraph 518 double lineHeight = paragraph_->GetLineHeight(lineNumber); in OnGetLineHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_component.h | 86 double GetLineHeight() const;
|
/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); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_layout_property.cpp | 105 json->PutExtAttr("lineHeight", GetLineHeight().value_or(0.0_vp).ToString().c_str(), filter); in ToJsonValue()
|
/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); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | span_object.cpp | 773 RefPtr<SpanBase> spanBase = MakeRefPtr<LineHeightSpan>(GetLineHeight(), start, end); in GetSubSpan() 787 Dimension LineHeightSpan::GetLineHeight() const in GetLineHeight() function in OHOS::Ace::LineHeightSpan 815 auto lineHeight = lineHeightSpan->GetLineHeight(); in IsAttributesEqual()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_object.h | 242 void GetLineHeight(const JSCallbackInfo& info);
|