Searched refs:arkRuntime (Results 1 – 5 of 5) sorted by relevance
590 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 …]
266 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsLoadDocument() local267 arkRuntime->AddRootView(rootView); in JsLoadDocument()436 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsPreviewerComponent() local437 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() local453 bool isComponentPreview = arkRuntime->GetPreviewFlag(); in JsGetPreviewComponentFlag()465 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsStorePreviewComponents() local483 arkRuntime->AddPreviewComponent(name, obj); in JsStorePreviewComponents()492 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsGetRootView() local[all …]
53 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in CreatePixelMapFromNapiValue() local54 if (!arkRuntime) { in CreatePixelMapFromNapiValue()59 JSValueWrapper valueWrapper = arkJsValue->GetValue(arkRuntime); in CreatePixelMapFromNapiValue()1830 auto arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in JsGetPixelMap() local1831 if (!arkRuntime) { in JsGetPixelMap()1835 auto jsValue = std::make_shared<ArkJSValue>(arkRuntime, NapiValueToLocalValue(napiValue)); in JsGetPixelMap()
93 shared_ptr<ArkJSRuntime> arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime); in CreatePixelMapFromNapiValue() local94 if (!arkRuntime) { in CreatePixelMapFromNapiValue()99 JSValueWrapper valueWrapper = arkJsValue->GetValue(arkRuntime); in CreatePixelMapFromNapiValue()2905 auto arkRuntime = std::static_pointer_cast<ArkJSRuntime>(runtime_); in InitJsEnv() local2906 arkRuntime->SetLanguage("js"); in InitJsEnv()
866 auto arkRuntime = std::static_pointer_cast<ArkJSRuntime>(GetJsRuntime()); in NapiValueToJsValue() local867 return std::make_shared<ArkJSValue>(arkRuntime, NapiValueToLocalValue(napiValue)); in NapiValueToJsValue()