Searched refs:fontWeightValue (Results 1 – 14 of 14) sorted by relevance
488 auto fontWeightValue = (static_cast<int32_t>( in ConvertTxtStyle() local492 fontWeightValue = fontWeightValue * pipelineContext->GetFontWeightScale(); in ConvertTxtStyle()495 fontWeightValue = textStyle.GetVariableFontWeight(); in ConvertTxtStyle()496 …if (LessNotEqual(fontWeightValue, MIN_FONT_WEIGHT) || GreatNotEqual(fontWeightValue, MAX_FONT_WEIG… in ConvertTxtStyle()497 fontWeightValue = DEFAULT_FONT_WEIGHT; in ConvertTxtStyle()500 txtStyle.fontVariations.SetAxisValue(FONTWEIGHT, fontWeightValue); in ConvertTxtStyle()719 auto fontWeightValue = (static_cast<int32_t>( in ConvertTxtStyle() local723 fontWeightValue = fontWeightValue * pipelineContext->GetFontWeightScale(); in ConvertTxtStyle()726 fontWeightValue = textStyle.GetVariableFontWeight(); in ConvertTxtStyle()727 …if (LessNotEqual(fontWeightValue, MIN_FONT_WEIGHT) || GreatNotEqual(fontWeightValue, MAX_FONT_WEIG… in ConvertTxtStyle()[all …]
111 JSRef<JSVal> fontWeightValue = value->GetProperty("fontWeight"); in CreateBadgeParameters() local180 if (fontWeightValue->IsNumber()) { in CreateBadgeParameters()181 fontWeight = std::to_string(fontWeightValue->ToNumber<int32_t>()); in CreateBadgeParameters()183 if (!ParseJsString(fontWeightValue, fontWeight)) { in CreateBadgeParameters()
833 auto fontWeightValue = fontObj->GetProperty(static_cast<int32_t>(ArkUIIndex::WEIGHT)); in SetPopupMessageOptions() local834 if (fontWeightValue->IsString()) { in SetPopupMessageOptions()836 popupParam->SetFontWeight(ConvertStrToFontWeight(fontWeightValue->ToString())); in SetPopupMessageOptions()
104 if (textProperty.fontWeightValue.has_value()) { in SetTextProperty()105 textModel.SetFontWeight(textProperty.fontWeightValue.value()); in SetTextProperty()
34 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt; member
192 if (testProperty.fontWeightValue.has_value()) { in CreateTextParagraph()193 textModel.SetFontWeight(testProperty.fontWeightValue.value()); in CreateTextParagraph()
187 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt; member
1057 testProperty.fontWeightValue = std::make_optional(FONT_WEIGHT_VALUE);
63 testProperty.fontWeightValue = std::make_optional(FONT_WEIGHT_VALUE);
79 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt; member226 if (testProperty.fontWeightValue.has_value()) { in CreateLabelButtonParagraph()227 buttonModelNG.SetFontWeight(testProperty.fontWeightValue.value()); in CreateLabelButtonParagraph()268 if (testProperty.fontWeightValue.has_value()) { in CreateChildButtonParagraph()269 buttonModelNG.SetFontWeight(testProperty.fontWeightValue.value()); in CreateChildButtonParagraph()
97 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt; member254 if (testProperty.fontWeightValue.has_value()) { in CreateLabelButtonParagraph()255 buttonModelNG.SetFontWeight(testProperty.fontWeightValue.value()); in CreateLabelButtonParagraph()296 if (testProperty.fontWeightValue.has_value()) { in CreateChildButtonParagraph()297 buttonModelNG.SetFontWeight(testProperty.fontWeightValue.value()); in CreateChildButtonParagraph()422 testProperty.fontWeightValue = std::make_optional(BUTTON_BOLD_FONT_WEIGHT_VALUE);
84 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt; member
61 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt; member
643 auto fontWeightValue = (static_cast<int32_t>( in MeasureTextInner() local647 fontWeightValue = fontWeightValue * pipelineContext->GetFontWeightScale(); in MeasureTextInner()649 txtStyle.fontVariations.SetAxisValue(FONTWEIGHT, fontWeightValue); in MeasureTextInner()777 auto fontWeightValue = (static_cast<int32_t>( in MeasureTextSizeInner() local781 fontWeightValue = fontWeightValue * pipelineContext->GetFontWeightScale(); in MeasureTextSizeInner()783 txtStyle.fontVariations.SetAxisValue(FONTWEIGHT, fontWeightValue); in MeasureTextSizeInner()