Home
last modified time | relevance | path

Searched refs:weightStr (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_symbol_span_modifier.cpp30 std::string weightStr(weight); in ConvertStrToFontWeight() local
31 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
H A Dnode_symbol_glyph_modifier.cpp32 std::string weightStr(weight); in ConvertStrToFontWeight() local
33 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
H A Dtext_modifier.cpp52 std::string weightStr(weight); in ConvertStrToFontWeight() local
53 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
H A Dnode_text_modifier.cpp79 std::string weightStr(weight); in ConvertStrToFontWeight() local
80 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_search_bridge.cpp133 auto weightStr = threeArg->ToString(vm)->ToString(vm); in SetTextFont() local
134 …lue.fontWeight = static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr)); in SetTextFont()
138 auto weightStr = std::to_string(threeArg->Int32Value(vm)); in SetTextFont() local
140 …static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr, FontWeight::W400)… in SetTextFont()
423 auto weightStr = threeArg->ToString(vm)->ToString(vm); in SetPlaceholderFont() local
424 …lue.fontWeight = static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr)); in SetPlaceholderFont()
428 auto weightStr = std::to_string(threeArg->Int32Value(vm)); in SetPlaceholderFont() local
430 …static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr, FontWeight::W400)… in SetPlaceholderFont()