Home
last modified time | relevance | path

Searched refs:pointerEvent (Results 1 – 5 of 5) sorted by relevance

/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp379 auto pointerEvent = PointerEvent::Create(); in InjectTouchEventSequence() local
381 pointerEvent->SetPointerId(finger); in InjectTouchEventSequence()
388 pointerEvent->SetPointerAction(PointerEvent::POINTER_ACTION_DOWN); in InjectTouchEventSequence()
391 pointerEvent->SetPointerAction(PointerEvent::POINTER_ACTION_MOVE); in InjectTouchEventSequence()
394 pointerEvent->SetPointerAction(PointerEvent::POINTER_ACTION_UP); in InjectTouchEventSequence()
400 pointerEvent->AddPointerItem(pinterItem); in InjectTouchEventSequence()
401 pointerEvent->SetSourceType(PointerEvent::SOURCE_TYPE_TOUCHSCREEN); in InjectTouchEventSequence()
403 pointerEvent->SetTargetDisplayId(displayMgr.GetDefaultDisplayId()); in InjectTouchEventSequence()
404 InputManager::GetInstance()->SimulateInputEvent(pointerEvent); in InjectTouchEventSequence()
424 auto pointerEvent = PointerEvent::Create(); in InjectMouseEvent() local
[all …]
/test/ostest/wukong/common/src/
Dmultimode_manager.cpp103 auto pointerEvent = MMI::PointerEvent::Create(); in PointerInput() local
110 pointerEvent->AddPointerItem(item); in PointerInput()
112 pointerEvent->SetPointerAction(actiontype); in PointerInput()
113 pointerEvent->SetSourceType(pointertype); in PointerInput()
114 pointerEvent->SetPointerId(0); in PointerInput()
116 MMI::InputManager::GetInstance()->SimulateInputEvent(pointerEvent); in PointerInput()
/test/testfwk/arkxtest/uitest/record/
Dui_record.cpp280 void InputEventCallback::OnInputEvent(std::shared_ptr<MMI::PointerEvent> pointerEvent) const in OnInputEvent()
283 bool result = pointerEvent->GetPointerItem(pointerEvent->GetPointerId(), item); in OnInputEvent()
289 if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN) { in OnInputEvent()
290 g_downTime = pointerEvent->GetActionTime(); in OnInputEvent()
292 touchEvent.actionTime = pointerEvent->GetActionTime(); in OnInputEvent()
300 if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN) { in OnInputEvent()
309 } else if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_MOVE) { in OnInputEvent()
311 … } else if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_PULL_MOVE) { in OnInputEvent()
313 } else if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP) { in OnInputEvent()
319 } else if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_PULL_UP) { in OnInputEvent()
Dui_record.h65 void OnInputEvent(std::shared_ptr<MMI::PointerEvent> pointerEvent) const override;
/test/ostest/wukong/input_factory/src/
Drecord_input.cpp145 void OnInputEvent(std::shared_ptr<MMI::PointerEvent> pointerEvent) const override in OnInputEvent()
148 bool result = pointerEvent->GetPointerItem(pointerEvent->GetPointerId(), item); in OnInputEvent()