Home
last modified time | relevance | path

Searched refs:onMove (Results 1 - 25 of 26) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_for_each_model_ng.h35 void OnMove(std::function<void(int32_t, int32_t)>&& onMove) override
40 node->SetOnMove(std::move(onMove));
H A Dfor_each_model_ng.cpp86 void ForEachModelNG::OnMove(std::function<void(int32_t, int32_t)>&& onMove) in OnMove() argument
91 node->SetOnMove(std::move(onMove)); in OnMove()
H A Drepeat_model_ng.cpp74 void RepeatModelNG::OnMove(std::function<void(int32_t, int32_t)>&& onMove) in OnMove() argument
79 node->SetOnMove(std::move(onMove)); in OnMove()
H A Drepeat_virtual_scroll_model_ng.cpp58 void RepeatVirtualScrollModelNG::OnMove(std::function<void(int32_t, int32_t)>&& onMove) in OnMove() argument
63 node->SetOnMove(std::move(onMove)); in OnMove()
H A Dlazy_for_each_model.h42 virtual void OnMove(std::function<void(int32_t, int32_t)>&& onMove) = 0;
H A Dfor_each_node.cpp238 void ForEachNode::SetOnMove(std::function<void(int32_t, int32_t)>&& onMove) in SetOnMove() argument
240 if (onMove && !onMoveEvent_) { in SetOnMove()
257 } else if (!onMove && onMoveEvent_) { in SetOnMove()
260 onMoveEvent_ = onMove; in SetOnMove()
H A Drepeat_model_ng.h42 void OnMove(std::function<void(int32_t, int32_t)>&& onMove) override;
H A Drepeat_model.h43 virtual void OnMove(std::function<void(int32_t, int32_t)>&& onMove) = 0;
H A Dfor_each_model_ng.h47 void OnMove(std::function<void(int32_t, int32_t)>&& onMove) override;
H A Dfor_each_model.h56 virtual void OnMove(std::function<void(int32_t, int32_t)>&& onMove) = 0;
H A Drepeat_virtual_scroll_model_ng.h43 void OnMove(std::function<void(int32_t, int32_t)>&& onMove) override;
H A Drepeat_node.h66 void SetOnMove(std::function<void(int32_t, int32_t)>&& onMove);
H A Drepeat_virtual_scroll_model.h45 virtual void OnMove(std::function<void(int32_t, int32_t)>&& onMove) = 0;
H A Dfor_each_node.h71 void SetOnMove(std::function<void(int32_t, int32_t)>&& onMove);
H A Drepeat_node.cpp95 void RepeatNode::SetOnMove(std::function<void(int32_t, int32_t)>&& onMove) in SetOnMove() argument
H A Dlazy_for_each_node.cpp473 void LazyForEachNode::SetOnMove(std::function<void(int32_t, int32_t)>&& onMove) in SetOnMove() argument
475 if (onMove && !onMoveEvent_) { in SetOnMove()
477 } else if (!onMove && onMoveEvent_) { in SetOnMove()
480 onMoveEvent_ = onMove; in SetOnMove()
H A Drepeat_virtual_scroll_node.h135 void SetOnMove(std::function<void(int32_t, int32_t)>&& onMove);
H A Dlazy_for_each_node.h161 void SetOnMove(std::function<void(int32_t, int32_t)>&& onMove);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dlazy_for_each_model_impl.h30 void OnMove(std::function<void(int32_t, int32_t)>&& onMove) override {};
H A Dfor_each_model_impl.h40 void OnMove(std::function<void(int32_t, int32_t)>&& onMove) override {};
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_repeat.cpp106 auto onMove = [execCtx = info.GetExecutionContext(), func = JSRef<JSFunc>::Cast(info[0])] in OnMove() local
111 RepeatModel::GetInstance()->OnMove(std::move(onMove)); in OnMove()
125 JSClass<JSRepeat>::StaticMethod("onMove", &JSRepeat::OnMove); in JSBind()
H A Djs_lazy_foreach.cpp158 JSClass<JSLazyForEach>::StaticMethod("onMove", &JSLazyForEach::OnMove); in JSBind()
222 auto onMove = [execCtx = info.GetExecutionContext(), func = JSRef<JSFunc>::Cast(info[0])] in OnMove() local
227 LazyForEachModel::GetInstance()->OnMove(std::move(onMove)); in OnMove()
H A Djs_foreach.cpp227 auto onMove = [execCtx = info.GetExecutionContext(), func = JSRef<JSFunc>::Cast(info[0])] in OnMove() local
232 ForEachModel::GetInstance()->OnMove(std::move(onMove)); in OnMove()
247 JSClass<JSForEach>::StaticMethod("onMove", &JSForEach::OnMove); in JSBind()
H A Djs_repeat_virtual_scroll.cpp200 auto onMove = [execCtx = info.GetExecutionContext(), func = JSRef<JSFunc>::Cast(info[0])]( in OnMove() local
205 RepeatVirtualScrollModel::GetInstance()->OnMove(std::move(onMove)); in OnMove()
213 JSClass<JSRepeatVirtualScroll>::StaticMethod("onMove", &JSRepeatVirtualScroll::OnMove); in JSBind()
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_common_test_ng.cpp49 void CreateForEachList(int32_t itemNumber, int32_t lanes, std::function<void(int32_t, int32_t)> onMove);
50 void CreateLazyForEachList(int32_t itemNumber, int32_t lanes, std::function<void(int32_t, int32_t)> onMove);
149 int32_t itemNumber, int32_t lanes, std::function<void(int32_t, int32_t)> onMove) in CreateForEachList()
167 forEachModelNG.OnMove(std::move(onMove)); in CreateForEachList()
177 int32_t itemNumber, int32_t lanes, std::function<void(int32_t, int32_t)> onMove) in CreateLazyForEachList()
189 lazyForEachModelNG.OnMove(std::move(onMove)); in CreateLazyForEachList()
1585 * @tc.desc: Remove onMove event, can not drag
148 CreateForEachList( int32_t itemNumber, int32_t lanes, std::function<void(int32_t, int32_t)> onMove) CreateForEachList() argument
176 CreateLazyForEachList( int32_t itemNumber, int32_t lanes, std::function<void(int32_t, int32_t)> onMove) CreateLazyForEachList() argument

Completed in 12 milliseconds

12