Home
last modified time | relevance | path

Searched refs:CloseToast (Results 1 - 17 of 17) sorted by relevance

/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_subwindow.h69 MOCK_METHOD2(CloseToast, void(int32_t toastId, std::function<void(int32_t)>&& callback));
/foundation/arkui/ace_engine/frameworks/base/subwindow/
H A Dsubwindow_manager.cpp756 void SubwindowManager::CloseToast( in CloseToast() function in OHOS::Ace::SubwindowManager
769 subwindow->CloseToast(toastId, std::move(callback)); in CloseToast()
774 subwindow->CloseToast(toastId, std::move(callback)); in CloseToast()
783 subwindow->CloseToast(toastId, std::move(callback)); in CloseToast()
H A Dsubwindow.h169 virtual void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) = 0;
H A Dsubwindow_manager.h115 ACE_FORCE_EXPORT void CloseToast(
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Ddialog_container.h166 static void CloseToast(int32_t instanceId, const int32_t toastId, std::function<void(int32_t)>&& callback);
H A Ddialog_container.cpp478 void DialogContainer::CloseToast(int32_t instanceId, int32_t toastId, std::function<void(int32_t)>&& callback) in CloseToast() function in OHOS::Ace::Platform::DialogContainer
494 delegate->CloseToast(toastId, std::move(callback)); in CloseToast()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Dfrontend_delegate.h174 virtual void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) {}; in CloseToast() function in OHOS::Ace::Framework::FrontendDelegate
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/
H A Dsubwindow_ohos.h105 void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) override;
H A Dsubwindow_ohos.cpp1401 void SubwindowOhos::CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) in CloseToast() function in SubwindowOhos
1411 Platform::DialogContainer::CloseToast(childContainerId, toastId, std::move(callback)); in CloseToast()
1419 delegate->CloseToast(toastId, std::move(callback)); in CloseToast()
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp538 void CloseToast(napi_env env, int32_t toastId, NG::ToastShowMode showMode) in CloseToast() function
551 delegate->CloseToast(toastId, std::move(toastCloseCallback)); in CloseToast()
556 SubwindowManager::GetInstance()->CloseToast(toastId, showMode, std::move(toastCloseCallback)); in CloseToast()
564 delegate->CloseToast(toastId, std::move(toastCloseCallback)); in CloseToast()
566 SubwindowManager::GetInstance()->CloseToast(toastId, showMode, std::move(toastCloseCallback)); in CloseToast()
595 CloseToast(env, toastId, showMode); in JSPromptCloseToast()
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Doverlay_manager_extend_test_ng.cpp896 * @tc.desc: Test OverlayManager::ShowToast->CloseToast.
934 * @tc.steps: step6. run CloseToast. in HWTEST_F()
938 overlayManager->CloseToast(toastId, closeCallback); in HWTEST_F()
950 * @tc.desc: Test OverlayManager::CloseToast.
975 * @tc.steps: step3. run CloseToast. in HWTEST_F()
977 overlayManager->CloseToast(1, closeCallback); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.h140 void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback = nullptr) override;
H A Dfrontend_delegate_declarative_ng.cpp1056 void FrontendDelegateDeclarativeNG::CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) in CloseToast() function in OHOS::Ace::Framework::FrontendDelegateDeclarativeNG
1065 overlayManager->CloseToast(toastId, std::move(callback)); in CloseToast()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.h198 void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback = nullptr) override;
H A Dfrontend_delegate_declarative.cpp1568 void FrontendDelegateDeclarative::CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) in CloseToast() function in OHOS::Ace::Framework::FrontendDelegateDeclarative
1579 overlayManager->CloseToast(toastId, std::move(callback)); in CloseToast()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.h167 void CloseToast(int32_t toastId, const std::function<void(int32_t)>& callback);
H A Doverlay_manager.cpp1405 void OverlayManager::CloseToast(int32_t toastId, const std::function<void(int32_t)>& callback) in CloseToast() function in OHOS::Ace::NG::OverlayManager
1409 TAG_LOGE(AceLogTag::ACE_OVERLAY, "Parameters of CloseToast are incomplete because of no callback."); in CloseToast()

Completed in 38 milliseconds