Home
last modified time | relevance | path

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

/test/ostest/wukong/component_event/src/
H A 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 isRandom) in SetAvailableComponentList() argument
205 GetCurrentComponentInfo(componentinfo, componentlist); in SetAvailableComponentList()
316 bool SceneDelegate::IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo) in IsComponentInScreen() argument
[all...]
H A 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, bool isRandom) in SetAvailableComponentList() argument
205 GetCurrentComponentInfo(componentinfo, componentlist); in SetAvailableComponentList()
316 bool FocusSceneDelegate::IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo) in IsComponentInScreen() argument
[all...]
H A Dnormal_scene.cpp84 std::shared_ptr<ComponentTree> &componentinfo) in SetInputComponent()
103 componentinfo = it; in SetInputComponent()
108 if (componentinfo == nullptr) { in SetInputComponent()
83 SetInputComponent(std::vector<std::shared_ptr<ComponentTree>> &componentList, std::shared_ptr<ComponentTree> &componentinfo) SetInputComponent() argument
/test/ostest/wukong/component_event/include/
H A Dfocus_scene_delegate.h65 * @param componentinfo the information of a component tree
73 * @brief get all componentinfo of active page
74 * @param componentinfo the root component node of active page
77 ErrCode GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo,
82 * @param componentinfo the root component node of active page
85 ErrCode SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo, bool isRandom);
114 * @param componentinfo the component
117 bool IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo);
H A Dscene_delegate.h59 * @param componentinfo the information of a component tree
67 * @brief get all componentinfo of active page
68 * @param componentinfo the root component node of active page
71 ErrCode GetCurrentComponentInfo(std::shared_ptr<ComponentTree> componentinfo,
76 * @param componentinfo the root component node of active page
79 ErrCode SetAvailableComponentList(std::shared_ptr<ComponentTree> componentinfo, bool isRandom);
108 * @param componentinfo the component
111 bool IsComponentInScreen(const std::shared_ptr<ComponentTree> componentinfo);
H A Dnormal_scene.h42 std::shared_ptr<ComponentTree> &componentinfo);
/test/ostest/wukong/input_factory/src/
H A Dcomponent_input.cpp219 DEBUG_LOG_STR("update componentinfo result (%d)", result); in OrderInput()
272 DEBUG_LOG_STR("update componentinfo result (%d)", result); in RandomInput()
322 DEBUG_LOG_STR("update componentinfo result (%d)", result); in FocusInput()
335 auto componentinfo = componentInfos[index]; in FocusInput() local
338 int actionType = JudgeComponentType(*(componentinfo.get())); in FocusInput()
343 result = componentManager->ComponentEventInput(*(componentinfo.get()), actionType); in FocusInput()
350 componentInputMsg->componmentType_ = componentinfo->GetComponentType(); in FocusInput()
351 componentInputMsg->pagePath_ = componentinfo->GetPagePath(); in FocusInput()
356 componentInputMsg->content_ = componentinfo->GetContent(); in FocusInput()
358 TreeManager::GetInstance()->SetComponentType(componentinfo in FocusInput()
[all...]

Completed in 4 milliseconds