Home
last modified time | relevance | path

Searched refs:componentinfo (Results 1 – 7 of 7) sorted by relevance

/test/ostest/wukong/component_event/src/
Dscene_delegate.cpp40 ErrCode SceneDelegate::GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo, in GetCurrentComponentInfo() argument
44 if (componentinfo == nullptr) { in GetCurrentComponentInfo()
47 auto componentinfos = componentinfo->GetChildren(); in GetCurrentComponentInfo()
71 std::static_pointer_cast<ComponentTree>(componentinfo)->IsVisible() && in GetCurrentComponentInfo()
72 IsComponentInScreen(std::static_pointer_cast<ComponentTree>(componentinfo))) { in GetCurrentComponentInfo()
73 componentlist.emplace(componentlist.end() - GRID_COUNT, componentinfo); in GetCurrentComponentInfo()
74 componentType_.push_back(std::static_pointer_cast<ComponentTree>(componentinfo)->GetType()); in GetCurrentComponentInfo()
196 ErrCode SceneDelegate::SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo, bool… in SetAvailableComponentList() argument
205 GetCurrentComponentInfo(componentinfo, componentlist); in SetAvailableComponentList()
316 bool SceneDelegate::IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo) in IsComponentInScreen() argument
[all …]
Dfocus_scene_delegate.cpp40 ErrCode FocusSceneDelegate::GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo, in GetCurrentComponentInfo() argument
44 if (componentinfo == nullptr) { in GetCurrentComponentInfo()
47 auto componentinfos = componentinfo->GetChildren(); in GetCurrentComponentInfo()
71 std::static_pointer_cast<ComponentTree>(componentinfo)->IsVisible() && in GetCurrentComponentInfo()
72 IsComponentInScreen(std::static_pointer_cast<ComponentTree>(componentinfo))) { in GetCurrentComponentInfo()
73 componentlist.emplace(componentlist.end() - GRID_COUNT, componentinfo); in GetCurrentComponentInfo()
74 componentType_.push_back(std::static_pointer_cast<ComponentTree>(componentinfo)->GetType()); in GetCurrentComponentInfo()
196 ErrCode FocusSceneDelegate::SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo,… in SetAvailableComponentList() argument
205 GetCurrentComponentInfo(componentinfo, componentlist); in SetAvailableComponentList()
316 bool FocusSceneDelegate::IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo) in IsComponentInScreen() argument
[all …]
Dnormal_scene.cpp82 std::shared_ptr<ComponentTree> &componentinfo) in SetInputComponent() argument
101 componentinfo = it; in SetInputComponent()
106 if (componentinfo == nullptr) { in SetInputComponent()
/test/ostest/wukong/component_event/include/
Dscene_delegate.h71 ErrCode GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo,
79 ErrCode SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo, bool isRandom);
111 bool IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo);
Dfocus_scene_delegate.h77 ErrCode GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo,
85 ErrCode SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo, bool isRandom);
117 bool IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo);
Dnormal_scene.h42 std::shared_ptr<ComponentTree> &componentinfo);
/test/ostest/wukong/input_factory/src/
Dcomponent_input.cpp337 auto componentinfo = componentInfos[index]; in FocusInput() local
340 int actionType = JudgeComponentType(*(componentinfo.get())); in FocusInput()
345 result = componentManager->ComponentEventInput(*(componentinfo.get()), actionType); in FocusInput()
352 componentInputMsg->componmentType_ = componentinfo->GetComponentType(); in FocusInput()
353 componentInputMsg->pagePath_ = componentinfo->GetPagePath(); in FocusInput()
358 componentInputMsg->content_ = componentinfo->GetContent(); in FocusInput()
359 TreeManager::GetInstance()->SetComponentType(componentinfo->GetComponentType()); in FocusInput()