/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_refresh_modifier.cpp | 141 auto onEvent = [node, extraParam](const int32_t value) { in SetRefreshOnStateChange() local 149 RefreshModelNG::SetOnStateChange(frameNode, std::move(onEvent)); in SetRefreshOnStateChange() 156 auto onEvent = [node, extraParam]() { in SetOnRefreshing() local 163 RefreshModelNG::SetOnRefreshing(frameNode, std::move(onEvent)); in SetOnRefreshing() 170 auto onEvent = [node, extraParam](const float value) { in SetRefreshOnOffsetChange() local 178 RefreshModelNG::SetOnOffsetChange(frameNode, std::move(onEvent)); in SetRefreshOnOffsetChange() 185 auto onEvent = [node, extraParam](const std::string& value) { in SetRefreshChangeEvent() local 194 RefreshModelNG::SetChangeEvent(frameNode, std::move(onEvent)); in SetRefreshChangeEvent()
|
H A D | image_animator_modifier.cpp | 327 auto onEvent = [node, extraParam]() { in SetImageAnimatorOnStart() local 334 ImageAnimatorModelNG::SetOnStart(frameNode, std::move(onEvent)); in SetImageAnimatorOnStart() 341 auto onEvent = [node, extraParam]() { in SetImageAnimatorOnPause() local 348 ImageAnimatorModelNG::SetOnPause(frameNode, std::move(onEvent)); in SetImageAnimatorOnPause() 355 auto onEvent = [node, extraParam]() { in SetImageAnimatorOnRepeat() local 362 ImageAnimatorModelNG::SetOnRepeat(frameNode, std::move(onEvent)); in SetImageAnimatorOnRepeat() 369 auto onEvent = [node, extraParam]() { in SetImageAnimatorOnCancel() local 376 ImageAnimatorModelNG::SetOnCancel(frameNode, std::move(onEvent)); in SetImageAnimatorOnCancel() 383 auto onEvent = [node, extraParam]() { in SetImageAnimatorOnFinish() local 390 ImageAnimatorModelNG::SetOnFinish(frameNode, std::move(onEvent)); in SetImageAnimatorOnFinish() [all...] |
H A D | alphabet_indexer_modifier.cpp | 589 auto onEvent = [node, extraParam](const int32_t selected) { in SetOnIndexerSelected() local 597 IndexerModelNG::SetOnSelected(frameNode, std::move(onEvent)); in SetOnIndexerSelected() 604 auto onEvent = [node, extraParam](const int32_t selected) { in SetOnIndexerRequestPopupData() local 623 IndexerModelNG::SetOnRequestPopupData(frameNode, std::move(onEvent)); in SetOnIndexerRequestPopupData() 630 auto onEvent = [node, extraParam](const int32_t selected) { in SetOnIndexerPopupSelected() local 638 IndexerModelNG::SetOnPopupSelected(frameNode, std::move(onEvent)); in SetOnIndexerPopupSelected() 645 auto onEvent = [node, extraParam](const int32_t selected) { in SetIndexerChangeEvent() local 653 IndexerModelNG::SetChangeEvent(frameNode, std::move(onEvent)); in SetIndexerChangeEvent() 660 auto onEvent = [node, extraParam](const int32_t selected) { in SetIndexerCreatChangeEvent() local 668 IndexerModelNG::SetCreatChangeEvent(frameNode, std::move(onEvent)); in SetIndexerCreatChangeEvent() [all...] |
H A D | node_swiper_modifier.cpp | 1047 auto onEvent = reinterpret_cast<std::function<void(const BaseEventInfo*)>*>(callback); in SetSwiperOnChange() local 1048 SwiperModelNG::SetOnChange(frameNode, std::move(*onEvent)); in SetSwiperOnChange() 1066 auto onEvent = reinterpret_cast<std::function<void(int32_t, int32_t, const AnimationCallbackInfo&)>*>(callback); in SetSwiperOnAnimationStart() local 1067 SwiperModelNG::SetOnAnimationStart(frameNode, std::move(*onEvent)); in SetSwiperOnAnimationStart() 1085 auto onEvent = reinterpret_cast<std::function<void(int32_t, const AnimationCallbackInfo&)>*>(callback); in SetSwiperOnAnimationEnd() local 1086 SwiperModelNG::SetOnAnimationEnd(frameNode, std::move(*onEvent)); in SetSwiperOnAnimationEnd() 1104 auto onEvent = reinterpret_cast<std::function<void(int32_t, const AnimationCallbackInfo&)>*>(callback); in SetSwiperOnGestureSwipe() local 1105 SwiperModelNG::SetOnGestureSwipe(frameNode, std::move(*onEvent)); in SetSwiperOnGestureSwipe() 1123 auto onEvent = reinterpret_cast<std::function<void(int32_t, int32_t, float, float)>*>(callback); in SetOnContentDidScroll() local 1124 SwiperModelNG::SetOnContentDidScroll(frameNode, std::move(*onEvent)); in SetOnContentDidScroll() 1186 auto onEvent = [node, extraParam](const BaseEventInfo* info) { SetSwiperChange() local 1207 auto onEvent = [node, extraParam](int32_t index, int32_t targetIndex, const AnimationCallbackInfo& info) { SetSwiperAnimationStart() local 1226 auto onEvent = [node, extraParam](int32_t index, const AnimationCallbackInfo& info) { SetSwiperAnimationEnd() local 1242 auto onEvent = [node, extraParam](int32_t index, const AnimationCallbackInfo& info) { SetSwiperGestureSwipe() local 1258 auto onEvent = [node, extraParam](int32_t selectedIndex, int32_t index, float position, float mainAxisLength) { SetSwiperOnContentDidScroll() local [all...] |
H A D | node_list_item_modifier.cpp | 139 auto onEvent = [node, extraParam](bool isSelected) { in SetListItemOnSelect() local 147 ListItemModelNG::SetSelectCallback(frameNode, std::move(onEvent)); in SetListItemOnSelect()
|
H A D | search_modifier.cpp | 911 auto onEvent = [node, extraParam](const std::string& text) { in SetOnSearchSubmit() local 919 SearchModelNG::SetOnSubmit(frameNode, std::move(onEvent)); in SetOnSearchSubmit() 926 auto onEvent = [node, extraParam](const std::string& text, PreviewText&) { in SetOnSearchChange() local 934 SearchModelNG::SetOnChange(frameNode, std::move(onEvent)); in SetOnSearchChange() 941 auto onEvent = [node, extraParam](const std::string& text) { in SetOnSearchCopy() local 949 SearchModelNG::SetOnCopy(frameNode, std::move(onEvent)); in SetOnSearchCopy() 956 auto onEvent = [node, extraParam](const std::string& text) { in SetOnSearchCut() local 964 SearchModelNG::SetOnCut(frameNode, std::move(onEvent)); in SetOnSearchCut() 971 auto onEvent = [node, extraParam](const std::string& text, NG::TextCommonEvent& textEvent) { in SetOnSearchPaste() local 979 SearchModelNG::SetOnPasteWithEvent(frameNode, std::move(onEvent)); in SetOnSearchPaste() [all...] |
H A D | node_image_span_modifier.cpp | 265 auto onEvent = [node, extraParam](const LoadImageSuccessEvent& info) { in SetImageSpanOnCompleteEvent() local 281 ImageSpanView::SetOnComplete(frameNode, std::move(onEvent)); in SetImageSpanOnCompleteEvent() 288 auto onEvent = [node, extraParam](const LoadImageFailEvent& info) { in SetImageSpanOnErrorEvent() local 296 ImageSpanView::SetOnError(frameNode, std::move(onEvent)); in SetImageSpanOnErrorEvent()
|
H A D | node_checkbox_modifier.cpp | 318 auto onEvent = [node, extraParam](const bool value) { in SetCheckboxChange() local 326 CheckBoxModelNG::SetOnChange(frameNode, std::move(onEvent)); in SetCheckboxChange()
|
H A D | calendar_picker_modifier.cpp | 370 auto onEvent = [node, extraParam](const std::string& dateStr) { in SetCalendarPickerOnChange() local 385 CalendarPickerModelNG::SetOnChangeWithNode(frameNode, std::move(onEvent)); in SetCalendarPickerOnChange()
|
H A D | node_image_modifier.cpp | 969 auto onEvent = [node, extraParam](const LoadImageSuccessEvent& info) { in SetImageOnComplete() local 985 ImageModelNG::SetOnComplete(frameNode, std::move(onEvent)); in SetImageOnComplete() 992 auto onEvent = [node, extraParam](const LoadImageFailEvent& info) { in SetImageOnError() local 1000 ImageModelNG::SetOnError(frameNode, std::move(onEvent)); in SetImageOnError()
|
H A D | grid_modifier.cpp | 522 auto onEvent = [node, extraParam](int32_t first, int32_t last) { in SetOnGridScrollIndex() local 531 GridModelNG::SetOnScrollIndex(frameNode, std::move(onEvent)); in SetOnGridScrollIndex()
|
H A D | node_animate.cpp | 177 auto onEvent = [event, user]() { in AnimateTo() local 194 AnimateToInner(context, animationOption, onEvent, onFinishEvent, count, false); in AnimateTo()
|
H A D | select_modifier.cpp | 642 auto onEvent = [node, extraParam](int32_t index, const std::string& value) { in SetOnSelectSelect() local 652 SelectModelNG::SetOnSelect(frameNode, std::move(onEvent)); in SetOnSelectSelect()
|
H A D | node_slider_modifier.cpp | 821 auto onEvent = [node, extraParam](float value, int32_t mode) { in SetSliderChange() local 830 SliderModelNG::SetOnChange(frameNode, std::move(onEvent)); in SetSliderChange()
|
H A D | node_common_modifier.cpp | 5640 auto onEvent = [nodeId, extraParam](bool visible, double ratio) { in SetOnVisibleAreaChange() local 5650 ViewAbstract::SetOnVisibleChange(frameNode, onEvent, ratioList); in SetOnVisibleAreaChange() 6418 auto onEvent = [nodeId, extraParam]() { in SetOnFocus() local 6426 ViewAbstract::SetOnFocus(frameNode, std::move(onEvent)); in SetOnFocus() 6434 auto onEvent = [nodeId, extraParam]() { in SetOnBlur() local 6442 ViewAbstract::SetOnBlur(frameNode, std::move(onEvent)); in SetOnBlur() 6493 auto onEvent = [nodeId, extraParam](GestureEvent& info) { in SetOnClick() local 6536 SpanModelNG::SetOnClick(uiNode, std::move(onEvent)); in SetOnClick() 6538 TextModelNG::SetOnClick(reinterpret_cast<FrameNode*>(node), std::move(onEvent)); in SetOnClick() 6540 ViewAbstract::SetOnClick(reinterpret_cast<FrameNode*>(node), std::move(onEvent)); in SetOnClick() 6607 auto onEvent = [nodeId, extraParam](TouchEventInfo& eventInfo) { SetOnTouch() local 6756 auto onEvent = [nodeId, extraParam](bool isHover, HoverInfo& info) { SetOnHover() local 6773 auto onEvent = [nodeId, extraParam](MouseInfo& info) { SetOnMouse() local 6800 auto onEvent = [nodeId, extraParam](uint32_t actionType) { SetOnAccessibilityActions() local [all...] |
H A D | node_list_modifier.cpp | 581 auto onEvent = [userData, onFinish]() { in SetListCloseAllSwipeActions() local 584 scrollControllerBase->CloseAllSwipeActions(std::move(onEvent)); in SetListCloseAllSwipeActions()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | distributed_ui_manager.h | 69 void SubscribeInputEventProcess(const std::function<void(SerializeableObjectArray&)>& onEvent) in SubscribeInputEventProcess() argument 71 distributedUI_->SubscribeInputEventProcess(onEvent); in SubscribeInputEventProcess()
|
H A D | ui_content_impl.h | 219 void SubscribeInputEventProcess(const std::function<void(SerializeableObjectArray&)>& onEvent) override 222 uiManager_->SubscribeInputEventProcess(onEvent);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | notification_chain.h | 45 // Enter kill-waiting state if 'onEvent()' is invoking when 'KillObj()'. 51 Listener(const OnEvent &onEvent, const OnFinalize &onFinalize); 77 // The param onEvent will be call when events happened. 79 Listener *RegisterListener(EventType type, const Listener::OnEvent &onEvent,
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | notification_chain.cpp | 27 EventType type, const Listener::OnEvent &onEvent, const Listener::OnFinalize &onFinalize, int &errCode) in RegisterListener() 30 if (!onEvent) { in RegisterListener() 31 LOGE("[NotificationChain] Register listener failed, 'onEvent()' is null!"); in RegisterListener() 44 NotificationChain::Listener(onEvent, onFinalize); in RegisterListener() 274 // We never call onEvent() of the same listener in parallel with 2 or more threads. in EnterEventAction() 328 NotificationChain::Listener::Listener(const OnEvent &onEvent, const OnFinalize &onFinalize) in Listener() argument 329 : onEvent_(onEvent), in Listener() 26 RegisterListener( EventType type, const Listener::OnEvent &onEvent, const Listener::OnFinalize &onFinalize, int &errCode) RegisterListener() argument
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | generic_kvdb.cpp | 186 const NotificationChain::Listener::OnEvent &onEvent, in RegisterEventListener() 191 listener = notificationChain_->RegisterListener(type, onEvent, onFinalize, errCode); in RegisterEventListener() 185 RegisterEventListener(EventType type, const NotificationChain::Listener::OnEvent &onEvent, const NotificationChain::Listener::OnFinalize &onFinalize, int &errCode) RegisterEventListener() argument
|
H A D | generic_kvdb.h | 95 const NotificationChain::Listener::OnEvent &onEvent,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | distributed_ui.h | 72 void SubscribeInputEventProcess(const std::function<void(SerializeableObjectArray&)>& onEvent);
|
H A D | distributed_ui.cpp | 126 void DistributedUI::SubscribeInputEventProcess(const std::function<void(SerializeableObjectArray&)>& onEvent) in SubscribeInputEventProcess() argument 128 onEventCb_ = std::move(onEvent); in SubscribeInputEventProcess()
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | ui_content.h | 224 virtual void SubscribeInputEventProcess(const std::function<void(SerializeableObjectArray&)>& onEvent) {} in SubscribeInputEventProcess() argument
|