Home
last modified time | relevance | path

Searched refs:dialogAttr (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.cpp665 void FrontendDelegateDeclarativeNG::ShowDialog(const PromptDialogAttr& dialogAttr, in ShowDialog() argument
672 .title = dialogAttr.title, in ShowDialog()
673 .content = dialogAttr.message, in ShowDialog()
674 .autoCancel = dialogAttr.autoCancel, in ShowDialog()
676 .isShowInSubWindow = dialogAttr.showInSubWindow, in ShowDialog()
677 .isModal = dialogAttr.isModal, in ShowDialog()
678 .enableHoverMode = dialogAttr.enableHoverMode, in ShowDialog()
679 .maskRect = dialogAttr.maskRect, in ShowDialog()
681 if (dialogAttr.alignment.has_value()) { in ShowDialog()
682 dialogProperties.alignment = dialogAttr in ShowDialog()
702 ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, std::function<void(int32_t, int32_t)>&& callback, const std::set<std::string>& callbacks, std::function<void(bool)>&& onStatusChanged) ShowDialog() argument
727 ParsePropertiesFromAttr(const PromptDialogAttr &dialogAttr) ParsePropertiesFromAttr() argument
779 OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) OpenCustomDialog() argument
833 UpdateCustomDialog( const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) UpdateCustomDialog() argument
[all...]
H A Dfrontend_delegate_declarative_ng.h147 void ShowDialog(const PromptDialogAttr &dialogAttr, const std::vector<ButtonInfo> &buttons,
149 void ShowDialog(const PromptDialogAttr &dialogAttr, const std::vector<ButtonInfo> &buttons,
152 void OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) override;
155 void UpdateCustomDialog(const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr,
306 DialogProperties ParsePropertiesFromAttr(const PromptDialogAttr &dialogAttr);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend_abstract.cpp332 void CJFrontendAbstract::OpenCustomDialog(const PromptDialogAttr &dialogAttr, in OpenCustomDialog() argument
336 .onWillDismiss = dialogAttr.customOnWillDismiss, in OpenCustomDialog()
337 .isShowInSubWindow = dialogAttr.showInSubWindow, in OpenCustomDialog()
338 .isModal = dialogAttr.isModal, in OpenCustomDialog()
340 .customBuilder = dialogAttr.customBuilder, in OpenCustomDialog()
341 .maskRect = dialogAttr.maskRect in OpenCustomDialog()
350 if (dialogAttr.alignment.has_value()) { in OpenCustomDialog()
351 dialogProperties.alignment = dialogAttr.alignment.value(); in OpenCustomDialog()
353 if (dialogAttr.offset.has_value()) { in OpenCustomDialog()
354 dialogProperties.offset = dialogAttr in OpenCustomDialog()
[all...]
H A Dcj_frontend_abstract.h95 void OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.cpp1698 void FrontendDelegateDeclarative::ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument
1704 .title = dialogAttr.title, in ShowDialog()
1705 .content = dialogAttr.message, in ShowDialog()
1706 .autoCancel = dialogAttr.autoCancel, in ShowDialog()
1708 .onLanguageChange = dialogAttr.onLanguageChange, in ShowDialog()
1709 .isShowInSubWindow = dialogAttr.showInSubWindow, in ShowDialog()
1710 .isModal = dialogAttr.isModal, in ShowDialog()
1711 .enableHoverMode = dialogAttr.enableHoverMode, in ShowDialog()
1712 .maskRect = dialogAttr.maskRect, in ShowDialog()
1721 if (dialogAttr in ShowDialog()
1742 ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, std::function<void(int32_t, int32_t)>&& callback, const std::set<std::string>& callbacks, std::function<void(bool)>&& onStatusChanged) ShowDialog() argument
1781 ParsePropertiesFromAttr(const PromptDialogAttr &dialogAttr) ParsePropertiesFromAttr() argument
1833 OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) OpenCustomDialog() argument
1889 UpdateCustomDialog( const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) UpdateCustomDialog() argument
2029 ShowActionMenu(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, std::function<void(int32_t, int32_t)>&& callback) ShowActionMenu() argument
[all...]
H A Dfrontend_delegate_declarative.h206 void ShowDialog(const PromptDialogAttr &dialogAttr, const std::vector<ButtonInfo> &buttons,
208 void ShowDialog(const PromptDialogAttr &dialogAttr, const std::vector<ButtonInfo> &buttons,
214 void OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) override;
217 void UpdateCustomDialog(const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr,
230 void ShowActionMenu(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
445 DialogProperties ParsePropertiesFromAttr(const PromptDialogAttr &dialogAttr);
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/
H A Dsubwindow_ohos.h109 void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
114 void OpenCustomDialog(const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback) override;
184 void ShowDialogForAbility(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
186 void ShowDialogForService(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
188 void OpenCustomDialogForAbility(const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback);
189 void OpenCustomDialogForService(const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback);
H A Dsubwindow_ohos.cpp1493 void SubwindowOhos::ShowDialogForAbility(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialogForAbility() argument
1510 delegate->ShowDialog(dialogAttr, buttons, std::move(callback), callbacks); in ShowDialogForAbility()
1513 void SubwindowOhos::ShowDialogForService(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialogForService() argument
1523 auto showDialogCallback = [dialogAttr, &buttons, callbackParam = std::move(callback), &callbacks]() { in ShowDialogForService()
1546 Platform::DialogContainer::ShowDialog(childContainerId, dialogAttr, buttons, in ShowDialogForService()
1568 void SubwindowOhos::ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument
1573 ShowDialogForService(dialogAttr, buttons, std::move(callback), callbacks); in ShowDialog()
1575 ShowDialogForAbility(dialogAttr, buttons, std::move(callback), callbacks); in ShowDialog()
1580 const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback) in OpenCustomDialogForAbility()
1596 delegate->OpenCustomDialog(dialogAttr, st in OpenCustomDialogForAbility()
1579 OpenCustomDialogForAbility( const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback) OpenCustomDialogForAbility() argument
1599 OpenCustomDialogForService( const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback) OpenCustomDialogForService() argument
1606 OpenCustomDialog(const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback) OpenCustomDialog() argument
[all...]
/foundation/arkui/ace_engine/frameworks/base/subwindow/
H A Dsubwindow_manager.cpp571 const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr, std::function<void(int32_t)>&& callback) in UpdateCustomDialogNG()
575 .autoCancel = dialogAttr.autoCancel, in UpdateCustomDialogNG()
576 .maskColor = dialogAttr.maskColor, in UpdateCustomDialogNG()
579 if (dialogAttr.alignment.has_value()) { in UpdateCustomDialogNG()
580 dialogProperties.alignment = dialogAttr.alignment.value(); in UpdateCustomDialogNG()
582 if (dialogAttr.offset.has_value()) { in UpdateCustomDialogNG()
583 dialogProperties.offset = dialogAttr.offset.value(); in UpdateCustomDialogNG()
885 void SubwindowManager::ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument
901 subwindow->ShowDialog(dialogAttr, buttons, std::move(napiCallback), dialogCallbacks); in ShowDialog()
909 subwindow->ShowDialog(dialogAttr, button in ShowDialog()
570 UpdateCustomDialogNG( const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr, std::function<void(int32_t)>&& callback) UpdateCustomDialogNG() argument
959 OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) OpenCustomDialog() argument
[all...]
H A Dsubwindow_manager.h96 const WeakPtr<NG::UINode>& node, const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback);
120 ACE_FORCE_EXPORT void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
126 ACE_FORCE_EXPORT void OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback);
H A Dsubwindow.h173 virtual void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
178 virtual void OpenCustomDialog(const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback) = 0;
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Dfrontend_delegate.h179 virtual void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument
184 virtual void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument
188 virtual void OpenCustomDialog(const PromptDialogAttr &dialogAttr, std::function<void(int32_t)> &&callback) {}; in OpenCustomDialog() argument
191 virtual void UpdateCustomDialog(const WeakPtr<NG::UINode>& node, const PromptDialogAttr &dialogAttr, in UpdateCustomDialog() argument
206 virtual void ShowActionMenu(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowActionMenu() argument
/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_subwindow.h74 void(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
82 MOCK_METHOD2(OpenCustomDialog, void(const PromptDialogAttr& dialogAttr, std::function<void(int32_t)>&& callback));
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Ddialog_container.h170 static void ShowDialog(int32_t instanceId, const PromptDialogAttr& dialogAttr,
H A Ddialog_container.cpp518 void DialogContainer::ShowDialog(int32_t instanceId, const PromptDialogAttr& dialogAttr, in ShowDialog() argument
529 delegate->ShowDialog(dialogAttr, buttons, std::move(callback), callbacks, [instanceId = instanceId](bool isShow) { in ShowDialog()

Completed in 23 milliseconds