Home
last modified time | relevance | path

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

/test/testfwk/arkxtest/uitest/test/
Dmock_controller.h56 for (int finger = 0; finger < events.GetFingers(); finger++) { in InjectTouchEventSequence() local
57 touch_event_records_->PushAction(events.At(finger, step)); in InjectTouchEventSequence()
Dwidget_operator_test.cpp262 … for (uint32_t finger = 0; finger < MockController::touch_event_records_->GetFingers(); finger++) { in TEST_F() local
264 if (MockController::touch_event_records_->At(finger, step).point_.py_ > maxCy) { in TEST_F()
265 maxCy = MockController::touch_event_records_->At(finger, step).point_.py_; in TEST_F()
267 if (MockController::touch_event_records_->At(finger, step).point_.py_ < minCy) { in TEST_F()
268 minCy = MockController::touch_event_records_->At(finger, step).point_.py_; in TEST_F()
Dui_action_test.cpp273 const uint32_t finger = 2; in TEST_F() local
275 PointerMatrix pointer(finger, step); in TEST_F()
310 const uint32_t finger = 4; in TEST_F() local
312 PointerMatrix pointer(finger, step); in TEST_F()
/test/testfwk/arkxtest/uitest/core/
Dui_action.cpp158 for (uint32_t finger = 0; finger < pointers_.GetFingers(); finger++) { in Decompose() local
163 const int32_t pxTo = (pointers_.At(finger, step + 1).point_.px_) % flag; in Decompose()
164 const int32_t pxFrom = (pointers_.At(finger, step).point_.px_) % flag; in Decompose()
166 const int32_t pyTo = pointers_.At(finger, step + 1).point_.py_; in Decompose()
167 const int32_t pyFrom = pointers_.At(finger, step).point_.py_; in Decompose()
169 auto stayMs = (pointers_.At(finger, step).point_.px_) / flag; 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()
261 for (auto finger = 0; finger < fingerNum_; finger++) { in ConvertToMouseEvents() local
[all …]
Dfrontend_api_handler.cpp1353 auto finger = ReadCallArg<uint32_t>(in, INDEX_ZERO); in RegisterPointerMatrixOperators() local
1354 if (finger < 1 || finger > uiOpArgs.maxMultiTouchFingers) { in RegisterPointerMatrixOperators()
1363 out.resultValue_ = StoreBackendObject(make_unique<PointerMatrix>(finger, step)); in RegisterPointerMatrixOperators()
1369 auto finger = ReadCallArg<uint32_t>(in, INDEX_ZERO); in RegisterPointerMatrixOperators() local
1370 if (finger < 0 || finger >= pointer.GetFingers()) { in RegisterPointerMatrixOperators()
1385 pointer.At(finger, step).point_ = point; in RegisterPointerMatrixOperators()
1386 pointer.At(finger, step).flags_ = 1; in RegisterPointerMatrixOperators()
/test/testfwk/arkxtest/uitest/record/
Dpointer_info.cpp115 for (auto& finger :fingers) { in WriteData() local
116 fingerjson.push_back(finger.WriteData()); in WriteData()
129 for (auto& finger :fingers) { in WriteWindowData() local
131 sout << "\t" << "finger" << i << ":" << finger.WriteWindowData(actionType) ; in WriteWindowData()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp380 for (uint32_t finger = 0; finger < events.GetFingers(); finger++) { in InjectTouchEventSequence() local
381 pointerEvent->SetPointerId(finger); in InjectTouchEventSequence()
383 pinterItem.SetPointerId(finger); in InjectTouchEventSequence()
384 pinterItem.SetDisplayX(events.At(finger, step).point_.px_); in InjectTouchEventSequence()
385 pinterItem.SetDisplayY(events.At(finger, step).point_.py_); in InjectTouchEventSequence()
386 switch (events.At(finger, step).stage_) { in InjectTouchEventSequence()
399 pinterItem.SetPressed(events.At(finger, step).stage_ != ActionStage::UP); in InjectTouchEventSequence()
405 if (events.At(finger, step).holdMs_ > 0) { in InjectTouchEventSequence()
406 this_thread::sleep_for(chrono::milliseconds(events.At(finger, step).holdMs_)); in InjectTouchEventSequence()