Home
last modified time | relevance | path

Searched refs:weightInfo (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_text_modifier.cpp109 …ntWeightWithOption(ArkUINodeHandle node, const struct ArkUIFontWeightWithOptionsStruct* weightInfo) in SetFontWeightWithOption() argument
113 TextModelNG::SetFontWeight(frameNode, ConvertStrToFontWeight(weightInfo->weight)); in SetFontWeightWithOption()
114 TextModelNG::SetVariableFontWeight(frameNode, weightInfo->variableFontWeight); in SetFontWeightWithOption()
115 TextModelNG::SetEnableVariableFontWeight(frameNode, weightInfo->enableVariableFontWeight); in SetFontWeightWithOption()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_text_bridge.cpp69 ArkUIFontWeightWithOptionsStruct weightInfo; in SetFontWeight() local
81 weightInfo.weight = weight.c_str(); in SetFontWeight()
82 weightInfo.variableFontWeight = variableFontWeight; in SetFontWeight()
85 weightInfo.enableVariableFontWeight = static_cast<int32_t>(optionsArg->BooleaValue(vm)); in SetFontWeight()
87 GetArkUINodeModifiers()->getTextModifier()->setFontWeightWithOption(nativeNode, &weightInfo); in SetFontWeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h2101 …WeightWithOption)(ArkUINodeHandle node, const struct ArkUIFontWeightWithOptionsStruct* weightInfo);