Home
last modified time | relevance | path

Searched refs:GetLineHeight (Results 1 - 25 of 69) sorted by relevance

123

/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()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtext_composed_element.cpp30 { "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 Dtext_composed_element.h51 std::string GetLineHeight() const;
/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()
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 Dtext_drag_base.h41 virtual float GetLineHeight() const = 0;
H A Dtext_drag_pattern.h132 float GetLineHeight() const in GetLineHeight() function in OHOS::Ace::NG::TextDragPattern
H A Dtext_drag_pattern.cpp174 auto lineHeight = GetLineHeight(); in GenerateClipPath()
226 auto lineHeight = GetLineHeight(); in GenerateBackgroundPoints()
/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.cpp82 spanStyle.SetLineHeight(textStyle.GetLineHeight(), textStyle.HasHeightOverride()); in CheckAndSetChildStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_accessibility_test_ng.cpp256 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 Ddom_span.cpp81 currentStyle.SetLineHeight(parentStyle.GetLineHeight(), parentStyle.HasHeightOverride()); in CheckAndSetCurrentSpanStyle()
H A Ddom_text.cpp92 spanStyle.SetLineHeight(textStyle.GetLineHeight(), textStyle.HasHeightOverride()); in CheckAndSetSpanStyle()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dtypography.h62 double GetLineHeight(int lineNumber) override;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_skeleton_params.h125 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 Dtypography.h149 virtual double GetLineHeight(int lineNumber) = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Dselection_info.h86 lineHeight = style.GetLineHeight().ConvertToPx(); in SymbolSpanStyle()
H A Drich_editor_event_hub.cpp163 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 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()
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 Dtext_overlay_component.h86 double GetLineHeight() const;
/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_decoration_test_ng.cpp243 EXPECT_EQ(textFieldLayoutProperty->GetLineHeight(), 2.0_fp); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_property.cpp105 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 Dtypography_test.cpp168 EXPECT_EQ(typography->GetLineHeight(0), 0.0); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.cpp773 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 Djs_span_object.h242 void GetLineHeight(const JSCallbackInfo& info);

Completed in 19 milliseconds

123