/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/observer/ |
H A D | js_ui_observer.cpp | 163 auto& thirdArg = argv[PARAM_INDEX_TWO]; in ParseNavDestSwitchRegisterParams() local 170 MatchValueType(env, thirdArg, napi_function)) { in ParseNavDestSwitchRegisterParams() 182 params.callback = thirdArg; in ParseNavDestSwitchRegisterParams() 184 IsNavDestSwitchOptions(env, thirdArg, navigationId) && in ParseNavDestSwitchRegisterParams() 230 napi_env env, napi_value secondArg, napi_value thirdArg, NavDestinationSwitchParams& params) in ParseNavDestSwitchUnRegisterParams() argument 233 if (MatchValueType(env, thirdArg, napi_function)) { in ParseNavDestSwitchUnRegisterParams() 234 params.callback = thirdArg; in ParseNavDestSwitchUnRegisterParams() 251 IsNavDestSwitchOptions(env, thirdArg, navigationId)) { in ParseNavDestSwitchUnRegisterParams() 269 napi_env env, napi_value secondArg, napi_value thirdArg, in ParseNavDestSwitchUnRegisterParams() argument 274 auto& options = thirdArg; in ParseNavDestSwitchUnRegisterParams()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_render_node_bridge.cpp | 280 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in InsertChildAfter() local 281 if (thirdArg.IsNull()) { in InsertChildAfter() 285 auto sibling = nodePtr(thirdArg->ToNativePointer(vm)->Value()); in InsertChildAfter() 330 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetRotation() local 340 if (thirdArg->IsNumber()) { in SetRotation() 341 rotationY = thirdArg->ToNumber(vm)->Value(); in SetRotation() 373 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetShadowOffset() local 381 if (thirdArg->IsNumber()) { in SetShadowOffset() 382 offsetY = thirdArg->ToNumber(vm)->Value(); in SetShadowOffset()
|
H A D | arkts_native_hyperlink_bridge.cpp | 83 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetResponseRegion() local 85 int32_t length = thirdArg->Int32Value(vm); in SetResponseRegion()
|
H A D | arkts_native_image_animator_bridge.cpp | 191 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetImages() local 204 …if (secondArg->IsNull() || !secondArg->IsArray(vm) || thirdArg->IsNull() || !thirdArg->IsArray(vm)… in SetImages() 225 … vm, thirdArg, calcDimension.get() + arrayLength * NUM_0, arrayLength, parseDimensionStruct) || in SetImages()
|
H A D | arkts_native_nav_destination_bridge.cpp | 180 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetIgnoreLayoutSafeArea() local 191 if (thirdArg->IsString(vm)) { in SetIgnoreLayoutSafeArea() 192 edgesCppStr = thirdArg->ToString(vm)->ToString(vm); in SetIgnoreLayoutSafeArea()
|
H A D | arkts_native_navigation_bridge.cpp | 434 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetIgnoreLayoutSafeArea() local 445 if (thirdArg->IsString(vm)) { in SetIgnoreLayoutSafeArea() 446 edgesCppStr = thirdArg->ToString(vm)->ToString(vm); in SetIgnoreLayoutSafeArea()
|
H A D | arkts_native_alphabet_indexer_bridge.cpp | 422 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetAlignStyle() local 431 if (!thirdArg->IsNull() && !thirdArg->IsUndefined() && in SetAlignStyle() 432 ArkTSUtils::ParseJsDimensionVp(vm, thirdArg, popupHorizontalSpace)) { in SetAlignStyle()
|
H A D | arkts_native_list_bridge.cpp | 275 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(LIST_ARG_INDEX_2); in SetListEdgeEffect() local 288 if (thirdArg->IsUndefined() || thirdArg->IsNull()) { in SetListEdgeEffect() 292 nativeNode, effect, thirdArg->ToBoolean(vm)->Value()); in SetListEdgeEffect() 430 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(LIST_ARG_INDEX_2); in SetListNestedScroll() local 438 if (!thirdArg->IsUndefined()) { in SetListNestedScroll() 439 backward = thirdArg->Int32Value(vm); in SetListNestedScroll()
|
H A D | arkts_native_tabs_bridge.cpp | 96 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(TABS_ARG_INDEX_2); in SetScrollableBarModeOptions() local 99 if (thirdArg->IsUndefined()) { in SetScrollableBarModeOptions() 103 int barModeStyle = thirdArg->Int32Value(vm); in SetScrollableBarModeOptions()
|
H A D | arkts_native_text_input_bridge.cpp | 269 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetPasswordIcon() local 274 if (!ArkTSUtils::GetJsPasswordIcon(vm, secondArg, thirdArg, passwordIcon)) { in SetPasswordIcon() 937 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_2); // 2: color value in SetDecoration() local 953 ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color, Color::BLACK); in SetDecoration() 1812 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_2); in SetPadding() local 1827 ArkTSUtils::ParsePadding(vm, thirdArg, rightDimen, right); in SetPadding() 1904 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_2); in SetMargin() local 1908 ArkUISizeType right = ArkTSUtils::ParseJsToArkUISize(vm, thirdArg); in SetMargin()
|
H A D | arkts_native_image_bridge.cpp | 529 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetSourceSize() local 532 if (secondArg->IsNumber() && thirdArg->IsNumber() && secondArg->ToNumber(vm)->Value() >= 0 && in SetSourceSize() 533 thirdArg->ToNumber(vm)->Value() >= 0) { in SetSourceSize() 535 double height = thirdArg->ToNumber(vm)->Value(); in SetSourceSize()
|
H A D | arkts_native_search_bridge.cpp | 303 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetCancelButton() local 322 if (!thirdArg->IsUndefined() && !thirdArg->IsNull() && in SetCancelButton() 323 ArkTSUtils::ParseJsDimensionVpNG(vm, thirdArg, iconSize, false)) { in SetCancelButton() 757 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local 773 ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color, Color::BLACK); in SetDecoration()
|
H A D | arkts_native_common_bridge.cpp | 3640 if (thirdArg->IsNumber()) { in SetUseEffect() 3641 effectTypeValue = thirdArg->Int32Value(vm); in SetUseEffect() 4104 if (thirdArg->IsObject(vm)) { in SetPadding() 4125 ParsePadding(vm, thirdArg, rightDimen, right); in SetPadding() 4192 if (thirdArg->IsObject(vm)) { in SetMargin() 4211 ParseMargin(vm, thirdArg, rightDimen, right); in SetMargin() 4678 if (thirdArg->IsString(vm)) { in SetExpandSafeArea() 4679 edgesCppStr = thirdArg->ToString(vm)->ToString(vm); in SetExpandSafeArea() 5268 int32_t length = thirdArg->Int32Value(vm); in SetResponseRegion() 5521 int32_t length = thirdArg->Int32Value(vm); in SetMouseResponseRegion() [all …]
|
H A D | arkts_native_frame_node_bridge.cpp | 70 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); // index of instanceId in GetInstanceId() local 71 CHECK_NULL_RETURN(!thirdArg.IsNull(), -1); in GetInstanceId() 72 return thirdArg->ToNumber(vm)->Value(); in GetInstanceId() 377 …Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); // 2 : index to get the insert node in InsertChildAfter() local 378 if (thirdArg.IsNull()) { in InsertChildAfter() 382 auto sibling = nodePtr(thirdArg->ToNativePointer(vm)->Value()); in InsertChildAfter()
|
H A D | arkts_native_slider_bridge.cpp | 125 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetBlockSize() local 131 bool hasBlockHeight = ArkTSUtils::ParseJsDimensionVp(vm, thirdArg, blockHeight); in SetBlockSize()
|
H A D | arkts_native_span_bridge.cpp | 312 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local 321 if (!ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color)) { in SetDecoration()
|
H A D | arkts_native_text_area_bridge.cpp | 629 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local 645 ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color, Color::BLACK); in SetDecoration() 1407 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetPadding() local 1422 ArkTSUtils::ParsePadding(vm, thirdArg, rightDimen, right); in SetPadding() 1792 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetMargin() local 1796 ArkUISizeType right = ArkTSUtils::ParseJsToArkUISize(vm, thirdArg); in SetMargin()
|
H A D | arkts_native_text_bridge.cpp | 308 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local 317 if (!ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color)) { in SetDecoration() 1451 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetResponseRegion() local 1453 int32_t length = thirdArg->Int32Value(vm); in SetResponseRegion()
|
H A D | arkts_native_api_impl_bridge.cpp | 340 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetFrameRateRange() local 348 auto value = thirdArg->Int32Value(vm); in SetFrameRateRange() 375 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); // 2: parameter index in SetMarqueeFrameRateRange() local 383 auto value = thirdArg->Int32Value(vm); in SetMarqueeFrameRateRange()
|
/ohos5.0/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/ |
H A D | napi_fileaccess_helper.cpp | 678 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in GetCopyArguments() local 679 if (thirdArg.TypeIs(napi_boolean)) { in GetCopyArguments() 689 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in GetCopyArguments() local 690 if (thirdArg.TypeIs(napi_boolean)) { in GetCopyArguments() 738 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in AddNAsyncWork() local 739 if (thirdArg.TypeIs(napi_function)) { in AddNAsyncWork() 740 …return NAsyncWorkCallback(env, thisVar, thirdArg).Schedule(procedureName, cbExec, cbComplete).val_; in AddNAsyncWork() 1329 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in GetMoveItemArguments() local 1330 if (thirdArg.TypeIs(napi_boolean)) { in GetMoveItemArguments()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_view_register.cpp | 318 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in JsRegisterNamedRoute() local 319 if (!thirdArg->IsObject(vm)) { in JsRegisterNamedRoute() 325 secondArg->ToString(vm)->ToString(vm), thirdArg->ToObject(vm)); in JsRegisterNamedRoute() 756 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(PARAM_TRHEE_INDEX); in JsGetFilteredInspectorTreeById() local 758 if (!thirdArg->IsArray(vm)) { in JsGetFilteredInspectorTreeById() 762 auto arrayVal = panda::Local<panda::ArrayRef>(thirdArg); in JsGetFilteredInspectorTreeById()
|