Home
last modified time | relevance | path

Searched refs:GetFontFamily (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Doption_component.h70 SetFontFamily(theme->GetFontFamily()); in SetTheme()
173 const std::string& GetFontFamily() const in GetFontFamily() function
175 return theme_->GetFontFamily(); in GetFontFamily()
H A Doption_component.cpp98 StringUtils::StringSplitter(GetFontFamily(), ',', fontFamilies); in Initialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtexttimer_composed_element.cpp35 …{ "fontfamily", [](const TextTimerComposedElement& inspector) { return inspector.GetFontFamily(); … in __anon977ee0c20902()
120 std::string TextTimerComposedElement::GetFontFamily() const in GetFontFamily() function in OHOS::Ace::V2::TextTimerComposedElement
H A Dtexttimer_composed_element.h44 std::string GetFontFamily() const;
/ohos5.0/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_caption.cpp82 const std::string &CaptionProperty::GetFontFamily() const in GetFontFamily() function in OHOS::AccessibilityConfig::CaptionProperty
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_property.h140 if (GetFontFamily().has_value()) { in InspectorGetTextFont()
141 font.SetFontFamilies(GetFontFamily().value()); in InspectorGetTextFont()
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_caption.h51 const std::string &GetFontFamily() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_component.h179 const std::string& GetFontFamily() const in GetFontFamily() function
181 return theme_->GetFontFamily(); in GetFontFamily()
H A Dselect_component.cpp105 StringUtils::StringSplitter(theme_->GetFontFamily(), ',', fontFamilies); in Initialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/chart/
H A Drender_chart.cpp51 for (const auto& familyName : mainCharts_[0].GetFontFamily()) { in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/
H A Dtext_clock_model_ng.cpp122 if (!textClockLayoutProperty->GetFontFamily().has_value()) { in InitFontDefault()
240 if (!textClockLayoutProperty->GetFontFamily().has_value()) { in InitFontDefault()
H A Dtext_clock_layout_property.cpp107 ConvertFontFamily(GetFontFamily().value_or(std::vector<std::string>())).c_str(), filter); in ToJsonValue()
H A Dtext_clock_pattern.cpp131 …if (layoutProperty->GetFontFamily().has_value() && !layoutProperty->GetFontFamily().value().empty(… in UpdateTextLayoutProperty()
132 textLayoutProperty->UpdateFontFamily(layoutProperty->GetFontFamily().value()); in UpdateTextLayoutProperty()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/
H A Dtext_timer_layout_property.cpp85 ConvertFontFamily(GetFontFamily().value_or(std::vector<std::string>())).c_str(), filter); in ToJsonValue()
H A Dtext_timer_pattern.cpp146 if (layoutProperty->GetFontFamily().has_value()) { in UpdateTextLayoutProperty()
147 textLayoutProperty->UpdateFontFamily(layoutProperty->GetFontFamily().value()); in UpdateTextLayoutProperty()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_timer/
H A Dtext_timer_test_ng.cpp177 EXPECT_EQ(textTimerLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
182 EXPECT_EQ(textTimerLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
425 EXPECT_EQ(textLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
741 EXPECT_EQ(textTimerLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_option.cpp50 selectOptionComponent_->SetFontFamily(theme_->GetFontFamily()); in ResetInitializedStyle()
H A Ddom_select.cpp62 selectComponent_->SetFontFamily(theme_->GetFontFamily()); in InitializeStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/
H A Doption_pattern.h105 std::vector<std::string> GetFontFamily();
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng.cpp320 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
457 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
515 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
768 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
906 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
964 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
1196 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
1333 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
1391 auto fontFamily = textProp->GetFontFamily().value_or(emptyVec);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_clock/
H A Dtext_clock_test_ng.cpp181 EXPECT_EQ(textClockLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
536 EXPECT_EQ(textLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
830 EXPECT_EQ(layoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
841 EXPECT_EQ(layoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_layout_test_ng.cpp214 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), defaultFont.GetFontFamilies());
221 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), selectedFont.GetFontFamilies());
229 EXPECT_EQ(letterLayoutProperty->GetFontFamily(), popupTextFont.GetFontFamilies());
255 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), fontFamily);
261 EXPECT_EQ(itemLayoutProperty->GetFontFamily(), fontFamily);
268 EXPECT_EQ(letterLayoutProperty->GetFontFamily(), fontFamily);
/ohos5.0/foundation/barrierfree/accessibility/frameworks/acfwk/test/unittest/
H A Daccessibility_config_impl_test.cpp90 EXPECT_STREQ(value.GetFontFamily().c_str(), "default");
497 EXPECT_STREQ(caption.GetFontFamily().c_str(), value.GetFontFamily().c_str());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_paint_property.cpp104 std::vector<std::string> fontFamilyVector = GetFontFamily().value_or(defaultFamily); in ToJsonValueForCapsule()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/
H A Dmarquee_test_ng.cpp191 EXPECT_EQ(marqueeLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);
1118 EXPECT_EQ(marqueeLayoutProperty->GetFontFamily(), fontFamily);
1181 EXPECT_EQ(marqueeLayoutProperty->GetFontFamily(), fontFamily);
1268 EXPECT_EQ(textLayoutProperty->GetFontFamily().value(), fontFamily);
1653 EXPECT_EQ(marqueeLayoutProperty->GetFontFamily(), FONT_FAMILY_VALUE);

1234