Home
last modified time | relevance | path

Searched refs:onDestroy (Results 1 - 25 of 27) sorted by relevance

12

/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/dfx/dfx6/
H A Dindex.js41 onDestroy: lifeCycleFunc().onDestroy,
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/dfx/dfx5/
H A Dindex.js45 onDestroy: lifeCycleFunc().onDestroy,
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/dfx/dfx4/
H A Dindex.js49 onDestroy: lifeCycleFunc().onDestroy
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dxcomponent_model_impl.cpp67 void XComponentModelImpl::SetOnDestroy(DestroyEvent&& onDestroy) in SetOnDestroy() argument
76 EventMarker([func = std::move(onDestroy)](const std::string& param) { func(); })); in SetOnDestroy()
H A Dxcomponent_model_impl.h30 void SetOnDestroy(DestroyEvent&& onDestroy) override;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_model_ng.h49 void SetOnDestroy(DestroyEvent&& onDestroy) override;
51 void RegisterOnDestroy(const RefPtr<AceType>& node, DestroyEvent&& onDestroy) override;
82 static void SetOnDestroy(FrameNode* frameNode, DestroyEvent&& onDestroy);
H A Dxcomponent_model.h61 virtual void SetOnDestroy(DestroyEvent&& onDestroy) = 0;
63 virtual void RegisterOnDestroy(const RefPtr<AceType>& node, DestroyEvent&& onDestroy) {}; in RegisterOnDestroy() argument
H A Dxcomponent_model_ng.cpp146 void XComponentModelNG::SetOnDestroy(DestroyEvent&& onDestroy) in SetOnDestroy() argument
156 eventHub->SetOnDestroy(std::move(onDestroy)); in SetOnDestroy()
159 void XComponentModelNG::SetOnDestroy(FrameNode* frameNode, DestroyEvent&& onDestroy) in SetOnDestroy() argument
169 eventHub->SetOnDestroy(std::move(onDestroy)); in SetOnDestroy()
185 void XComponentModelNG::RegisterOnDestroy(const RefPtr<AceType>& node, DestroyEvent&& onDestroy) in RegisterOnDestroy() argument
195 eventHub->SetOnDestroy(std::move(onDestroy)); in RegisterOnDestroy()
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/common/js/
H A Dpicker_view.js20 onDestroy: function() {
21 console.log("onDestroy called...");
/foundation/arkui/ace_engine/frameworks/core/components/ability_component/resource/
H A Dability_component_delegate.cpp29 constexpr char ABILITY_COMPONENT_EVENT_DESTROY[] = "onDestroy";
288 auto onDestroy = *abilityComponent_->GetOnDestroy(); in OnDestroy() local
290 [onDestroy]() { in OnDestroy()
291 if (onDestroy) { in OnDestroy()
292 onDestroy(); in OnDestroy()
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dmodal_ui_extension_config.h47 std::function<void()> onDestroy; member
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/chart/21/
H A Dindex.js47 onDestroy() {
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/async/async001/
H A Dindex.js47 onDestroy() {
48 console.log("onDestroy called...");
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/common/js/
H A Dgeneral.js97 onDestroy() {
98 console.log("onDestroy called...");
/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/
H A Dxcomponent_test_ng.cpp194 * @tc.desc: Test XComponent onLoad and onDestroy event.
207 auto onDestroy = [&onDestroyKey]() { onDestroyKey = CHECK_KEY; }; in HWTEST_F() local
211 testProperty.destroyEvent = std::move(onDestroy); in HWTEST_F()
606 auto onDestroy = [&onDestroyKey]() { onDestroyKey = CHECK_KEY; }; in HWTEST_F() local
610 testProperty.destroyEvent = std::move(onDestroy); in HWTEST_F()
789 auto onDestroy = [&onDestroyKey]() { onDestroyKey = CHECK_KEY; }; in HWTEST_F() local
805 XComponentModelNG().RegisterOnDestroy(frameNode, std::move(onDestroy)); in HWTEST_F()
828 XComponentModelNG().RegisterOnDestroy(frameNode, std::move(onDestroy)); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/inner_api/auto_fill_manager/include/
H A Dauto_fill_extension_callback.h48 void onDestroy();
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_xcomponent.cpp138 JSClass<JSXComponent>::StaticMethod("onDestroy", &JSXComponent::JsOnDestroy); in JSBind()
338 auto onDestroy = [execCtx, funcRef = std::move(jsFunc), node = AceType::WeakClaim(AceType::RawPtr(frameNode))]() { in RegisterOnDestroy() local
340 ACE_SCORING_EVENT("XComponentNode.onDestroy"); in RegisterOnDestroy()
344 XComponentModel::GetInstance()->RegisterOnDestroy(frameNode, std::move(onDestroy)); in RegisterOnDestroy()
354 auto onDestroy = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in JsOnDestroy() local
356 ACE_SCORING_EVENT("XComponent.onDestroy"); in JsOnDestroy()
361 XComponentModel::GetInstance()->SetOnDestroy(std::move(onDestroy)); in JsOnDestroy()
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Dui_extension_component_test_ng.cpp145 auto onDestroy = []() {}; in CreateUecNode() local
160 .onDestroy = onDestroy, in CreateUecNode()
189 auto onDestroy = []() {}; in SetCallbacks() local
199 pattern->SetModalOnDestroy(onDestroy); in SetCallbacks()
261 auto onDestroy = []() {}; in HWTEST_F() local
276 .onDestroy = onDestroy, in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/inner_api/auto_fill_manager/src/
H A Dauto_fill_manager.cpp183 callback.onDestroy = [extensionCallback]() { extensionCallback->onDestroy(); }; in BindModalUIExtensionCallback()
H A Dauto_fill_extension_callback.cpp216 void AutoFillExtensionCallback::onDestroy() in onDestroy() function in OHOS::AbilityRuntime::AutoFillExtensionCallback
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dai_write_adapter.cpp120 callbacks.onDestroy = [weak = WeakClaim(this)]() { in BindModalUIExtensionCallback()
121 TAG_LOGD(AceLogTag::ACE_UIEXTENSIONCOMPONENT, "UIExtension onDestroy."); in BindModalUIExtensionCallback()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dui_extension_model_ng.cpp61 pattern->SetModalOnDestroy(std::move(callbacks.onDestroy)); in Create()
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/
H A Dpicker_n_exporter.cpp316 .onDestroy = std::bind(&ModalUICallback::OnDestroy, callback), in StartPickerExtension()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_xcomponent_bridge.cpp630 auto onDestroy = [vm, func = panda::CopyableGlobal(vm, func), frameNode]() { in SetOnDestroy() local
636 XComponentModelNG::SetOnDestroy(frameNode, std::move(onDestroy)); in SetOnDestroy()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsXNode.js2330 this.xcomponentNode_.registerOnDestroyCallback(this.nativeModule_, this.onDestroy);
2335 onDestroy() { }

Completed in 18 milliseconds

12