/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_symbol_glyph_modifier.cpp | 100 SymbolModelNG::SetFontWeight(frameNode, ConvertStrToFontWeight(weight)); in SetFontWeightStr() 103 void SetFontWeight(ArkUINodeHandle node, ArkUI_Int32 weight) in SetFontWeight() function 107 SymbolModelNG::SetFontWeight(frameNode, ConvertIntToFontWeight(weight)); in SetFontWeight() 114 SymbolModelNG::SetFontWeight(frameNode, Ace::FontWeight::NORMAL); in ResetFontWeight() 169 SetFontWeight, in GetSymbolGlyphModifier() 190 SetFontWeight, in GetCJUISymbolGlyphModifier()
|
H A D | text_timer_modifier.cpp | 74 void SetFontWeight(ArkUINodeHandle node, ArkUI_CharPtr fontWeight) in SetFontWeight() function 79 TextTimerModelNG::SetFontWeight(frameNode, Framework::ConvertStrToFontWeight(fontWeightStr)); in SetFontWeight() 86 TextTimerModelNG::SetFontWeight(frameNode, DEFAULT_FONT_WEIGHT); in ResetFontWeight() 190 TextTimerModifier::SetFontWeight, in GetTextTimerModifier() 213 TextTimerModifier::SetFontWeight, in GetCJUITextTimerModifier()
|
H A D | node_symbol_span_modifier.cpp | 80 SymbolSpanModelNG::SetFontWeight(frameNode, ConvertStrToFontWeight(weight)); in SetSymbolSpanFontWeightStr() 87 SymbolSpanModelNG::SetFontWeight(frameNode, static_cast<FontWeight>(weight)); in SetSymbolSpanFontWeight() 94 SymbolSpanModelNG::SetFontWeight(frameNode, Ace::FontWeight::NORMAL); in ResetSymbolSpanFontWeight()
|
H A D | text_clock_modifier.cpp | 89 void SetFontWeight(ArkUINodeHandle node, ArkUI_CharPtr fontWeight) in SetFontWeight() function 94 TextClockModelNG::SetFontWeight(frameNode, Framework::ConvertStrToFontWeight(fontWeightStr)); in SetFontWeight() 101 TextClockModelNG::SetFontWeight(frameNode, DEFAULT_FONT_WEIGHT); in ResetFontWeight() 204 TextClockModifier::SetFontWeight, in GetTextClockModifier() 231 TextClockModifier::SetFontWeight, in GetCJUITextClockModifier()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | symbol_span_model_ng.h | 30 void SetFontWeight(FontWeight value) override; 36 static void SetFontWeight(FrameNode* frameNode, FontWeight value);
|
H A D | symbol_span_model_ng.cpp | 51 void SymbolSpanModelNG::SetFontWeight(Ace::FontWeight value) in SetFontWeight() function in OHOS::Ace::NG::SymbolSpanModelNG 78 void SymbolSpanModelNG::SetFontWeight(FrameNode* frameNode, FontWeight value) in SetFontWeight() function in OHOS::Ace::NG::SymbolSpanModelNG
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/symbol/ |
H A D | symbol_model_ng.h | 27 void SetFontWeight(const Ace::FontWeight& value) override; 38 static void SetFontWeight(FrameNode* frameNode, Ace::FontWeight value);
|
H A D | symbol_model_ng.cpp | 41 void SymbolModelNG::SetFontWeight(const Ace::FontWeight& value) in SetFontWeight() function in OHOS::Ace::NG::SymbolModelNG 97 void SymbolModelNG::SetFontWeight(FrameNode* frameNode, Ace::FontWeight value) in SetFontWeight() function in OHOS::Ace::NG::SymbolModelNG
|
/foundation/arkui/ace_engine/frameworks/core/components/option/ |
H A D | option_component.cpp | 34 theme_->SetFontWeight(FontWeight::W400); in OptionComponent() 48 theme_->SetFontWeight(FontWeight::W400); in InitTheme() 103 textStyle.SetFontWeight(GetFontWeight()); in Initialize()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_symbol_span.cpp | 71 void JSSymbolSpan::SetFontWeight(const std::string& value) in SetFontWeight() function in OHOS::OHOS::Ace::Framework::JSSymbolSpan 73 SymbolSpanModel::GetInstance()->SetFontWeight(ConvertStrToFontWeight(value)); in SetFontWeight() 116 JSClass<JSSymbolSpan>::StaticMethod("fontWeight", &JSSymbolSpan::SetFontWeight, opt); in JSBind()
|
H A D | js_symbol_span.h | 32 static void SetFontWeight(const std::string& value);
|
H A D | js_texttimer.cpp | 110 JSClass<JSTextTimer>::StaticMethod("fontWeight", &JSTextTimer::SetFontWeight, opt); in JSBind() 130 TextTimerModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontDefault() 223 void JSTextTimer::SetFontWeight(const JSCallbackInfo& info) in SetFontWeight() function in OHOS::OHOS::Ace::Framework::JSTextTimer 232 TextTimerModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontWeight() 243 TextTimerModel::GetInstance()->SetFontWeight(ConvertStrToFontWeight(weight)); in SetFontWeight() 245 TextTimerModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontWeight()
|
H A D | js_symbol.cpp | 56 JSClass<JSSymbol>::StaticMethod("fontWeight", &JSSymbol::SetFontWeight, opt); in JSBind() 103 void JSSymbol::SetFontWeight(const std::string& value) in SetFontWeight() function in OHOS::OHOS::Ace::Framework::JSSymbol 105 SymbolModel::GetInstance()->SetFontWeight(ConvertStrToFontWeight(value)); in SetFontWeight()
|
H A D | js_sec_button_base.cpp | 82 void JSSecButtonBase::SetFontWeight(const JSCallbackInfo& info) in SetFontWeight() function in OHOS::Ace::Framework::JSSecButtonBase 85 SecurityComponentModelNG::SetFontWeight(FontWeight::MEDIUM); in SetFontWeight() 89 SecurityComponentModelNG::SetFontWeight(ConvertStrToFontWeight(value)); in SetFontWeight()
|
H A D | js_symbol.h | 29 static void SetFontWeight(const std::string& info);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_test_ng.cpp | 141 spanModelNG.SetFontWeight(FontWeight::LIGHTER); in HWTEST_F() 143 spanModelNG.SetFontWeight(FontWeight::REGULAR); in HWTEST_F() 145 spanModelNG.SetFontWeight(FontWeight::NORMAL); in HWTEST_F() 147 spanModelNG.SetFontWeight(FontWeight::MEDIUM); in HWTEST_F() 149 spanModelNG.SetFontWeight(FontWeight::BOLD); in HWTEST_F() 151 spanModelNG.SetFontWeight(FontWeight::BOLDER); in HWTEST_F() 153 spanModelNG.SetFontWeight(FontWeight::W100); in HWTEST_F() 663 spanModelNG.SetFontWeight(FontWeight::NORMAL); in HWTEST_F() 676 spanModelNG.SetFontWeight(FontWeight::BOLD); in HWTEST_F() 949 symbolSpanModelNG.SetFontWeight(FontWeigh in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/ |
H A D | marquee_model_ng.h | 32 void SetFontWeight(const std::optional<FontWeight>& fontWeight) override; 42 static void SetFontWeight(FrameNode* frameNode, const std::optional<FontWeight>& fontWeight);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_model_ng.h | 26 void SetFontWeight(FontWeight weight) override; 41 static void SetFontWeight(FrameNode* frameNode, FontWeight weight);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_model_ng.h | 31 void SetFontWeight(FontWeight weight) override; 51 static void SetFontWeight(FrameNode* frameNode, FontWeight weight);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | text_clock_model_impl.cpp | 81 void TextClockModelImpl::SetFontWeight(FontWeight value) in SetFontWeight() function in OHOS::Ace::Framework::TextClockModelImpl 87 textStyle.SetFontWeight(value); in SetFontWeight()
|
H A D | text_timer_model_impl.cpp | 87 void TextTimerModelImpl::SetFontWeight(FontWeight value) in SetFontWeight() function in OHOS::Ace::Framework::TextTimerModelImpl 93 textStyle.SetFontWeight(value); in SetFontWeight()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/ |
H A D | text_timer_model_ng.h | 51 void SetFontWeight(FontWeight value) override; 60 static void SetFontWeight(FrameNode* frameNode, FontWeight value);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/ |
H A D | text_clock_model_ng.h | 43 void SetFontWeight(FontWeight value) override; 57 static void SetFontWeight(FrameNode* frameNode, FontWeight value);
|
H A D | text_clock_model_ng.cpp | 95 void TextClockModelNG::SetFontWeight(FontWeight value) in SetFontWeight() function in OHOS::Ace::NG::TextClockModelNG 115 SetFontWeight(textStyle.GetFontWeight()); in InitFontDefault() 206 void TextClockModelNG::SetFontWeight(FrameNode* frameNode, FontWeight value) in SetFontWeight() function in OHOS::Ace::NG::TextClockModelNG 233 SetFontWeight(frameNode, textStyle.GetFontWeight()); in InitFontDefault()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_clock/ |
H A D | text_clock_pattern_test_ng.cpp | 91 textStyle.SetFontWeight(FontWeight::W800); in SetUpTestSuite() 172 model.SetFontWeight(FONT_WEIGHT_VALUE); in HWTEST_F() 213 model.SetFontWeight(FONT_WEIGHT_VALUE); in HWTEST_F() 331 model.SetFontWeight(FONT_WEIGHT_VALUE); in HWTEST_F()
|