Lines Matching defs:componentinfo
40 ErrCode SceneDelegate::GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo,
44 if (componentinfo == nullptr) {
47 auto componentinfos = componentinfo->GetChildren();
71 std::static_pointer_cast<ComponentTree>(componentinfo)->IsVisible() &&
72 IsComponentInScreen(std::static_pointer_cast<ComponentTree>(componentinfo))) {
73 componentlist.emplace(componentlist.end() - GRID_COUNT, componentinfo);
74 componentType_.push_back(std::static_pointer_cast<ComponentTree>(componentinfo)->GetType());
196 ErrCode SceneDelegate::SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo, bool isRandom)
205 GetCurrentComponentInfo(componentinfo, componentlist);
316 bool SceneDelegate::IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo)
325 auto rect = componentinfo->GetPosition();