Home
last modified time | relevance | path

Searched refs:nodes_ (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dchain_animation.cpp128 finish = nodes_[i]->TickAnimation(duration) && finish; in TickAnimation()
129 finish = nodes_[-i]->TickAnimation(duration) && finish; in TickAnimation()
144 value += nodes_[i]->GetDelta(); in GetValue()
148 value -= nodes_[-i]->GetDelta(); in GetValue()
167 value += nodes_[i]->GetDeltaPredict(delta * factor, duration); in GetValuePredict()
172 value -= nodes_[-i]->GetDeltaPredict(-delta * factor, duration); in GetValuePredict()
191 tmpNodes[i] = nodes_[next]; in SetControlIndex()
199 tmpNodes[-i] = nodes_[prev]; in SetControlIndex()
206 nodes_.swap(tmpNodes); in SetControlIndex()
218 nodes_[i]->SetSpace(space, maxSpace, minSpace); in SetSpace()
[all …]
H A Dbilateral_spring_adapter.cpp28 int32_t nodeSize = static_cast<int32_t>(nodes_.size()); in ResetControl()
32 srcNode = nodes_.at(0); in ResetControl()
34 srcNode = nodes_.at(index + delta); in ResetControl()
41 srcNode = nodes_.at(nodeSize - 1); in ResetControl()
43 srcNode = nodes_.at(index + delta); in ResetControl()
77 dstNode = nodes_[dstIndex]; in MoveNode()
82 dstNode = nodes_[dstIndex]; in MoveNode()
H A Dsimple_spring_adapter.cpp26 nodes_[node->GetIndex()] = node; in AddNode()
41 auto iter = nodes_.find(index); in GetNode()
42 if (iter == nodes_.end()) { in GetNode()
50 int32_t nodeSize = static_cast<int32_t>(nodes_.size()); in DumpNodes()
54 auto node = AceType::DynamicCast<SimpleSpringNode>(nodes_.at(index)); in DumpNodes()
H A Dsimple_spring_adapter.h36 return nodes_.size(); in GetSize()
66 std::unordered_map<int32_t, RefPtr<SpringNode>> nodes_;
H A Dbilateral_spring_adapter.h30 return nodes_.size() / 2; in GetControlIndex()
H A Dchain_animation.h118 std::map<int32_t, RefPtr<ChainAnimationNode>> nodes_; variable
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/
H A Dstream_pipeline_builder.cpp59 pipeline_->nodes_.push_back(newNode); in Build()
66 auto peerNode = std::find_if(pipeline_->nodes_.begin(), pipeline_->nodes_.end(), in Build()
70 if (peerNode != pipeline_->nodes_.end()) { in Build()
96 pipeline_->nodes_.clear(); in Destroy()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/test/unittest/spring_chain/
H A Dspring_chain_test.cpp106 nodes_.clear(); in TearDown()
121 nodes_[idx] = item; in InitSpringChain()
140 std::unordered_map<int32_t, RefPtr<SpringChainItem>> nodes_; member in OHOS::Ace::SpringChainTest
160 EXPECT_EQ(idx * CHAIN_ITEM_DISTANCE_DEFAULT, nodes_[idx]->Value());
235 EXPECT_NEAR(0.111, nodes_[adapter_->GetControlIndex()]->Value(), ERROR_BOUND);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dconnection_pool.cpp542 nodes_.clear(); in Initialize()
550 nodes_.pop_back(); in Initialize()
593 if (nodes_.empty()) { in Acquire()
600 auto node = nodes_.back(); in Acquire()
601 nodes_.pop_back(); in Acquire()
642 nodes_.push_back(node); in ExtendNode()
660 nodes_.clear(); in AcquireAll()
667 nodes_ = std::move(nodes); in AcquireAll()
687 nodes_ = std::move(nodes); in AcquireAll()
716 nodes_.push_front(node); in Release()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_impl.cpp469 if (auto ite = nodes_.find(patchedPath) != nodes_.cend()) { in GetNodeRecursive()
470 return nodes_[patchedPath]; in GetNodeRecursive()
763 for (auto& prevNode : nodes_) { in onSceneInitialized()
808 nodes_.clear(); in DetachScene()
881 if (auto it = nodes_.find(patchedPath); it != nodes_.end()) { in FindEcsObject()
1038 if (const auto& ite = nodes_.find(name); ite != nodes_.cend() && createEngineObject) { in CreateNode()
1215 for (auto&& ite : nodes_) { in UpdateCachedNodePath()
1224 nodes_[pathString] = node; in UpdateCachedNodePath()
1237 nodes_[pathString] = node; in SetCacheEnabled()
1239 for (auto&& ite : nodes_) { in SetCacheEnabled()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dnode_system.cpp522 auto rootNode = move(nodes_[index]); in Reset()
524 nodes_.clear(); in Reset()
525 nodes_.push_back(move(rootNode)); in Reset()
548 nodes_.insert(nodes_.cbegin() + index, move(node)); in AddNode()
551 nodes_[static_cast<size_t>(index)] = move(node); in AddNode()
564 for (const auto& nodePtr : nodes_) { in AddNode()
872 auto* node = nodes_[static_cast<size_t>(index)].get(); in Refresh()
889 nodes_.erase(nodes_.cbegin() + index); in Refresh()
968 vector<unique_ptr<SceneNode>> nodes_; member in NodeSystem::NodeCache
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/include/
H A Drs_graphic_test.h52 std::vector<std::shared_ptr<RSNode>> nodes_; variable
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/
H A Dstream_pipeline_dispatcher.cpp44 for (auto it = p->nodes_.rbegin(); it < p->nodes_.rend(); it++) { in Update()
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/include/
H A Dstream_pipeline_data_structure.h98 std::vector<std::shared_ptr<INode>> nodes_; member
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test.cpp141 nodes_.push_back(node); in RegisterNode()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dconnection_pool.h94 std::list<std::shared_ptr<ConnNode>> nodes_; member