/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | alert_dialog_model_ng.cpp | 36 arg.onCancel = eventFunc; in SetOnCancel() 90 hub->SetOnCancel(arg.onCancel); in SetShowDialog()
|
H A D | dialog_view.cpp | 91 // set onCancel callback in CreateDialogNode() 94 hub->SetOnCancel(param.onCancel); in CreateDialogNode()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | textpicker_model_impl.cpp | 86 NG::TextPickerSettingData& settingData, std::function<void()>&& onCancel, in SetTextPickerDialogShow() 108 auto cancelId = EventMarker(std::move(onCancel)); in SetTextPickerDialogShow() 85 SetTextPickerDialogShow(RefPtr<AceType>& PickerText, NG::TextPickerSettingData& settingData, std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept, std::function<void(const std::string&)>&& onChange, TextPickerDialog& textPickerDialog, TextPickerDialogEvent& textPickerDialogEvent, const std::vector<ButtonInfo>& buttonInfos) SetTextPickerDialogShow() argument
|
H A D | timepicker_model_impl.cpp | 61 NG::TimePickerSettingData& settingData, std::function<void()>&& onCancel, in SetTimePickerDialogShow() 84 auto cancelId = EventMarker(std::move(onCancel)); in SetTimePickerDialogShow() 60 SetTimePickerDialogShow(PickerDialogInfo& pickerDialog, NG::TimePickerSettingData& settingData, std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept, std::function<void(const std::string&)>&& onChange, TimePickerDialogEvent& timePickerDialogEvent, const std::vector<ButtonInfo>& buttonInfos) SetTimePickerDialogShow() argument
|
H A D | picker_model_impl.cpp | 94 NG::DatePickerSettingData& settingData, std::function<void()>&& onCancel, in SetDatePickerDialogShow() 152 auto cancelId = EventMarker(std::move(onCancel)); in SetDatePickerDialogShow() 93 SetDatePickerDialogShow(PickerDialogInfo& pickerDialog, NG::DatePickerSettingData& settingData, std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept, std::function<void(const std::string&)>&& onDateAccept, std::function<void(const std::string&)>&& onDateChange, std::function<void(const std::string&)>&& onChange, DatePickerType pickerType, PickerDialogEvent& pickerDialogEvent, const std::vector<ButtonInfo>& buttonInfos) SetDatePickerDialogShow() argument
|
H A D | timepicker_model_impl.h | 49 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
H A D | picker_model_impl.h | 51 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
H A D | textpicker_model_impl.h | 83 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/ |
H A D | editabletitlebar.js | 109 this.onCancel = undefined; 150 if (l10.onCancel !== undefined) { 151 this.onCancel = l10.onCancel; 335 action: () => this.onCancel ? this.onCancel() : this.getUIContext()?.getRouter()?.back() 347 action: () => this.onCancel ? this.onCancel() : this.getUIContext()?.getRouter()?.back() 374 action: () => this.onCancel && this.onCancel(), [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_customdialog_controller_ffi.cpp | 71 auto onCancel = [cjCallback = cancelFunction_, node = frameNode]() { in NativeCustomDialogController() local 77 dialogProperties_.onCancel = onCancel; in NativeCustomDialogController()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/action_sheet/ |
H A D | action_sheet_model_ng.cpp | 64 arg.onCancel = eventFunc; in SetCancel()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_model.h | 69 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
H A D | timepicker_model_ng.h | 79 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_custom_dialog_controller.cpp | 102 auto onCancel = [execCtx = info.GetExecutionContext(), func = std::move(jsCancelFunction), in ConstructorCallback() local 105 ACE_SCORING_EVENT("onCancel"); in ConstructorCallback() 111 instance->dialogProperties_.onCancel = onCancel; in ConstructorCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | picker_model.h | 89 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
H A D | datepicker_model_ng.h | 86 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/ |
H A D | image_animator_model_ng.h | 58 static void SetOnCancel(FrameNode* frameNode, std::function<void()>&& onCancel);
|
H A D | image_animator_model_ng.cpp | 286 void ImageAnimatorModelNG::SetOnCancel(FrameNode* frameNode, std::function<void()>&& onCancel) in SetOnCancel() argument 291 eventHub->SetCancelEvent(onCancel); in SetOnCancel()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | animate_impl.h | 93 void (*onCancel)(ArkUI_AnimatorEvent* event); member
|
H A D | animate_impl.cpp | 149 animatorOption->onCancel = option->onCancel; in ConvertAnimatorOption()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_image_animator.cpp | 75 JSClass<JSImageAnimator>::StaticMethod("onCancel", &JSImageAnimator::OnCancel, opt); in JSBind() 229 auto onCancel = GetAnimatorEvent(info, "ImageAnimator.onCancel"); in OnCancel() local 230 ImageAnimatorModel::GetInstance()->SetOnCancel(std::move(onCancel)); in OnCancel()
|
H A D | js_textpicker.cpp | 212 JSClass<JSTextPicker>::StaticMethod("onCancel", &JSTextPicker::OnCancel); in JSBind() 1353 auto onCancel = paramObject->GetProperty("onCancel"); in Show() local 1355 if (!onCancel->IsUndefined() && onCancel->IsFunction()) { in Show() 1356 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); in Show() 1359 ACE_SCORING_EVENT("TextPickerDialog.onCancel"); in Show() 1740 auto onCancel = paramObject->GetProperty("onCancel"); in DialogCancelEvent() local 1742 if (!onCancel in DialogCancelEvent() 1776 auto onCancel = paramObject->GetProperty("onCancel"); AddEvent() local [all...] |
H A D | js_datepicker.cpp | 948 auto onCancel = paramObject->GetProperty("onCancel"); in GetCancelEvent() local 949 if (!onCancel->IsUndefined() && onCancel->IsFunction()) { in GetCancelEvent() 950 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); in GetCancelEvent() 953 ACE_SCORING_EVENT("DatePickerDialog.onCancel"); in GetCancelEvent() 1704 auto onCancel = paramObject->GetProperty("onCancel"); in Show() local 1705 if (!onCancel->IsUndefined() && onCancel in Show() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_model.h | 103 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_frontend_abstract.cpp | 253 dialogProperties.onCancel = [callback, taskExecutor = taskExecutor_] { in ShowDialogInner() 300 dialogProperties.onCancel = [callback, taskExecutor = taskExecutor_] { in ShowActionMenuInner()
|