/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_api_impl_bridge.cpp | 403 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), GetFrameNodeById)); in GetArkUINativeModule() 411 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), GetUIState)); in GetArkUINativeModule() 413 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), SetSupportedUIState)); in GetArkUINativeModule() 415 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), GetFrameNodeByKey)); in GetArkUINativeModule() 421 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), SetFrameRateRange)); in GetArkUINativeModule() 783 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), CommonBridge::SetId)); in GetArkUINativeModule() 977 panda::FunctionRef::New( in GetArkUINativeModule() 1134 panda::FunctionRef::New( in GetArkUINativeModule() 2165 panda::FunctionRef::New( in GetArkUINativeModule() 2536 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), in GetArkUINativeModule() [all …]
|
H A D | arkts_native_utils_bridge.cpp | 54 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), NativeUtilsBridge::WeakRefInvalid)); in CreateWeakRef() 56 …panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), NativeUtilsBridge::GetNativeHandleForWeak)… in CreateWeakRef() 58 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), NativeUtilsBridge::Upgrade)); in CreateWeakRef() 71 …panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), NativeUtilsBridge::GetNativeHandleForStron… in CreateStrongRef() 73 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), NativeUtilsBridge::Dispose)); in CreateStrongRef()
|
H A D | arkts_native_node_adapter_bridge.cpp | 47 panda::Local<panda::FunctionRef> attachFunc = attachObj; in SetAttachCallback() 68 panda::Local<panda::FunctionRef> detachFunc = detachObj; in SetDetachCallback() 88 panda::Local<panda::FunctionRef> getIdFunc = getIdObj; in SetGetIdCallback() 111 panda::Local<panda::FunctionRef> createChildFunc = createChildObj; in SetCreateNewChildCallback() 134 panda::Local<panda::FunctionRef> disposeChildFunc = disposeChildObj; in SetDisposeChildCallback() 156 panda::Local<panda::FunctionRef> updateChildFunc = updateChildObj; in SetUpdateChildCallback()
|
H A D | arkts_native_frame_node_bridge.cpp | 540 panda::Local<panda::FunctionRef> func = obj; in SetOnClick() 626 panda::Local<panda::FunctionRef> func = obj; in SetOnTouch() 662 panda::Local<panda::FunctionRef> func = obj; in SetOnAppear() 696 panda::Local<panda::FunctionRef> func = obj; in SetOnDisappear() 730 panda::Local<panda::FunctionRef> func = obj; in SetOnKeyEvent() 780 panda::Local<panda::FunctionRef> func = obj; in SetOnFocus() 814 panda::Local<panda::FunctionRef> func = obj; in SetOnBlur() 848 panda::Local<panda::FunctionRef> func = obj; in SetOnHover() 936 panda::Local<panda::FunctionRef> func = obj; in SetOnMouse() 1085 panda::Local<panda::FunctionRef> func = obj; in SetOnAttach() [all …]
|
H A D | arkts_native_rich_editor_bridge.cpp | 116 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetDataDetectorConfig() 233 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnIMEInputComplete() 300 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnSelectionChange() 565 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnSelect() 603 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnSubmit() 647 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetAboutToIMEInput() 693 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnReady() 727 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnDeleteComplete() 762 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnEditingChange() 819 panda::FunctionRef::New(vm, Framework::JsPreventDefault)); in CreateCommonEvent() [all …]
|
H A D | arkts_native_scrollable_bridge.cpp | 67 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnReachStart() 103 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnReachEnd()
|
H A D | arkts_native_xcomponent_bridge.cpp | 31 panda::Local<panda::FunctionRef> func = createdFunc; in SetControllerOnCreatedCallback() 47 panda::Local<panda::FunctionRef> func = changedFunc; in SetControllerOnChangedCallback() 68 panda::Local<panda::FunctionRef> func = destroyedFunc; in SetControllerOnDestroyedCallback() 172 panda::Local<panda::FunctionRef> func = createdFunc; in SetControllerOnCreated() 200 panda::Local<panda::FunctionRef> func = changedFunc; in SetControllerOnChanged() 231 panda::Local<panda::FunctionRef> func = destroyedFunc; in SetControllerOnDestroyed() 622 panda::Local<panda::FunctionRef> func = obj; in SetOnLoad() 655 panda::Local<panda::FunctionRef> func = obj; in SetOnDestroy()
|
H A D | arkts_native_scroll_bridge.cpp | 522 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnScrollStart() 558 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnScrollEnd() 592 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnScrollStop() 626 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnScroll() 669 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnScrollEdge() 709 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnDidScroll() 754 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnWillScroll() 814 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetScrollOnScrollFrameBegin()
|
H A D | arkts_native_search_bridge.cpp | 920 panda::Local<panda::FunctionRef> func = obj; in SetInputFilter() 1078 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnEditChange() 1116 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnSubmit() 1160 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnCopy() 1197 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnCut() 1234 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnPaste() 1243 panda::FunctionRef::New(vm, Framework::JsPreventDefault)); in SetOnPaste() 1277 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnChange() 1319 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnTextSelectionChange() 1358 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnContentScroll() [all …]
|
H A D | arkts_native_rating_bridge.cpp | 175 panda::FunctionRef::New(vm, JsRatingChangeCallback) }; in SetContentModifierBuilder() 184 panda::Local<panda::FunctionRef> func = makeFunc; in SetContentModifierBuilder()
|
H A D | arkts_native_marquee_bridge.cpp | 239 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetMarqueeOnStart() 273 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetMarqueeOnBounce() 307 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetMarqueeOnFinish()
|
H A D | arkts_native_text_area_bridge.cpp | 1040 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnChange() 1155 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnTextSelectionChange() 1194 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnContentScroll() 1232 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnEditChange() 1270 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnCopy() 1307 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnCut() 1344 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnPaste() 1353 panda::FunctionRef::New(vm, Framework::JsPreventDefault)); in SetOnPaste() 1452 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnSubmit() 1826 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnWillInsert() [all …]
|
H A D | arkts_native_list_bridge.cpp | 959 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnScrollIndex() 1009 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnScrollVisibleContentChange() 1046 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnItemMove() 1239 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListScrollStart() 1265 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListScrollStop() 1290 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListScrollFrameBegin() 1336 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListWillScroll() 1381 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListDidScroll() 1413 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListReachStart() 1439 panda::Local<panda::FunctionRef> func = callbackArg->ToObject(vm); in SetOnListReachEnd()
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_sendable.h | 22 using FunctionRef = panda::FunctionRef; variable 27 static FunctionRef::SendablePropertiesInfos CreateSendablePropertiesInfos(napi_env env, 36 FunctionRef::SendablePropertiesInfo& info, 38 … FunctionRef::SendableType type = FunctionRef::SendableType::NONE);
|
H A D | native_sendable.cpp | 25 FunctionRef::SendablePropertiesInfos NativeSendable::CreateSendablePropertiesInfos( in CreateSendablePropertiesInfos() 30 FunctionRef::SendablePropertiesInfos infos; in CreateSendablePropertiesInfos() 39 FunctionRef::SendableType::OBJECT); in CreateSendablePropertiesInfos() 42 FunctionRef::SendableType::GENERIC); in CreateSendablePropertiesInfos() 52 FunctionRef::SendablePropertiesInfo& info, in InitSendablePropertiesInfo() 54 FunctionRef::SendableType type) in InitSendablePropertiesInfo() 85 info.types.push_back(FunctionRef::SendableType::OBJECT); in InitSendablePropertiesInfo() 98 info.types.push_back(FunctionRef::SendableType::OBJECT); in InitSendablePropertiesInfo() 122 Local<FunctionRef> fn = FunctionRef::NewSendable( in NapiNativeCreateSendableFunction()
|
H A D | native_async_hook_context.h | 26 static panda::JSValueRef* InternalMakeCallback(NativeEngine* engine, panda::FunctionRef* funRef, 118 panda::JSValueRef* MakeCallback(panda::FunctionRef* funRef, panda::JSValueRef* obj, in MakeCallback() 133 static panda::FunctionRef* AsyncHooksCallbackTrampoline() in AsyncHooksCallbackTrampoline() 152 static panda::JSValueRef* InternalMakeCallback(NativeEngine* engine, panda::FunctionRef* funRef, in InternalMakeCallback() 163 panda::FunctionRef* rstFunRef = AsyncHooksCallbackTrampoline(); in InternalMakeCallback() 195 panda::JSValueRef* MakeCallback(NativeEngine* engine, panda::FunctionRef* funRef, in MakeCallback()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_bindings.inl | 74 name, panda::Global<panda::FunctionRef>( 86 name, panda::Global<panda::FunctionRef>( 87 vm, panda::FunctionRef::New( 96 …customFunctions_.emplace(name, panda::Global<panda::FunctionRef>(vm, panda::FunctionRef::New(vm, c… 106 name, panda::Global<panda::FunctionRef>( 120 vm, panda::FunctionRef::New( 125 vm, panda::FunctionRef::New( 134 …customGetFunctions_.emplace(name, panda::Global<panda::FunctionRef>(vm, panda::FunctionRef::New(vm… 135 …customSetFunctions_.emplace(name, panda::Global<panda::FunctionRef>(vm, panda::FunctionRef::New(vm… 160 panda::Global<panda::FunctionRef>( [all …]
|
H A D | jsi_view_register.cpp | 307 panda::Local<panda::FunctionRef> objSupplier = firstArg; in JsRegisterNamedRoute() 324 panda::Global<panda::FunctionRef>(vm, Local<panda::FunctionRef>(firstArg)), in JsRegisterNamedRoute() 1313 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), JsLoadEtsCard)); in JsRegisterFormViews() 1361 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), Lpx2Px)); in JsRegisterFormViews() 1363 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), Px2Lpx)); in JsRegisterFormViews() 1542 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), Lpx2Px)); in JsRegisterViews() 1544 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), Px2Lpx)); in JsRegisterViews() 1553 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), RequestFocus)); in JsRegisterViews() 1566 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), SetCursor)); in JsRegisterViews() 1705 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), Lpx2Px)); in JsRegisterWorkerViews() [all …]
|
H A D | jsi_bindings.h | 98 static std::unordered_map<std::string, panda::Global<panda::FunctionRef>>& GetCustomFunctions(); 100 static std::unordered_map<std::string, panda::Global<panda::FunctionRef>>& GetStaticFunctions(); 130 …static thread_local std::unordered_map<std::string, panda::Global<panda::FunctionRef>> staticFunct… 131 …static thread_local std::unordered_map<std::string, panda::Global<panda::FunctionRef>> customFunct… 132 …static thread_local std::unordered_map<std::string, panda::Global<panda::FunctionRef>> customGetFu… 133 …static thread_local std::unordered_map<std::string, panda::Global<panda::FunctionRef>> customSetFu… 139 static thread_local panda::Global<panda::FunctionRef> classFunction_;
|
H A D | jsi_types.h | 229 class JsiFunction : public JsiType<panda::FunctionRef> { 232 explicit JsiFunction(panda::Local<panda::FunctionRef> val); 233 explicit JsiFunction(const EcmaVM *vm, panda::Local<panda::FunctionRef> val); 234 explicit JsiFunction(const panda::CopyableGlobal<panda::FunctionRef>& val); 238 static panda::Local<panda::FunctionRef> New(JsiFunctionCallback func);
|
H A D | jsi_types.cpp | 363 JsiFunction::JsiFunction(const panda::CopyableGlobal<panda::FunctionRef>& val) : JsiType(val) {} in JsiFunction() 365 JsiFunction::JsiFunction(panda::Local<panda::FunctionRef> val) : JsiType(val) {} in JsiFunction() 367 JsiFunction::JsiFunction(const EcmaVM *vm, panda::Local<panda::FunctionRef> val) : JsiType(vm, val)… in JsiFunction() 398 panda::Local<panda::FunctionRef> JsiFunction::New(JsiFunctionCallback func) in New() 401 return panda::FunctionRef::New(const_cast<EcmaVM*>(runtime->GetEcmaVm()), func); in New()
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_napi.cpp | 287 …auto result = FunctionRef::New(vm, CJLambdaInvoker, CJLambdaDeleter, new LambdaData {env, lambdaId… in ARKTS_CreateFunc() 309 auto result = FunctionRef::NewClassFunction(vm, CJLambdaInvoker, CJLambdaDeleter, in ARKTS_CreateClass() 313 auto baseClass = BIT_CAST(base, Local<FunctionRef>); in ARKTS_CreateClass() 325 auto clazz = BIT_CAST(value, Local<FunctionRef>); in ARKTS_GetPrototype() 338 auto targetClass = BIT_CAST(clazz, Local<FunctionRef>); in ARKTS_InstanceOf() 365 auto funcHandle = *P_CAST(func, FunctionRef*); in ARKTS_Call() 385 auto funcHandle = *P_CAST(clazz, FunctionRef*); in ARKTS_New() 643 auto onFulfilledFunc = BIT_CAST(onFulfilled, Local<FunctionRef>); in ARKTS_PromiseThen() 647 auto onRejectedFunc = BIT_CAST(onRejected, Local<FunctionRef>); in ARKTS_PromiseThen() 663 auto callbackFunc = BIT_CAST(callback, Local<FunctionRef>); in ARKTS_PromiseCatch()
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 88 using panda::FunctionRef; 135 panda::Local<panda::FunctionRef> funcValue(value); in FunctionSetContainerId() 182 …Local<panda::FunctionRef> fn = panda::FunctionRef::NewConcurrentClassFunction(vm, ArkNativeFunctio… in NapiDefineClass() 230 Local<panda::FunctionRef> fn = panda::FunctionRef::NewSendable( in NapiNativeCreateSendableFunction() 271 Local<panda::FunctionRef> fn = panda::FunctionRef::NewSendableClassFunction( in NapiDefineSendableClass() 378 Local<FunctionRef> requireNapi = in ArkNativeEngine() 379 FunctionRef::New( in ArkNativeEngine() 498 Local<FunctionRef> requireInternal = in ArkNativeEngine() 499 FunctionRef::New( in ArkNativeEngine() 793 Local<panda::FunctionRef> fn = panda::FunctionRef::NewConcurrent( in NapiNativeCreateFunction() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_xcomponent.cpp | 349 auto jsFunc = panda::Global<panda::FunctionRef>(execCtx.vm_, Local<panda::FunctionRef>(func)); in RegisterOnCreate() 374 auto jsFunc = panda::Global<panda::FunctionRef>(execCtx.vm_, Local<panda::FunctionRef>(func)); in RegisterOnDestroy()
|
H A D | js_node_container.cpp | 52 panda::Local<panda::FunctionRef> detachFunc = obj; in BindFunc() 66 panda::Local<panda::FunctionRef> attachFunc = obj; in AddToNodeControllerMap()
|