Home
last modified time | relevance | path

Searched refs:onOffsetChange (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_list_item_modifier.cpp71 auto onOffsetChange = [option](int32_t offset) { in SetListItemSwiperAction() local
72 if (option->onOffsetChange) { in SetListItemSwiperAction()
74 FuncType func = reinterpret_cast<FuncType>(option->onOffsetChange); in SetListItemSwiperAction()
79 ListItemModelNG::SetSwiperAction(frameNode, nullptr, nullptr, onOffsetChange, edgeEffect); in SetListItemSwiperAction()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dlist_option.h43 void* onOffsetChange; member
H A Dlist_option.cpp157 option->onOffsetChange = reinterpret_cast<void*>(callback); in OH_ArkUI_ListItemSwipeActionOption_SetOnOffsetChange()
164 option->onOffsetChange = reinterpret_cast<void*>(callback); in OH_ArkUI_ListItemSwipeActionOption_SetOnOffsetChangeWithUserData()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_event_hub.h118 void SetOnOffsetChangeOffset(OnOffsetChangeFunc&& onOffsetChange) in SetOnOffsetChangeOffset() argument
120 onOffsetChangeEvent_ = std::move(onOffsetChange); in SetOnOffsetChangeOffset()
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_swipe_test_ng.cpp1042 auto onOffsetChange = [&offset](int val) { offset = Dimension(val, DimensionUnit::VP); }; in HWTEST_F() local
1045 itemModel.SetSwiperAction(nullptr, nullptr, std::move(onOffsetChange), V2::SwipeEdgeEffect::Spring); in HWTEST_F()
1094 auto onOffsetChange = [&offset](int val) { offset = Dimension(val, DimensionUnit::VP); }; in HWTEST_F() local
1097 itemModel.SetSwiperAction(nullptr, nullptr, std::move(onOffsetChange), V2::SwipeEdgeEffect::Spring); in HWTEST_F()
1423 auto onOffsetChange = [&offset](int val) { offset = Dimension(val, DimensionUnit::VP); }; in HWTEST_F() local
1426 itemModel.SetSwiperAction(nullptr, nullptr, std::move(onOffsetChange), V2::SwipeEdgeEffect::Spring); in HWTEST_F()

Completed in 4 milliseconds