Home
last modified time | relevance | path

Searched refs:GetFontSize (Results 1 - 25 of 254) sorted by relevance

1234567891011

/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtexttimer_composed_element.cpp30 { "fontSize", [](const TextTimerComposedElement& inspector) { return inspector.GetFontSize(); } },
45 DumpLog::GetInstance().AddDesc(std::string("fontSize : ").append(GetFontSize())); in Dump()
47 DumpLog::GetInstance().AddDesc(std::string("fontStyle : ").append(GetFontSize())); in Dump()
48 DumpLog::GetInstance().AddDesc(std::string("fontFamily : ").append(GetFontSize())); in Dump()
94 std::string TextTimerComposedElement::GetFontSize() const in GetFontSize() function in OHOS::Ace::V2::TextTimerComposedElement
98 render ? render->GetTextStyle().GetFontSize() : Dimension(); in GetFontSize()
H A Dmarquee_composed_element.cpp28 { "fontSize", [](const MarqueeComposedElement& inspector) { return inspector.GetFontSize(); } },
96 std::string MarqueeComposedElement::GetFontSize() const in GetFontSize() function in OHOS::Ace::V2::MarqueeComposedElement
99 auto fontSize = render ? render->GetTextStyle().GetFontSize() : Dimension(); in GetFontSize()
H A Dbutton_composed_element.cpp29 { "fontSize", [](const ButtonComposedElement& inspector) { return inspector.GetFontSize(); } },
82 std::string ButtonComposedElement::GetFontSize() const in GetFontSize() function in OHOS::Ace::V2::ButtonComposedElement
92 auto fontSize = render ? render->GetTextStyle().GetFontSize() : Dimension(); in GetFontSize()
H A Dmarquee_composed_element.h40 std::string GetFontSize() const;
H A Dtexttimer_composed_element.h41 std::string GetFontSize () const;
H A Dbutton_composed_element.h38 std::string GetFontSize() const;
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_spannable_string_unit_test.cpp309 * @tc.desc: Verify SetFontSize function, must trust GetFontSize is OK, then verify SetFontSize, capability, equal.
321 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
343 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
348 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
370 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
392 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
414 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
436 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
459 spannableString_->GetFontSize(i, tempFontSize); in HWTEST_F()
464 spannableString_->GetFontSize( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.cpp117 if (property->GetFontSize().has_value()) { in Init()
120 defaultFontSize_ = theme->GetFontSize(); in Init()
182 Dimension fontSize = (property->GetFontSize().has_value()) ? property->GetFontSize().value() : defaultFontSize_; in ChooseExactFontSize()
234 if (!textProp->GetFontSize().has_value()) { in GetCurrentTextSize()
240 currentTextSize = GetMeasureTextSize(textProp->GetContent().value(), textProp->GetFontSize().value(), in GetCurrentTextSize()
245 currentFontSize = textProp->GetFontSize().value(); in GetCurrentTextSize()
265 auto tempSize = GetMeasureTextSize(textProp->GetContent().value(), textProp->GetFontSize().value(), in TryShrinkTextWidth()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_date_picker_theme.h39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme()
45 textStyle.fontSize = disappearStyle.GetFontSize(); in ApplyTheme()
51 textStyle.fontSize = normalStyle.GetFontSize(); in ApplyTheme()
H A Djs_text_picker_theme.h39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme()
45 textStyle.fontSize = disappearStyle.GetFontSize(); in ApplyTheme()
51 textStyle.fontSize = normalStyle.GetFontSize(); in ApplyTheme()
H A Djs_time_picker_theme.h39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme()
45 textStyle.fontSize = disappearStyle.GetFontSize(); in ApplyTheme()
51 textStyle.fontSize = normalStyle.GetFontSize(); in ApplyTheme()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_prop_convertor.cpp243 rsTextStyle.fontSize_ = context->NormalizeToPx(textStyle.GetFontSize()); in ToRSTextStyle()
245 rsTextStyle.fontSize = context->NormalizeToPx(textStyle.GetFontSize()); in ToRSTextStyle()
247 if (textStyle.IsAllowScale() || textStyle.GetFontSize().Unit() == DimensionUnit::FP) { in ToRSTextStyle()
249 rsTextStyle.fontSize_ = context->NormalizeToPx(textStyle.GetFontSize() * context->GetFontScale()); in ToRSTextStyle()
251 rsTextStyle.fontSize = context->NormalizeToPx(textStyle.GetFontSize() * context->GetFontScale()); in ToRSTextStyle()
256 rsTextStyle.fontSize_ = textStyle.GetFontSize().Value(); in ToRSTextStyle()
258 rsTextStyle.fontSize = textStyle.GetFontSize().Value(); in ToRSTextStyle()
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Doption_component.cpp92 textStyle.SetFontSize(GetFontSize()); in Initialize()
102 textStyle.SetFontSize(GetFontSize()); in Initialize()
116 textStyle.SetAdaptTextSize(textStyle.GetFontSize(), Dimension(minFontSize, DimensionUnit::FP)); in Initialize()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_symbol_span.cpp58 CalcDimension fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
60 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
65 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
H A Djs_symbol.cpp90 CalcDimension fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
92 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
97 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/
H A Dhyperlink_model_ng.cpp58 textLayoutProperty->UpdateFontSize(textStyle.GetFontSize()); in SetTextStyle()
63 textLayoutProperty->UpdateAdaptMaxFontSize(textStyle.GetFontSize()); in SetTextStyle()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_span.cpp54 currentStyle.SetFontSize(parentStyle.GetFontSize()); in CheckAndSetCurrentSpanStyle()
129 if (specializedStyle.spanStyle.GetFontSize().Unit() == DimensionUnit::FP) { in PrepareSpecializedComponent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_patternMore_test_ng.cpp193 ASSERT_TRUE(textProperty->GetFontSize().has_value()); in CheckTestResult()
194 EXPECT_EQ(textProperty->GetFontSize().value(), Dimension(TARGET_FONT)); in CheckTestResult()
206 ASSERT_TRUE(labelProperty->GetFontSize().has_value()); in CheckTestResult()
207 EXPECT_EQ(labelProperty->GetFontSize().value(), Dimension(TARGET_FONT)); in CheckTestResult()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/
H A Dtext_clock_model_ng.cpp111 if (!textClockLayoutProperty->GetFontSize().has_value()) { in InitFontDefault()
112 SetFontSize(textStyle.GetFontSize()); in InitFontDefault()
229 if (!textClockLayoutProperty->GetFontSize().has_value()) { in InitFontDefault()
230 SetFontSize(frameNode, textStyle.GetFontSize()); in InitFontDefault()
/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Dmarquee_theme.h69 const Dimension& GetFontSize() const in GetFontSize() function in OHOS::Ace::MarqueeTheme
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_model_ng.cpp368 DataPickerRowLayoutProperty, DisappearFontSize, pickerTextStyle.fontSize, frameNode, style.GetFontSize());
389 ConvertFontScaleValue(disappearStyle.GetFontSize()));
411 DataPickerRowLayoutProperty, FontSize, pickerTextStyle.fontSize, frameNode, style.GetFontSize());
432 ConvertFontScaleValue(normalStyle.GetFontSize()));
454 DataPickerRowLayoutProperty, SelectedFontSize, pickerTextStyle.fontSize, frameNode, style.GetFontSize());
475 ConvertFontScaleValue(selectedStyle.GetFontSize()));
492 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode);
505 ConvertFontScaleValue(disappearStyle.GetFontSize()), frameNode);
517 ConvertFontScaleValue(normalStyle.GetFontSize()), frameNode);
711 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNod
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_model_ng.cpp292 ConvertFontScaleValue(disappearStyle.GetFontSize()));
312 ConvertFontScaleValue(normalStyle.GetFontSize()));
332 ConvertFontScaleValue(selectedStyle.GetFontSize()));
493 ConvertFontScaleValue(disappearStyle.GetFontSize()), frameNode);
518 ConvertFontScaleValue(normalStyle.GetFontSize()), frameNode);
541 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode);
560 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode);
571 ConvertFontScaleValue(disappearStyle.GetFontSize()), frameNode);
583 ConvertFontScaleValue(normalStyle.GetFontSize()), frameNode);
643 TimePickerLayoutProperty, DisappearFontSize, pickerTextStyle.fontSize, frameNode, style.GetFontSize());
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/input/
H A Ddom_button_util.cpp42 textStyle.SetAdaptTextSize(textStyle.GetFontSize(), theme->GetMinFontSize()); in InitDefaultValue()
223 if (parentStyle.GetFontSize() != theme->GetTextStyle().GetFontSize()) { in SetChildStyle()
224 parentStyle.SetAdaptTextSize(parentStyle.GetFontSize(), parentStyle.GetFontSize()); in SetChildStyle()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_arc_label.cpp277 arcLabelText_->GetFontSize(), arcTextInfo, offsetAngle_, in DrawArcText()
308 GetArcTextRect(arcLabelText_->GetText(), arcLabelText_->GetFontId(), arcLabelText_->GetFontSize(), in ReMeasure()
333 arcLabelText_->GetFontSize(), style_->letterSpace_, maxLength); in GetLineEnd()
342 uint16_t letterHeight = UIFont::GetInstance()->GetHeight(arcLabelText_->GetFontId(), arcLabelText_->GetFontSize()); in MeasureArcTextInfo()
421 arcLabelText_->GetFontSize(), (arcTextInfo_.lineEnd - arcTextInfo_.lineStart), in GetArcLength()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_layout_property.cpp65 auto defaultFontSize = indexerTheme->GetPopupTextStyle().GetFontSize(); in ToJsonValue()
80 fontJsonObject->Put("fontSize", textStyle.GetFontSize().ToString().c_str()); in ToJsonObjectValue()

Completed in 12 milliseconds

1234567891011