Home
last modified time | relevance | path

Searched refs:onCancel (Results 1 - 25 of 42) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Dalert_dialog_model_ng.cpp36 arg.onCancel = eventFunc; in SetOnCancel()
90 hub->SetOnCancel(arg.onCancel); in SetShowDialog()
H A Ddialog_view.cpp91 // set onCancel callback in CreateDialogNode()
94 hub->SetOnCancel(param.onCancel); in CreateDialogNode()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtextpicker_model_impl.cpp86 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 Dtimepicker_model_impl.cpp61 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 Dpicker_model_impl.cpp94 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 Dtimepicker_model_impl.h49 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
H A Dpicker_model_impl.h51 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
H A Dtextpicker_model_impl.h83 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/
H A Deditabletitlebar.js109 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 Dcj_customdialog_controller_ffi.cpp71 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 Daction_sheet_model_ng.cpp64 arg.onCancel = eventFunc; in SetCancel()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_model.h69 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
H A Dtimepicker_model_ng.h79 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/
H A Djs_custom_dialog_controller.cpp102 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 Dpicker_model.h89 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
H A Ddatepicker_model_ng.h86 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/
H A Dimage_animator_model_ng.h58 static void SetOnCancel(FrameNode* frameNode, std::function<void()>&& onCancel);
H A Dimage_animator_model_ng.cpp286 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 Danimate_impl.h93 void (*onCancel)(ArkUI_AnimatorEvent* event); member
H A Danimate_impl.cpp149 animatorOption->onCancel = option->onCancel; in ConvertAnimatorOption()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_image_animator.cpp75 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 Djs_textpicker.cpp212 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 Djs_datepicker.cpp948 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 Dtextpicker_model.h103 std::function<void()>&& onCancel, std::function<void(const std::string&)>&& onAccept,
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend_abstract.cpp253 dialogProperties.onCancel = [callback, taskExecutor = taskExecutor_] { in ShowDialogInner()
300 dialogProperties.onCancel = [callback, taskExecutor = taskExecutor_] { in ShowActionMenuInner()

Completed in 17 milliseconds

12