Searched refs:weightArg (Results 1 – 7 of 7) sorted by relevance
55 if (!weightArg->IsNull() && !weightArg->IsUndefined()) { in SetPopupItemFont()56 if (weightArg->IsNumber()) { in SetPopupItemFont()90 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetSelectedFont()103 …if (!weightArg->IsNull() && !weightArg->IsUndefined() && (weightArg->IsString(vm) || weightArg->Is… in SetSelectedFont()104 weight = weightArg->ToString(vm)->ToString(vm); in SetSelectedFont()140 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetPopupFont()153 …if (!weightArg->IsNull() && !weightArg->IsUndefined() && (weightArg->IsString(vm) || weightArg->Is… in SetPopupFont()154 weight = weightArg->ToString(vm)->ToString(vm); in SetPopupFont()190 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetFont()203 …if (!weightArg->IsNull() && !weightArg->IsUndefined() && (weightArg->IsString(vm) || weightArg->Is… in SetFont()[all …]
109 Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(2); // 2: label font weight in SetLabelFont() local113 …if (sizeArg->IsUndefined() && weightArg->IsUndefined() && familyArg->IsUndefined() && styleArg->Is… in SetLabelFont()124 if (weightArg->IsNumber()) { in SetLabelFont()125 weight = std::to_string(weightArg->Int32Value(vm)); in SetLabelFont()127 if (!ArkTSUtils::ParseJsString(vm, weightArg, weight) || weight.empty()) { in SetLabelFont()165 Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(2); // 2: index of font weight in SetContentFont() local169 …if (sizeArg->IsUndefined() && weightArg->IsUndefined() && familyArg->IsUndefined() && styleArg->Is… in SetContentFont()180 if (weightArg->IsNumber()) { in SetContentFont()181 weight = std::to_string(weightArg->Int32Value(vm)); in SetContentFont()183 if (!ArkTSUtils::ParseJsString(vm, weightArg, weight) || weight.empty()) { in SetContentFont()
91 Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(1); in SetFontWeight() local94 if (!weightArg->IsNull()) { in SetFontWeight()95 if (weightArg->IsNumber()) { in SetFontWeight()96 weight = std::to_string(weightArg->Int32Value(vm)); in SetFontWeight()97 } else if (weightArg->IsString(vm)) { in SetFontWeight()98 weight = weightArg->ToString(vm)->ToString(vm); in SetFontWeight()
145 … Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(2); // 2: index of font weight value in SetFont() local149 …if (sizeArg->IsUndefined() && weightArg->IsUndefined() && familyArg->IsUndefined() && styleArg->Is… in SetFont()159 if (weightArg->IsNumber()) { in SetFont()160 weight = std::to_string(weightArg->Int32Value(vm)); in SetFont()162 if (!ArkTSUtils::ParseJsString(vm, weightArg, weight) || weight.empty()) { in SetFont()
72 if (!weightArg->IsNull()) { in SetFontWeight()73 if (weightArg->IsNumber()) { in SetFontWeight()74 weight = std::to_string(weightArg->Int32Value(vm)); in SetFontWeight()75 variableFontWeight = weightArg->Int32Value(vm); in SetFontWeight()76 } else if (weightArg->IsString(vm)) { in SetFontWeight()77 weight = weightArg->ToString(vm)->ToString(vm); in SetFontWeight()866 if (!weightArg->IsNull()) { in SetFont()867 if (weightArg->IsNumber()) { in SetFont()869 variableFontWeight = weightArg->Int32Value(vm); in SetFont()870 } else if (weightArg->IsString(vm)) { in SetFont()[all …]
401 Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(index); in ParseCapsuleFontWeight() local407 if (!weightArg->IsNull()) { in ParseCapsuleFontWeight()408 if (weightArg->IsNumber()) { in ParseCapsuleFontWeight()409 weight = std::to_string(weightArg->Int32Value(vm)); in ParseCapsuleFontWeight()410 } else if (weightArg->IsString(vm)) { in ParseCapsuleFontWeight()411 weight = weightArg->ToString(vm)->ToString(vm); in ParseCapsuleFontWeight()
435 Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetFont() local451 if (!weightArg->IsNull()) { in SetFont()452 if (weightArg->IsNumber()) { in SetFont()453 weight = std::to_string(weightArg->Int32Value(vm)); in SetFont()454 } else if (weightArg->IsString(vm)) { in SetFont()455 weight = weightArg->ToString(vm)->ToString(vm); in SetFont()