/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/dfx/dfx6/ |
H A D | index.js | 41 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 D | index.js | 45 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 D | index.js | 49 onDestroy: lifeCycleFunc().onDestroy
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | xcomponent_model_impl.cpp | 67 void XComponentModelImpl::SetOnDestroy(DestroyEvent&& onDestroy) in SetOnDestroy() argument 76 EventMarker([func = std::move(onDestroy)](const std::string& param) { func(); })); in SetOnDestroy()
|
H A D | xcomponent_model_impl.h | 30 void SetOnDestroy(DestroyEvent&& onDestroy) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_model_ng.h | 49 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 D | xcomponent_model.h | 61 virtual void SetOnDestroy(DestroyEvent&& onDestroy) = 0; 63 virtual void RegisterOnDestroy(const RefPtr<AceType>& node, DestroyEvent&& onDestroy) {}; in RegisterOnDestroy() argument
|
H A D | xcomponent_model_ng.cpp | 146 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 D | picker_view.js | 20 onDestroy: function() { 21 console.log("onDestroy called...");
|
/foundation/arkui/ace_engine/frameworks/core/components/ability_component/resource/ |
H A D | ability_component_delegate.cpp | 29 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 D | modal_ui_extension_config.h | 47 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 D | index.js | 47 onDestroy() {
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/async/async001/ |
H A D | index.js | 47 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 D | general.js | 97 onDestroy() { 98 console.log("onDestroy called...");
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_test_ng.cpp | 194 * @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 D | auto_fill_extension_callback.h | 48 void onDestroy();
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_xcomponent.cpp | 138 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 D | ui_extension_component_test_ng.cpp | 145 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 D | auto_fill_manager.cpp | 183 callback.onDestroy = [extensionCallback]() { extensionCallback->onDestroy(); }; in BindModalUIExtensionCallback()
|
H A D | auto_fill_extension_callback.cpp | 216 void AutoFillExtensionCallback::onDestroy() in onDestroy() function in OHOS::AbilityRuntime::AutoFillExtensionCallback
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | ai_write_adapter.cpp | 120 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 D | ui_extension_model_ng.cpp | 61 pattern->SetModalOnDestroy(std::move(callbacks.onDestroy)); in Create()
|
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/ |
H A D | picker_n_exporter.cpp | 316 .onDestroy = std::bind(&ModalUICallback::OnDestroy, callback), in StartPickerExtension()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_xcomponent_bridge.cpp | 630 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 D | jsXNode.js | 2330 this.xcomponentNode_.registerOnDestroyCallback(this.nativeModule_, this.onDestroy); 2335 onDestroy() { }
|