Searched refs:fontWeightArg (Results 1 – 8 of 8) sorted by relevance
60 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle() local77 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetTextStyle()78 if (fontWeightArg->IsNumber()) { in SetTextStyle()79 weight = std::to_string(fontWeightArg->Int32Value(vm)); in SetTextStyle()109 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetSelectedTextStyle() local126 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetSelectedTextStyle()127 if (fontWeightArg->IsNumber()) { in SetSelectedTextStyle()128 weight = std::to_string(fontWeightArg->Int32Value(vm)); in SetSelectedTextStyle()175 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetDisappearTextStyle()176 if (fontWeightArg->IsNumber()) { in SetDisappearTextStyle()[all …]
161 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetTextStyle()162 if (fontWeightArg->IsNumber()) { in SetTextStyle()163 weight = std::to_string(fontWeightArg->Int32Value(vm)); in SetTextStyle()165 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, weight) || weight.empty()) { in SetTextStyle()210 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetSelectedTextStyle()211 if (fontWeightArg->IsNumber()) { in SetSelectedTextStyle()212 weight = std::to_string(fontWeightArg->Int32Value(vm)); in SetSelectedTextStyle()214 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, weight) || weight.empty()) { in SetSelectedTextStyle()259 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetDisappearTextStyle()260 if (fontWeightArg->IsNumber()) { in SetDisappearTextStyle()[all …]
286 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetFont()287 if (fontWeightArg->IsNumber()) { in SetFont()288 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetFont()290 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, fontWeight) || fontWeight.empty()) { in SetFont()332 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetOptionFont()333 if (fontWeightArg->IsNumber()) { in SetOptionFont()334 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetOptionFont()336 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, fontWeight) || fontWeight.empty()) { in SetOptionFont()379 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetSelectedOptionFont()380 if (fontWeightArg->IsNumber()) { in SetSelectedOptionFont()[all …]
280 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_1); in SetFontWeight() local283 if (!fontWeightArg->IsNull()) { in SetFontWeight()284 if (fontWeightArg->IsNumber()) { in SetFontWeight()285 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetFontWeight()286 } else if (fontWeightArg->IsString(vm)) { in SetFontWeight()288 fontWeight = fontWeightArg->ToString(vm)->ToString(vm); in SetFontWeight()478 if (!fontWeightArg->IsNull()) { in SetLabelStyle()479 if (fontWeightArg->IsNumber()) { in SetLabelStyle()480 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetLabelStyle()481 } else if (fontWeightArg->IsString(vm)) { in SetLabelStyle()[all …]
132 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight() local135 if (!fontWeightArg->IsNull()) { in SetFontWeight()136 if (fontWeightArg->IsNumber()) { in SetFontWeight()137 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetFontWeight()138 } else if (fontWeightArg->IsString(vm)) { in SetFontWeight()139 fontWeight = fontWeightArg->ToString(vm)->ToString(vm); in SetFontWeight()
198 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight() local201 if (!fontWeightArg->IsNull()) { in SetFontWeight()202 if (fontWeightArg->IsNumber()) { in SetFontWeight()203 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetFontWeight()204 } else if (fontWeightArg->IsString(vm)) { in SetFontWeight()205 fontWeight = fontWeightArg->ToString(vm)->ToString(vm); in SetFontWeight()
62 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle() local75 if (fontWeightArg->IsString(vm) || fontWeightArg->IsNumber()) { in SetTextStyle()76 fontWeight = fontWeightArg->ToString(vm)->ToString(vm); in SetTextStyle()
234 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetPlaceholderFont() local253 if (!fontWeightArg->IsNull()) { in SetPlaceholderFont()254 if (fontWeightArg->IsNumber()) { in SetPlaceholderFont()255 fontWeight = std::to_string(fontWeightArg->Int32Value(vm)); in SetPlaceholderFont()256 } else if (fontWeightArg->IsString(vm)) { in SetPlaceholderFont()257 fontWeight = fontWeightArg->ToString(vm)->ToString(vm); in SetPlaceholderFont()