Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_adapter.h23 class SpringNode; variable
34 virtual void OnNodeAdd(RefPtr<SpringNode>& node) = 0;
35 virtual void OnNodeDelete(RefPtr<SpringNode>& node) = 0;
43 virtual RefPtr<SpringNode> GetNext(const RefPtr<SpringNode>& node) = 0;
47 virtual RefPtr<SpringNode> GetControlNode() const = 0;
51 virtual RefPtr<SpringNode> GetNode(int32_t index) const = 0;
60 void NotifyNodeAdd(RefPtr<SpringNode>& node) in NotifyNodeAdd()
67 void NotifyNodeDelete(RefPtr<SpringNode>& node) in NotifyNodeDelete()
H A Dsimple_spring_adapter.h30 void AddNode(RefPtr<SpringNode> node);
32 RefPtr<SpringNode> GetNext(const RefPtr<SpringNode>& node) override;
39 RefPtr<SpringNode> GetControlNode() const override in GetControlNode()
44 RefPtr<SpringNode> GetNode(int32_t index) const override;
66 std::unordered_map<int32_t, RefPtr<SpringNode>> nodes_;
H A Dsimple_spring_adapter.cpp20 void SimpleSpringAdapter::AddNode(RefPtr<SpringNode> node) in AddNode()
30 RefPtr<SpringNode> SimpleSpringAdapter::GetNext(const RefPtr<SpringNode>& node) in GetNext()
39 RefPtr<SpringNode> SimpleSpringAdapter::GetNode(int32_t index) const in GetNode()
H A Dspring_node.h25 class SpringNode : public AceType, public SpringNodeListenable {
26 DECLARE_ACE_TYPE(SpringNode, AceType);
29 explicit SpringNode(int32_t index) in SpringNode() function
34 ~SpringNode() override = default;
H A Dbilateral_spring_adapter.cpp27 RefPtr<SpringNode> srcNode; in ResetControl()
73 void BilateralSpringAdapter::MoveNode(const RefPtr<SpringNode>& srcNode, int32_t dstIndex) in MoveNode()
75 RefPtr<SpringNode> dstNode; in MoveNode()
92 RefPtr<SpringNode> node; in SetDeltaValue()
H A Dsimple_spring_chain.h162 void OnNodeAdd(RefPtr<SpringNode>& node) override;
164 void OnNodeDelete(RefPtr<SpringNode>& node) override;
176 RefPtr<SpringNode> GetControlNode() const in GetControlNode()
266 void SetParams(RefPtr<SpringNode>& node);
H A Dsimple_spring_chain.cpp45 void SimpleSpringChain::OnNodeAdd(RefPtr<SpringNode>& node) in OnNodeAdd()
53 void SimpleSpringChain::OnNodeDelete(RefPtr<SpringNode>& node) in OnNodeDelete()
120 void SimpleSpringChain::SetParams(RefPtr<SpringNode>& node) in SetParams()
H A Dsimple_spring_node.cpp27 : SpringNode(index), context_(context), value_(value) in SimpleSpringNode()
49 SpringNode::SetValue(value); in SetValue()
83 SpringNode::EndToValue(endValue, velocity); in EndToValue()
H A Dsimple_spring_node.h26 class SimpleSpringNode : public SpringNode {
27 DECLARE_ACE_TYPE(SimpleSpringNode, SpringNode);
H A Dbilateral_spring_adapter.h40 void MoveNode(const RefPtr<SpringNode>& srcNode, int32_t dstIndex);
H A Dbilateral_spring_node.cpp36 RefPtr<SpringNode> node; in NotifyNext()