Searched refs:weightStr (Results 1 – 5 of 5) sorted by relevance
30 std::string weightStr(weight); in ConvertStrToFontWeight() local31 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
32 std::string weightStr(weight); in ConvertStrToFontWeight() local33 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
52 std::string weightStr(weight); in ConvertStrToFontWeight() local53 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
79 std::string weightStr(weight); in ConvertStrToFontWeight() local80 return StringUtils::StringToFontWeight(weightStr, defaultFontWeight); in ConvertStrToFontWeight()
133 auto weightStr = threeArg->ToString(vm)->ToString(vm); in SetTextFont() local134 …lue.fontWeight = static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr)); in SetTextFont()138 auto weightStr = std::to_string(threeArg->Int32Value(vm)); in SetTextFont() local140 …static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr, FontWeight::W400)… in SetTextFont()423 auto weightStr = threeArg->ToString(vm)->ToString(vm); in SetPlaceholderFont() local424 …lue.fontWeight = static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr)); in SetPlaceholderFont()428 auto weightStr = std::to_string(threeArg->Int32Value(vm)); in SetPlaceholderFont() local430 …static_cast<ArkUI_Int32>(OHOS::Ace::Framework::ConvertStrToFontWeight(weightStr, FontWeight::W400)… in SetPlaceholderFont()