Home
last modified time | relevance | path

Searched refs:aceObj (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp218 shared_ptr<JsValue> aceObj = runtime_->NewObject(); in RegisterPaModule() local
219 if (!aceObj) { in RegisterPaModule()
223 if (!aceObj->SetProperty(runtime_, "onCreateFinish", runtime_->NewFunction(JsOnCreateFinish))) { in RegisterPaModule()
226 if (!aceObj->SetProperty(runtime_, "handleCallback", runtime_->NewFunction(JsHandleCallback))) { in RegisterPaModule()
229 if (!aceObj->SetProperty(runtime_, "runLoopOnce", runtime_->NewFunction(JsRunLoopOnce))) { in RegisterPaModule()
232 if (!aceObj->SetProperty(runtime_, "runMicrotasks", runtime_->NewFunction(JsRunMicrotasks))) { in RegisterPaModule()
237 if (!global->SetProperty(runtime_, "Particle", aceObj)) { in RegisterPaModule()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp2684 shared_ptr<JsValue> aceObj = runtime_->NewObject(); in RegisterAceModule() local
2685 if (!aceObj) { in RegisterAceModule()
2689 if (!aceObj->SetProperty(runtime_, "domCreateBody", runtime_->NewFunction(JsDomCreateBody))) { in RegisterAceModule()
2692 if (!aceObj->SetProperty(runtime_, "domAddElement", runtime_->NewFunction(JsDomAddElement))) { in RegisterAceModule()
2695 if (!aceObj->SetProperty(runtime_, "removeElement", runtime_->NewFunction(JsRemoveElement))) { in RegisterAceModule()
2698 …if (!aceObj->SetProperty(runtime_, "updateElementAttrs", runtime_->NewFunction(JsUpdateElementAttr… in RegisterAceModule()
2704 if (!aceObj->SetProperty(runtime_, "onCreateFinish", runtime_->NewFunction(JsOnCreateFinish))) { in RegisterAceModule()
2707 if (!aceObj->SetProperty(runtime_, "onUpdateFinish", runtime_->NewFunction(JsOnUpdateFinish))) { in RegisterAceModule()
2710 if (!aceObj->SetProperty(runtime_, "callNative", runtime_->NewFunction(JsCallNative))) { in RegisterAceModule()
2713 if (!aceObj->SetProperty(runtime_, "callComponent", runtime_->NewFunction(JsCallComponent))) { in RegisterAceModule()
[all …]