Home
last modified time | relevance | path

Searched refs:dialogId (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/
H A Ddialog_tween_component.h133 void SetCustomDialogId(int32_t dialogId) in SetCustomDialogId() argument
135 customDialogId_ = dialogId; in SetCustomDialogId()
144 void SetDialogId(int32_t dialogId) in SetDialogId() argument
146 dialogId_ = dialogId; in SetDialogId()
H A Drender_dialog_tween.cpp225 …animator_->AddStopListener([successType, lastStack, weak = WeakClaim(this), dialogId = dialogId_] { in CallOnSuccess()
230 lastStack->PopDialog(dialogId); in CallOnSuccess()
539 … animator_->AddStopListener([lastStack, weak = AceType::WeakClaim(this), dialogId = dialogId_] { in PopDialog()
544 lastStack->PopDialog(dialogId); in PopDialog()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcustom_dialog_controller_model_impl.cpp198 auto dialogId = AceType::DynamicCast<DialogComponent>(showDialogComponent)->GetDialogId(); in CloseDialog() local
201 animator->AddStopListener([lastStack, dialogId] { in CloseDialog()
203 lastStack->PopDialog(dialogId); in CloseDialog()
210 lastStack->PopDialog(dialogId); in CloseDialog()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-components-dialog.md12 <dialog class="dialogClass" id="dialogId" dragable="true">
59 this.$element('dialogId').show()
75 <dialog class="dialogClass" id="dialogId" oncancel="canceldialog">
130 this.$element('dialogId').show()
136 this.$element('dialogId').close()
H A Dui-js-components-input.md42 <dialog class="dialogClass" id="dialogId">
96 this.$element('dialogId').show()
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-components-dialog.md14 <dialog class="dialogClass" id="dialogId" dragable="true">
61 this.$element('dialogId').show()
77 <dialog class="dialogClass" id="dialogId" oncancel="canceldialog">
132 this.$element('dialogId').show()
138 this.$element('dialogId').close()
H A Dui-js-components-input.md43 <dialog class="dialogClass" id="dialogId">
97 this.$element('dialogId').show()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Doverlay_dialog_transition_test_ng.cpp696 int32_t dialogId = dialog->GetId(); variable
697 auto dialogNode = overlayManager->GetDialog(dialogId);
699 EXPECT_EQ(dialogId, dialogNode->GetId());
932 int32_t dialogId = dialog->GetId(); variable
933 auto dialogNode = overlayManager->GetDialog(dialogId);
935 EXPECT_EQ(dialogId, dialogNode->GetId());
1000 int32_t dialogId = dialog->GetId(); variable
1001 auto dialogNode = overlayManager->GetDialog(dialogId);
1003 EXPECT_EQ(dialogId, dialogNode->GetId());
H A Doverlay_manager_dialog_test_ng.cpp226 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
228 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
295 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
297 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
384 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
386 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
441 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
443 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
502 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
575 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
[all …]
H A Doverlay_manager_extend_test_ng.cpp620 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
622 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
664 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
666 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
H A Doverlay_test_ng.cpp1597 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
1599 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
1778 auto dialogId = ElementRegister::GetInstance()->MakeUniqueId(); variable
1780 …V2::DIALOG_ETS_TAG, dialogId, AceType::MakeRefPtr<DialogPattern>(AceType::MakeRefPtr<DialogTheme>(…
1938 int32_t dialogId = dialog->GetId(); variable
1939 auto dialogNode = overlayManager->GetDialog(dialogId);
1941 EXPECT_EQ(dialogId, dialogNode->GetId());
1963 auto callbackFunc = [overlayManager](int32_t dialogId) { in __anona7e7e9b92102() argument
1968 overlayManager->CloseCustomDialog(dialogId); in __anona7e7e9b92102()
1975 overlayManager->CloseCustomDialog(dialogId); in __anona7e7e9b92102()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_dialog/
H A Dcustom_dialog_element.cpp109 …ddStopListener([weakStack = AceType::WeakClaim(AceType::RawPtr(lastStack)), dialogId = dialogId_] { in CloseDialog()
112 lastStack->PopDialog(dialogId); in CloseDialog()
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_subwindow.h83 MOCK_METHOD1(CloseCustomDialog, void(const int32_t dialogId));
87 MOCK_METHOD1(CloseCustomDialogNG, void(int32_t dialogId));
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/subwindow/
H A Dsubwindow.h79 virtual void CloseCustomDialogNG(int32_t dialogId) = 0;
183 virtual void CloseCustomDialog(const int32_t dialogId) = 0;
H A Dsubwindow_manager.h95 void CloseCustomDialogNG(int32_t dialogId);
135 void CloseCustomDialog(const int32_t dialogId);
H A Dsubwindow_manager.cpp589 void SubwindowManager::CloseCustomDialogNG(int32_t dialogId) in CloseCustomDialogNG() argument
596 if (overlay->GetDialogMap().find(dialogId) != overlay->GetDialogMap().end()) { in CloseCustomDialogNG()
597 return overlay->CloseCustomDialog(dialogId); in CloseCustomDialogNG()
1010 void SubwindowManager::CloseCustomDialog(const int32_t dialogId) in CloseCustomDialog() argument
1014 dialogId, containerId); in CloseCustomDialog()
1019 subwindow->CloseCustomDialog(dialogId); in CloseCustomDialog()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/
H A Ddialog_component.h278 void SetCustomDialogId(int32_t dialogId) in SetCustomDialogId() argument
280 customDialogId_ = dialogId; in SetCustomDialogId()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp1984 callBack = [asyncContext](int32_t dialogId) mutable { in ParseCustomDialogIdCallback() argument
1997 [asyncContext, dialogId]() { in ParseCustomDialogIdCallback()
2012 if (dialogId > 0) { in ParseCustomDialogIdCallback()
2013 napi_create_int32(asyncContext->env, dialogId, &ret); in ParseCustomDialogIdCallback()
2016 std::string strMsg = GetErrorMsg(dialogId); in ParseCustomDialogIdCallback()
2017 std::string strCode = GetErrorCode(dialogId); in ParseCustomDialogIdCallback()
2111 delegate->CloseCustomDialog(dialogId); in CloseCustomDialog()
2132 delegate->CloseCustomDialog(dialogId); in CloseCustomDialog()
2149 int32_t dialogId = -1; in JSPromptCloseCustomDialog() local
2162 dialogId = -1; in JSPromptCloseCustomDialog()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-promptAction.md473 }).then((dialogId: number) => {
474 this.customDialogComponentId = dialogId
547 }).then((dialogId: number) => {
548 customDialogId = dialogId
562 closeCustomDialog(dialogId: number): void
574 | dialogId | number | 是 | openCustomDialog返回的对话框id。 |
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/
H A Dsubwindow_ohos.h90 void CloseCustomDialogNG(int32_t dialogId) override;
113 void CloseCustomDialog(const int32_t dialogId) override;
H A Dsubwindow_ohos.cpp1100 void SubwindowOhos::CloseCustomDialogNG(int32_t dialogId) in CloseCustomDialogNG() argument
1111 return overlay->CloseCustomDialog(dialogId); in CloseCustomDialogNG()
1190 int32_t dialogId = gToastDialogId.fetch_add(1, std::memory_order_relaxed); in InitToastDialogWindow() local
1191 std::string windowName = "ARK_APP_SUBWINDOW_TOAST_DIALOG_" + std::to_string(dialogId); in InitToastDialogWindow()
1582 void SubwindowOhos::CloseCustomDialog(const int32_t dialogId) in CloseCustomDialog() argument
1593 return overlay->CloseCustomDialog(dialogId); in CloseCustomDialog()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.h174 RefPtr<FrameNode> GetDialog(int32_t dialogId);
208 void CloseCustomDialog(const int32_t dialogId);
221 void SetMaskNodeId(int32_t dialogId, int32_t maskId) in SetMaskNodeId() argument
223 maskNodeIdMap_[dialogId] = maskId; in SetMaskNodeId()
226 int32_t GetMaskNodeIdWithDialogId(int32_t dialogId);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_base_component.cpp222 auto dialogId = dialogComponent->GetDialogId(); in CloseDialog() local
223 lastStack->PopDialog(dialogId); in CloseDialog()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.cpp816 void FrontendDelegateDeclarativeNG::CloseCustomDialog(const int32_t dialogId) in CloseCustomDialog() argument
818 auto task = [dialogId](const RefPtr<NG::OverlayManager>& overlayManager) { in CloseCustomDialog()
821 overlayManager->CloseCustomDialog(dialogId); in CloseCustomDialog()
822 SubwindowManager::GetInstance()->CloseCustomDialogNG(dialogId); in CloseCustomDialog()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-promptAction.md565 }).then((dialogId: number) => {
566 this.customDialogComponentId = dialogId
636 }).then((dialogId: number) => {
637 customDialogId = dialogId
651 closeCustomDialog(dialogId: number): void
663 | dialogId | number | Yes | ID of the custom dialog box to close. It is returned from **openCustom…

12