/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_subwindow.h | 69 MOCK_METHOD2(CloseToast, void(int32_t toastId, std::function<void(int32_t)>&& callback));
|
/foundation/arkui/ace_engine/frameworks/base/subwindow/ |
H A D | subwindow_manager.cpp | 756 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 D | subwindow.h | 169 virtual void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) = 0;
|
H A D | subwindow_manager.h | 115 ACE_FORCE_EXPORT void CloseToast(
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | dialog_container.h | 166 static void CloseToast(int32_t instanceId, const int32_t toastId, std::function<void(int32_t)>&& callback);
|
H A D | dialog_container.cpp | 478 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 D | frontend_delegate.h | 174 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 D | subwindow_ohos.h | 105 void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback) override;
|
H A D | subwindow_ohos.cpp | 1401 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 D | prompt_action.cpp | 538 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 D | overlay_manager_extend_test_ng.cpp | 896 * @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 D | frontend_delegate_declarative_ng.h | 140 void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback = nullptr) override;
|
H A D | frontend_delegate_declarative_ng.cpp | 1056 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 D | frontend_delegate_declarative.h | 198 void CloseToast(const int32_t toastId, std::function<void(int32_t)>&& callback = nullptr) override;
|
H A D | frontend_delegate_declarative.cpp | 1568 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 D | overlay_manager.h | 167 void CloseToast(int32_t toastId, const std::function<void(int32_t)>& callback);
|
H A D | overlay_manager.cpp | 1405 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()
|