Searched refs:onOffsetChange (Results 1 - 5 of 5) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_list_item_modifier.cpp | 71 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 D | list_option.h | 43 void* onOffsetChange; member
|
H A D | list_option.cpp | 157 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 D | list_item_event_hub.h | 118 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 D | list_swipe_test_ng.cpp | 1042 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