/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | texttimer_composed_element.cpp | 30 { "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 D | marquee_composed_element.cpp | 28 { "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 D | button_composed_element.cpp | 29 { "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 D | marquee_composed_element.h | 40 std::string GetFontSize() const;
|
H A D | texttimer_composed_element.h | 41 std::string GetFontSize () const;
|
H A D | button_composed_element.h | 38 std::string GetFontSize() const;
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_spannable_string_unit_test.cpp | 309 * @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 D | security_component_layout_element.cpp | 117 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 D | js_date_picker_theme.h | 39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme() 45 textStyle.fontSize = disappearStyle.GetFontSize(); in ApplyTheme() 51 textStyle.fontSize = normalStyle.GetFontSize(); in ApplyTheme()
|
H A D | js_text_picker_theme.h | 39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme() 45 textStyle.fontSize = disappearStyle.GetFontSize(); in ApplyTheme() 51 textStyle.fontSize = normalStyle.GetFontSize(); in ApplyTheme()
|
H A D | js_time_picker_theme.h | 39 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 D | drawing_prop_convertor.cpp | 243 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 D | option_component.cpp | 92 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 D | js_symbol_span.cpp | 58 CalcDimension fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize() 60 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize() 65 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
|
H A D | js_symbol.cpp | 90 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 D | hyperlink_model_ng.cpp | 58 textLayoutProperty->UpdateFontSize(textStyle.GetFontSize()); in SetTextStyle() 63 textLayoutProperty->UpdateAdaptMaxFontSize(textStyle.GetFontSize()); in SetTextStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_span.cpp | 54 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 D | menu_patternMore_test_ng.cpp | 193 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 D | text_clock_model_ng.cpp | 111 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 D | marquee_theme.h | 69 const Dimension& GetFontSize() const in GetFontSize() function in OHOS::Ace::MarqueeTheme
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_model_ng.cpp | 368 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 D | timepicker_model_ng.cpp | 292 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 D | dom_button_util.cpp | 42 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 D | ui_arc_label.cpp | 277 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 D | indexer_layout_property.cpp | 65 auto defaultFontSize = indexerTheme->GetPopupTextStyle().GetFontSize(); in ToJsonValue() 80 fontJsonObject->Put("fontSize", textStyle.GetFontSize().ToString().c_str()); in ToJsonObjectValue()
|