Home
last modified time | relevance | path

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

/test/testfwk/arkxtest/uitest/test/
Dui_action_test.cpp222 const int32_t steps = events.GetSteps() - 1; in TEST_F()
225 ASSERT_EQ(51, events.GetSteps()); in TEST_F()
232 for (uint32_t eventStep = 0; eventStep < events.GetSteps(); eventStep++) { in TEST_F()
241 } else if (eventStep == events.GetSteps() - 1) { in TEST_F()
251 for (uint32_t eventStep = 0; eventStep < events.GetSteps(); eventStep++) { in TEST_F()
258 } else if (eventStep == events.GetSteps() - 1) { in TEST_F()
286 ASSERT_EQ(4, pointer.GetSteps()); in TEST_F()
292 ASSERT_EQ(5, events.GetSteps()); in TEST_F()
293 for (uint32_t eventStep = 0; eventStep < events.GetSteps(); eventStep++) { in TEST_F()
297 } else if (eventStep == events.GetSteps() - 1) { in TEST_F()
[all …]
Dmock_controller.h54 … touch_event_records_ = std::make_unique<PointerMatrix>(events.GetFingers(), events.GetSteps()); in InjectTouchEventSequence()
55 for (int step = 0; step < events.GetSteps(); step++) { in InjectTouchEventSequence()
Dwidget_operator_test.cpp251 auto ste = MockController::touch_event_records_->GetSteps() - 1; in TEST_F()
263 for (uint32_t step = 0; step < MockController::touch_event_records_->GetSteps(); step++) { in TEST_F()
/test/testfwk/arkxtest/uitest/core/
Dui_action.cpp144 PointerMatrix pointer3(pointer1.GetFingers() + pointer2.GetFingers(), pointer1.GetSteps()); in Decompose()
156 PointerMatrix matrix(pointers_.GetFingers(), pointers_.GetSteps() + 1); in Decompose()
162 for (uint32_t step = 0; step < pointers_.GetSteps() - 1; step++) { in Decompose()
180 auto endPx = (pointers_.At(finger, pointers_.GetSteps() - 1).point_.px_) % flag; in Decompose()
181 auto endPy = pointers_.At(finger, pointers_.GetSteps() - 1).point_.py_; in Decompose()
182 auto endTime = (pointers_.At(finger, pointers_.GetSteps() - 1).point_.px_) / flag; in Decompose()
249 uint32_t PointerMatrix::GetSteps() const in GetSteps() function in OHOS::uitest::PointerMatrix
Dui_action.h125 uint32_t GetSteps() const;
Dfrontend_api_handler.cpp914 for (uint32_t stepIndex = 0; stepIndex < pointer.GetSteps(); stepIndex++) { in CheckMultiPointerOperatorsPoint()
1375 if (step < 0 || step >= pointer.GetSteps()) { in RegisterPointerMatrixOperators()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp378 for (uint32_t step = 0; step < events.GetSteps(); step++) { in InjectTouchEventSequence()