Searched refs:jsWeight (Results 1 – 4 of 4) sorted by relevance
246 auto jsWeight = obj->GetProperty("weight"); in ContentFont() local247 if (!jsWeight->IsNull()) { in ContentFont()248 if (jsWeight->IsNumber()) { in ContentFont()249 weight = std::to_string(jsWeight->ToNumber<int32_t>()); in ContentFont()251 ParseJsString(jsWeight, weight); in ContentFont()308 auto jsWeight = obj->GetProperty("weight"); in LabelFont() local309 if (!jsWeight->IsNull()) { in LabelFont()310 if (jsWeight->IsNumber()) { in LabelFont()311 weight = std::to_string(jsWeight->ToNumber<int32_t>()); in LabelFont()313 ParseJsString(jsWeight, weight); in LabelFont()
91 auto jsWeight = obj->GetProperty("weight"); in Font() local92 if (!jsWeight->IsNull()) { in Font()93 if (jsWeight->IsNumber()) { in Font()94 weight = std::to_string(jsWeight->ToNumber<int32_t>()); in Font()96 ParseJsString(jsWeight, weight); in Font()
419 auto jsWeight = obj->GetProperty("weight"); in SetPopupItemFont() local420 if (!jsWeight->IsNull()) { in SetPopupItemFont()421 if (jsWeight->IsNumber()) { in SetPopupItemFont()422 weight = std::to_string(jsWeight->ToNumber<int32_t>()); in SetPopupItemFont()424 ParseJsString(jsWeight, weight); in SetPopupItemFont()
750 Local<JSValueRef> jsWeight = runtimeCallInfo->GetCallArgRef(2); in SetPlaceholderFont() local770 if (!jsWeight->IsNull()) { in SetPlaceholderFont()771 if (jsWeight->IsString(vm)) { in SetPlaceholderFont()772 weight = jsWeight->ToString(vm)->ToString(vm); in SetPlaceholderFont()774 if (jsWeight->IsNumber()) { in SetPlaceholderFont()775 weight = std::to_string(jsWeight->Int32Value(vm)); in SetPlaceholderFont()