Home
last modified time | relevance | path

Searched refs:elementInfo (Results 1 – 9 of 9) sorted by relevance

/test/ostest/wukong/component_event/src/
Dcomponent_tree.cpp65 auto elementInfo = TreeManager::GetInstance()->GetNewElementInfoList(index_); in SetNodeId() local
66 if (elementInfo == nullptr) { in SetNodeId()
71 rect_ = elementInfo->GetRectInScreen(); in SetNodeId()
72 isVisible_ = elementInfo->IsVisible(); in SetNodeId()
74 type_ = elementInfo->GetComponentType(); in SetNodeId()
81 uint64_t str = GetSubName(elementInfo->GetContent(), contentCount); in SetNodeId()
90 inspectorKey_ = elementInfo->GetInspectorKey(); in SetNodeId()
Dpage_tree.cpp113 auto elementInfo = TreeManager::GetInstance()->GetNewElementInfoList((count_ - 1)); in SetNodeId() local
114 if (elementInfo == nullptr) { in SetNodeId()
118 std::string pagePath = elementInfo->GetPagePath(); in SetNodeId()
Dtree_manager.cpp114 auto elementInfo = GetNewElementInfoList(componentTree->GetIndex()); in RecursComponent() local
115 if (elementInfo != nullptr) { in RecursComponent()
118 elementInfo->GetAccessibilityId(), elementInfo->GetComponentType().c_str()); in RecursComponent()
507 for (auto elementInfo : newElementInfoList_) { in UpdateCurrentPage() local
508 elementInfoList_.push_back(elementInfo); in UpdateCurrentPage()
/test/ostest/wukong/common/include/
Dcomponent_manager.h58 …ErrCode ComponentEventInput(OHOS::Accessibility::AccessibilityElementInfo& elementInfo, const int …
119 void GetComponentPosition(Accessibility::AccessibilityElementInfo& elementInfo);
126 ErrCode ComponentUpSwapInput(Accessibility::AccessibilityElementInfo& elementInfo);
133 ErrCode ComponentDownSwapInput(Accessibility::AccessibilityElementInfo& elementInfo);
140 ErrCode ComponentMultikeyInput(Accessibility::AccessibilityElementInfo& elementInfo);
147 ErrCode ComponentLeftSwapInput(Accessibility::AccessibilityElementInfo& elementInfo);
154 ErrCode ComponentTouchInput(Accessibility::AccessibilityElementInfo& elementInfo);
/test/ostest/wukong/common/src/
Dcomponent_manager.cpp205 …e ComponentManager::ComponentEventInput(OHOS::Accessibility::AccessibilityElementInfo& elementInfo, in ComponentEventInput() argument
210 GetComponentPosition(elementInfo); in ComponentEventInput()
215 ErrCode result = componentRespond(elementInfo); in ComponentEventInput()
219 ErrCode ComponentManager::ComponentTouchInput(Accessibility::AccessibilityElementInfo& elementInfo) in ComponentTouchInput() argument
226 std::string type = elementInfo.GetContent(); in ComponentTouchInput()
246 ErrCode ComponentManager::ComponentUpSwapInput(Accessibility::AccessibilityElementInfo& elementInfo) in ComponentUpSwapInput() argument
261 …Code ComponentManager::ComponentDownSwapInput(Accessibility::AccessibilityElementInfo& elementInfo) in ComponentDownSwapInput() argument
276 …Code ComponentManager::ComponentMultikeyInput(Accessibility::AccessibilityElementInfo& elementInfo) in ComponentMultikeyInput() argument
278 ErrCode result = ComponentTouchInput(elementInfo); in ComponentMultikeyInput()
287 …Code ComponentManager::ComponentLeftSwapInput(Accessibility::AccessibilityElementInfo& elementInfo) in ComponentLeftSwapInput() argument
[all …]
/test/ostest/wukong/input_factory/src/
Dcomponent_input.cpp235 auto elementInfo = treemanager->GetElementInfoByOrder(); in OrderInput() local
236 if (elementInfo == nullptr) { in OrderInput()
241 int actionType = JudgeComponentType(*(elementInfo.get())); in OrderInput()
246 … result = ComponentManager::GetInstance()->ComponentEventInput(*(elementInfo.get()), actionType); in OrderInput()
255 componentInputMsg->componmentType_ = elementInfo->GetComponentType(); in OrderInput()
403 int ComponentInput::JudgeComponentType(OHOS::Accessibility::AccessibilityElementInfo& elementInfo) in JudgeComponentType() argument
408 std::vector<OHOS::Accessibility::AccessibleAction> actionlist = elementInfo.GetActionList(); in JudgeComponentType()
410 std::string componentType = elementInfo.GetComponentType(); in JudgeComponentType()
/test/ostest/wukong/input_factory/include/
Dcomponent_input.h39 int JudgeComponentType(OHOS::Accessibility::AccessibilityElementInfo& elementInfo);
/test/testfwk/arkxtest/uitest/napi/
Dui_event_observer_napi.cpp104 auto &elementInfo = in.paramList_.at(INDEX_ZERO); in InitCallbackContext() local
125 ctx.elmentInfo = move(elementInfo); in InitCallbackContext()
/test/testfwk/arkxtest/uitest/test/
Dfrontend_api_handler_test.cpp662 auto &elementInfo = in.paramList_.at(INDEX_ZERO); in TEST_F() local
663 result = result + string(elementInfo["type"]) + ","; in TEST_F()