Home
last modified time | relevance | path

Searched refs:fontWeightArg (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_timepicker_bridge.cpp60 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle() local
77 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() local
126 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 …]
H A Darkts_native_textpicker_bridge.cpp161 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 …]
H A Darkts_native_select_bridge.cpp286 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 …]
H A Darkts_native_button_bridge.cpp280 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_1); in SetFontWeight() local
283 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 …]
H A Darkts_native_text_timer_bridge.cpp132 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight() local
135 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()
H A Darkts_native_text_clock_bridge.cpp198 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight() local
201 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()
H A Darkts_native_calendar_picker_bridge.cpp62 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle() local
75 if (fontWeightArg->IsString(vm) || fontWeightArg->IsNumber()) { in SetTextStyle()
76 fontWeight = fontWeightArg->ToString(vm)->ToString(vm); in SetTextStyle()
H A Darkts_native_text_area_bridge.cpp234 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetPlaceholderFont() local
253 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()