Home
last modified time | relevance | path

Searched refs:arkRuntime (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_engine.cpp590 localRuntime_ = arkRuntime; in PreloadAceModuleWorker()
598 PreloadJsEnums(arkRuntime); in PreloadAceModuleWorker()
671 PreloadUIContent(arkRuntime); in PreloadAceModule()
694 localRuntime_ = arkRuntime; in PreloadAceModule()
806 if (!arkRuntime) { in RootViewHandle()
829 if (!arkRuntime) { in DestroyRootViewHandle()
847 if (!arkRuntime) { in DestroyAllRootViewHandle()
870 if (!arkRuntime) { in FlushReload()
2481 if (!arkRuntime) { in GetStackTrace()
2545 if (!arkRuntime || !arkRuntime->GetEcmaVm()) { in SetContext()
[all …]
H A Djsi_view_register.cpp266 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsLoadDocument() local
267 arkRuntime->AddRootView(rootView); in JsLoadDocument()
436 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsPreviewerComponent() local
437 std::string requiredComponentName = arkRuntime->GetRequiredComponent(); in JsPreviewerComponent()
438 … panda::Global<panda::ObjectRef> obj = arkRuntime->GetPreviewComponent(vm, requiredComponentName); in JsPreviewerComponent()
452 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsGetPreviewComponentFlag() local
453 bool isComponentPreview = arkRuntime->GetPreviewFlag(); in JsGetPreviewComponentFlag()
465 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsStorePreviewComponents() local
483 arkRuntime->AddPreviewComponent(name, obj); in JsStorePreviewComponents()
492 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsGetRootView() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_canvas_bridge.cpp53 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in CreatePixelMapFromNapiValue() local
54 if (!arkRuntime) { in CreatePixelMapFromNapiValue()
59 JSValueWrapper valueWrapper = arkJsValue->GetValue(arkRuntime); in CreatePixelMapFromNapiValue()
1830 auto arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsGetPixelMap() local
1831 if (!arkRuntime) { in JsGetPixelMap()
1835 auto jsValue = std::make_shared<ArkJSValue>(arkRuntime, NapiValueToLocalValue(napiValue)); in JsGetPixelMap()
H A Djsi_engine.cpp93 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in CreatePixelMapFromNapiValue() local
94 if (!arkRuntime) { in CreatePixelMapFromNapiValue()
99 JSValueWrapper valueWrapper = arkJsValue->GetValue(arkRuntime); in CreatePixelMapFromNapiValue()
2905 auto arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime_); in InitJsEnv() local
2906 arkRuntime->SetLanguage("js"); in InitJsEnv()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp866 auto arkRuntime = std::static_pointer_cast<ArkJSRuntime>(GetJsRuntime()); in NapiValueToJsValue() local
867 return std::make_shared<ArkJSValue>(arkRuntime, NapiValueToLocalValue(napiValue)); in NapiValueToJsValue()