Searched refs:pointerEvent (Results 1 – 5 of 5) sorted by relevance
379 auto pointerEvent = PointerEvent::Create(); in InjectTouchEventSequence() local381 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 …]
103 auto pointerEvent = MMI::PointerEvent::Create(); in PointerInput() local110 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()
280 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()
65 void OnInputEvent(std::shared_ptr<MMI::PointerEvent> pointerEvent) const override;
145 void OnInputEvent(std::shared_ptr<MMI::PointerEvent> pointerEvent) const override in OnInputEvent()148 bool result = pointerEvent->GetPointerItem(pointerEvent->GetPointerId(), item); in OnInputEvent()