Home
last modified time | relevance | path

Searched refs:onClickId (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focusable/
H A Dfocusable_element.cpp55 const auto& onClickId = focusableComponent->GetOnClickId(); in Update() local
75 if (!onClickId.IsEmpty()) { in Update()
79 …ClickCallback(AceAsyncEvent<void(const std::shared_ptr<ClickInfo>&)>::Create(onClickId, context_)); in Update()
81 SetOnClickCallback(AceAsyncEvent<void()>::Create(onClickId, context_)); in Update()
H A Dfocusable_component.h58 void SetOnClickId(const EventMarker& onClickId) in SetOnClickId() argument
60 onClickId_ = onClickId; in SetOnClickId()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/multimodal/
H A Dmultimodal_component.h52 void SetOnClickId(const EventMarker& onClickId) in SetOnClickId() argument
54 onClickId_ = onClickId; in SetOnClickId()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/gesture_listener/
H A Dgesture_listener_component.h53 void SetOnClickId(const EventMarker& onClickId) in SetOnClickId() argument
55 onClickId_ = onClickId; in SetOnClickId()
H A Drender_gesture_listener.cpp263 const auto& onClickId = component->GetOnClickId(); in SetOnClickCallback() local
264 if (onClickId.IsEmpty()) { in SetOnClickCallback()
267 SetOnClickCallback(AceAsyncEvent<void(const ClickInfo&)>::Create(onClickId, context_)); in SetOnClickCallback()
268 if (!onClickId.GetCatchMode()) { in SetOnClickCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Dscene_viewer_component.h68 void SetClickedEventId(const EventMarker& onClickId) in SetClickedEventId() argument
70 clickEventId_ = onClickId; in SetClickedEventId()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Dbox_component.h186 void SetOnClick(const RefPtr<Gesture>& onClickId) in SetOnClick() argument
188 onClickId_ = onClickId; in SetOnClick()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dbutton_model_impl.cpp193 … auto onClickId = EventMarker([func = std::move(clickEventFunc), impl](const BaseEventInfo* info) { in OnClick() local
207 buttonComponent->SetKeyEnterEventId(onClickId); in OnClick()
211 focusableComponent->SetOnClickId(onClickId); in OnClick()
H A Dview_abstract_model_impl.cpp1047 … auto onClickId = EventMarker([func = std::move(clickEventFunc), impl](const BaseEventInfo* info) { in SetOnClick() local
1060 focusableComponent->SetOnClickId(onClickId); in SetOnClick()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.cpp221 auto onClickId = item->GetClickEventId(); in Update() local
222 clickEvent_ = AceAsyncEvent<void()>::Create(onClickId, GetContext()); in Update()
224 if (!onClickId.GetCatchMode()) { in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_text.cpp728 … auto onClickId = [execCtx = info.GetExecutionContext(), func = std::move(jsOnClickFunc), impl, in JsOnClickWithoutNGBUILD() local
740 TextModel::GetInstance()->SetOnClick(std::move(onClickId)); in JsOnClickWithoutNGBUILD()