Home
last modified time | relevance | path

Searched refs:thirdArg (Results 1 - 21 of 21) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_hyperlink_bridge.cpp83 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetResponseRegion() local
85 int32_t length = thirdArg->Int32Value(vm); in SetResponseRegion()
H A Darkts_native_image_animator_bridge.cpp191 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 Darkts_native_render_node_bridge.cpp267 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in InsertChildAfter() local
268 if (thirdArg.IsNull()) { in InsertChildAfter()
272 auto sibling = nodePtr(thirdArg->ToNativePointer(vm)->Value()); in InsertChildAfter()
317 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetRotation() local
327 if (thirdArg->IsNumber()) { in SetRotation()
328 rotationY = thirdArg->ToNumber(vm)->Value(); in SetRotation()
360 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetShadowOffset() local
368 if (thirdArg->IsNumber()) { in SetShadowOffset()
369 offsetY = thirdArg->ToNumber(vm)->Value(); in SetShadowOffset()
H A Darkts_native_nav_destination_bridge.cpp163 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetIgnoreLayoutSafeArea() local
174 if (thirdArg->IsString(vm)) { in SetIgnoreLayoutSafeArea()
175 edgesCppStr = thirdArg->ToString(vm)->ToString(vm); in SetIgnoreLayoutSafeArea()
H A Darkts_native_list_bridge.cpp260 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(LIST_ARG_INDEX_2); in SetListEdgeEffect() local
273 if (thirdArg->IsUndefined() || thirdArg->IsNull()) { in SetListEdgeEffect()
277 nativeNode, effect, thirdArg->ToBoolean(vm)->Value()); in SetListEdgeEffect()
415 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(LIST_ARG_INDEX_2); in SetListNestedScroll() local
423 if (!thirdArg->IsUndefined()) { in SetListNestedScroll()
424 backward = thirdArg->Int32Value(vm); in SetListNestedScroll()
H A Darkts_native_navigation_bridge.cpp409 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetIgnoreLayoutSafeArea() local
420 if (thirdArg->IsString(vm)) { in SetIgnoreLayoutSafeArea()
421 edgesCppStr = thirdArg->ToString(vm)->ToString(vm); in SetIgnoreLayoutSafeArea()
H A Darkts_native_alphabet_indexer_bridge.cpp428 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetAlignStyle() local
437 if (!thirdArg->IsNull() && !thirdArg->IsUndefined() && in SetAlignStyle()
438 ArkTSUtils::ParseJsDimensionVp(vm, thirdArg, popupHorizontalSpace)) { in SetAlignStyle()
H A Darkts_native_image_bridge.cpp525 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetSourceSize() local
528 if (secondArg->IsNumber() && thirdArg->IsNumber() && secondArg->ToNumber(vm)->Value() >= 0 && in SetSourceSize()
529 thirdArg->ToNumber(vm)->Value() >= 0) { in SetSourceSize()
531 double height = thirdArg->ToNumber(vm)->Value(); in SetSourceSize()
H A Darkts_native_frame_node_bridge.cpp72 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); // index of instanceId in GetInstanceId() local
73 CHECK_NULL_RETURN(!thirdArg.IsNull(), -1); in GetInstanceId()
74 return thirdArg->ToNumber(vm)->Value(); in GetInstanceId()
394 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); // 2 : index to get the insert node
395 if (thirdArg.IsNull()) {
399 auto sibling = nodePtr(thirdArg->ToNativePointer(vm)->Value());
H A Darkts_native_search_bridge.cpp304 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetCancelButton() local
323 if (!thirdArg->IsUndefined() && !thirdArg->IsNull() && in SetCancelButton()
324 ArkTSUtils::ParseJsDimensionVpNG(vm, thirdArg, iconSize, false)) { in SetCancelButton()
758 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local
774 ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color, Color::BLACK); in SetDecoration()
H A Darkts_native_common_bridge.cpp4013 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetPadding() local
4031 if (thirdArg->IsObject(vm)) { in SetPadding()
4032 isLengthMetrics |= ParseLocalizedPadding(vm, thirdArg, rightDimen, right); in SetPadding()
4052 ParsePadding(vm, thirdArg, rightDimen, right); in SetPadding()
4103 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetMargin() local
4119 if (thirdArg->IsObject(vm)) { in SetMargin()
4120 isLengthMetrics |= ParseLocalizedMargin(vm, thirdArg, rightDimen, right); in SetMargin()
4138 ParseMargin(vm, thirdArg, rightDimen, right); in SetMargin()
4251 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetConstraintSize() local
4277 if (ArkTSUtils::ParseJsDimensionVp(vm, thirdArg, maxWidt in SetConstraintSize()
4404 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); SetSize() local
4592 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); SetExpandSafeArea() local
5193 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); SetResponseRegion() local
5446 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); SetMouseResponseRegion() local
6578 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); SetChainMode() local
[all...]
H A Darkts_native_text_input_bridge.cpp267 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in SetPasswordIcon() local
272 if (!ArkTSUtils::GetJsPasswordIcon(vm, secondArg, thirdArg, passwordIcon)) { in SetPasswordIcon()
935 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_2); // 2: color value in SetDecoration() local
951 ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color, Color::BLACK); in SetDecoration()
1851 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_2); in SetPadding() local
1866 ArkTSUtils::ParsePadding(vm, thirdArg, rightDimen, right); in SetPadding()
1943 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_2); in SetMargin() local
1947 ArkUISizeType right = ArkTSUtils::ParseJsToArkUISize(vm, thirdArg); in SetMargin()
H A Darkts_native_text_bridge.cpp302 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local
311 if (!ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color)) { in SetDecoration()
1445 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetResponseRegion() local
1447 int32_t length = thirdArg->Int32Value(vm); in SetResponseRegion()
H A Darkts_native_slider_bridge.cpp128 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetBlockSize() local
134 bool hasBlockHeight = ArkTSUtils::ParseJsDimensionVp(vm, thirdArg, blockHeight); in SetBlockSize()
H A Darkts_native_span_bridge.cpp311 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local
320 if (!ArkTSUtils::ParseJsColorAlpha(vm, thirdArg, color)) { in SetDecoration()
H A Darkts_native_tabs_bridge.cpp97 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(TABS_ARG_INDEX_2); in SetScrollableBarModeOptions() local
100 if (thirdArg->IsUndefined()) { in SetScrollableBarModeOptions()
104 int barModeStyle = thirdArg->Int32Value(vm); in SetScrollableBarModeOptions()
H A Darkts_native_text_area_bridge.cpp627 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDecoration() local
643 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 Darkts_native_api_impl_bridge.cpp340 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()
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Djs_ui_observer.cpp155 auto& thirdArg = argv[PARAM_INDEX_TWO]; in ParseNavDestSwitchRegisterParams() local
162 MatchValueType(env, thirdArg, napi_function)) { in ParseNavDestSwitchRegisterParams()
174 params.callback = thirdArg; in ParseNavDestSwitchRegisterParams()
176 IsNavDestSwitchOptions(env, thirdArg, navigationId) && in ParseNavDestSwitchRegisterParams()
222 napi_env env, napi_value secondArg, napi_value thirdArg, NavDestinationSwitchParams& params) in ParseNavDestSwitchUnRegisterParams()
225 if (MatchValueType(env, thirdArg, napi_function)) { in ParseNavDestSwitchUnRegisterParams()
226 params.callback = thirdArg; in ParseNavDestSwitchUnRegisterParams()
243 IsNavDestSwitchOptions(env, thirdArg, navigationId)) { in ParseNavDestSwitchUnRegisterParams()
261 napi_env env, napi_value secondArg, napi_value thirdArg, in ParseNavDestSwitchUnRegisterParams()
266 auto& options = thirdArg; in ParseNavDestSwitchUnRegisterParams()
221 ParseNavDestSwitchUnRegisterParams( napi_env env, napi_value secondArg, napi_value thirdArg, NavDestinationSwitchParams& params) ParseNavDestSwitchUnRegisterParams() argument
260 ParseNavDestSwitchUnRegisterParams( napi_env env, napi_value secondArg, napi_value thirdArg, napi_value fourthArg, NavDestinationSwitchParams& params) ParseNavDestSwitchUnRegisterParams() argument
[all...]
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/
H A Dnapi_fileaccess_helper.cpp679 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in GetCopyArguments()
680 if (thirdArg.TypeIs(napi_boolean)) { in GetCopyArguments()
690 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in GetCopyArguments()
691 if (thirdArg.TypeIs(napi_boolean)) { in GetCopyArguments()
739 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in AddNAsyncWork()
740 if (thirdArg.TypeIs(napi_function)) { in AddNAsyncWork()
741 return NAsyncWorkCallback(env, thisVar, thirdArg).Schedule(procedureName, cbExec, cbComplete).val_; in AddNAsyncWork()
1330 NVal thirdArg(env, funcArg[NARG_POS::THIRD]); in GetMoveItemArguments()
1331 if (thirdArg.TypeIs(napi_boolean)) { in GetMoveItemArguments()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_view_register.cpp315 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(2); in JsRegisterNamedRoute() local
316 if (!thirdArg->IsObject(vm)) { in JsRegisterNamedRoute()
322 secondArg->ToString(vm)->ToString(vm), thirdArg->ToObject(vm)); in JsRegisterNamedRoute()
749 Local<JSValueRef> thirdArg = runtimeCallInfo->GetCallArgRef(PARAM_TRHEE_INDEX); in JsGetFilteredInspectorTreeById() local
751 if (!thirdArg->IsArray(vm)) { in JsGetFilteredInspectorTreeById()
755 auto arrayVal = panda::Local<panda::ArrayRef>(thirdArg); in JsGetFilteredInspectorTreeById()

Completed in 66 milliseconds