/foundation/multimodalinput/input/service/event_dispatch/src/ |
H A D | event_dispatch_handler.cpp | 121 if (curInfo != nullptr && point->GetPointerAction() == PointerEvent::POINTER_ACTION_UP) { in ReissueEvent() 126 if (point->GetPointerAction() != PointerEvent::POINTER_ACTION_MOVE) { in ReissueEvent() 133 if (point->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN) { in ReissueEvent() 138 } else if (point->GetPointerAction() == PointerEvent::POINTER_ACTION_UP || in ReissueEvent() 139 point->GetPointerAction() == PointerEvent::POINTER_ACTION_CANCEL) { in ReissueEvent() 159 if (point->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN) { in HandleMultiWindowPointerEvent() 173 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_PULL_UP && in HandleMultiWindowPointerEvent() 203 if (point->GetPointerAction() == PointerEvent::POINTER_ACTION_UP || in HandleMultiWindowPointerEvent() 204 point->GetPointerAction() == PointerEvent::POINTER_ACTION_PULL_UP || in HandleMultiWindowPointerEvent() 205 point->GetPointerAction() in HandleMultiWindowPointerEvent() [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor.cpp | 229 && pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_MOVE) { in OnInputEvent() 278 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN) { in SetConsumeState() 296 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_AXIS_BEGIN || in IsGestureEvent() 601 if (SetNameProperty(jsEnv_, result, "action", GetAction(pointerEvent->GetPointerAction())) != napi_ok) { in TransformPointerEvent() 638 int32_t actionValue = GetPinchAction(pointerEvent->GetPointerAction()); in TransformPinchEvent() 658 int32_t actionValue = GetRotateAction(pointerEvent->GetPointerAction()); in TransformRotateEvent() 716 int32_t actionValue = GetSwipeAction(pointerEvent->GetPointerAction()); in TransformSwipeEvent() 718 if (pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_SWIPE_UPDATE) { in TransformSwipeEvent() 766 int32_t actionValue = GetMultiTapAction(pointerEvent->GetPointerAction()); in TransformMultiTapEvent() 794 int32_t actionValue = pointerEvent->GetPointerAction(); in TransformSwipeInwardEvent() [all...] |
/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/ |
H A D | input_event_interceptor.cpp | 87 if (auto pointerAction = pointerEvent->GetPointerAction(); in OnPointerEvent() 92 if (auto pointerAction = pointerEvent->GetPointerAction(); in OnPointerEvent() 99 (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_BUTTON_UP)) { in OnPointerEvent() 151 .pointerAction = pointerEvent->GetPointerAction(), in ReportPointerEvent()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | client_msg_handler.cpp | 187 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in OnPointerEvent() 188 MMI_HILOG_FREEZEI("id:%{public}d ac:%{public}d recv", pointerEvent->GetId(), pointerEvent->GetPointerAction()); in OnPointerEvent() 189 if (pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_AXIS_UPDATE && in OnPointerEvent() 190 pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_ROTATE_UPDATE) { in OnPointerEvent() 196 if (PointerEvent::POINTER_ACTION_CANCEL == pointerEvent->GetPointerAction() || in OnPointerEvent() 197 PointerEvent::POINTER_ACTION_HOVER_CANCEL == pointerEvent->GetPointerAction() || in OnPointerEvent() 198 PointerEvent::POINTER_ACTION_FINGERPRINT_CANCEL == pointerEvent->GetPointerAction()) { in OnPointerEvent() 358 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in ReportPointerEvent()
|
H A D | input_handler_manager.cpp | 557 MMI_HILOG_DISPATCHD("id:%{public}d ac:%{public}d recv", pointerEvent->GetId(), pointerEvent->GetPointerAction()); in GetMonitorConsumerInfos() 562 if (!IsMatchGesture(item.second, pointerEvent->GetPointerAction(), pointerEvent->GetPointerCount())) { in GetMonitorConsumerInfos() 577 if (action != pointerEvent->GetPointerAction()) { in GetMonitorConsumerInfos() 608 if (tempEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_SWIPE_BEGIN || in OnInputEvent() 609 tempEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_SWIPE_END) { in OnInputEvent() 611 tempEvent->GetPointerAction(), in OnInputEvent() 630 int32_t pointerAction = lastPointerEvent_->GetPointerAction(); in RecoverPointerEvent()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 204 pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_CANCEL) { in IgnoreTouchEvent() 375 MMI_HILOG_DISPATCHD("window info is null, pointerAction:%{public}d", pointerEvent->GetPointerAction()); in GetClientFd() 376 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_LEAVE_WINDOW) { in GetClientFd() 386 if (pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_CANCEL && in GetClientFd() 387 pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_HOVER_CANCEL) { in GetClientFd() 448 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_MOVE || in FoldScreenRotation() 449 pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_HOVER_MOVE) { in FoldScreenRotation() 450 int32_t pointerAction = pointerEvent->GetPointerAction(); in FoldScreenRotation() 596 MMI_HILOGE("WindowInfo is nullptr, pointerAction:%{public}d", pointerEvent->GetPointerAction()); in GetClientFd() 1126 if (lastPointerEvent_->GetPointerAction() ! in UpdateDisplayInfo() [all...] |
H A D | touch_drawing_manager.cpp | 134 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_UP in TouchDrawHandler() 138 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN in TouchDrawHandler() 456 auto pointerAction = pointerEvent_->GetPointerAction(); in DrawBubbleHandler() 471 if ((pointerEvent_->GetPointerAction() == PointerEvent::POINTER_ACTION_UP || in DrawBubble() 472 pointerEvent_->GetPointerAction() == PointerEvent::POINTER_ACTION_PULL_UP || in DrawBubble() 473 pointerEvent_->GetPointerAction() == PointerEvent::POINTER_ACTION_CANCEL) && in DrawBubble() 476 pointerEvent_->GetPointerAction(), pointerEvent_->GetPointerId()); in DrawBubble() 502 if (pointerEvent_->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN && in DrawBubble() 505 " physicalY:%{private}d", pointerEvent_->GetPointerAction(), pointerEvent_->GetPointerId(), in DrawBubble() 531 if (pointerEvent_->GetPointerAction() ! in DrawPointerPositionHandler() [all...] |
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | event_normalize_handler.cpp | 281 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_AXIS_END) { in HandlePointerEvent() 285 pointerEvent->GetPointerAction(), pointerEvent->GetPointerId(), pointerEvent->GetSourceType(), in HandlePointerEvent() 432 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in HandleMouseEvent() 498 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in HandleTouchPadEvent() 527 static_cast<int32_t>(buttonIds_.size()), pointerEvent->GetPointerAction()); in HandleTouchPadEvent() 547 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in HandleGestureEvent() 579 lt = LogTracer(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in HandleTouchEvent() 592 outputEvent->GetSourceType(), outputEvent->GetPointerAction(), status); in HandleTouchEvent() 595 lt = LogTracer(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in HandleTouchEvent() 661 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in HandleTableToolEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_event_process.cpp | 31 int32_t action = pointerEvent->GetPointerAction(); in ProcessEnterLeaveEvent() 71 int32_t action = pointerEvent->GetPointerAction(); in ProcessWindowMouseEvent() 87 int32_t action = pointerEvent->GetPointerAction(); in ProcessWindowDragEvent()
|
/foundation/barrierfree/accessibility/services/test/xts/src/sa_get_attribute_value/ |
H A D | sa_get_attribute_value_benchmark.cpp | 101 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN) { in SendTouchEventToAA() 116 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN || in OnPointerEvent() 117 event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP) { in OnPointerEvent() 118 HILOG_INFO("PointerAction:%{public}d, PointerId:%{public}d.", event.GetPointerAction(), in OnPointerEvent() 123 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in OnPointerEvent() 163 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN && in HandlePointerEvent() 248 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP && in SendEventToMultimodal() 393 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP && in OnCancelled() 467 HILOG_DEBUG("action: %{public}d", event.GetPointerAction()); in HandleTouchGuidingState() 469 switch (event.GetPointerAction()) { in HandleTouchGuidingState() [all...] |
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_touch_guider.cpp | 101 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN) { in SendTouchEventToAA() 116 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN || in OnPointerEvent() 117 event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP) { in OnPointerEvent() 118 HILOG_INFO("PointerAction:%{public}d, PointerId:%{public}d.", event.GetPointerAction(), in OnPointerEvent() 123 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in OnPointerEvent() 163 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN && in HandlePointerEvent() 248 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP && in SendEventToMultimodal() 393 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP && in OnCancelled() 467 HILOG_DEBUG("action: %{public}d", event.GetPointerAction()); in HandleTouchGuidingState() 469 switch (event.GetPointerAction()) { in HandleTouchGuidingState() [all...] |
H A D | accessibility_zoom_gesture.cpp | 150 int32_t action = event.GetPointerAction(); in CacheEvents() 197 action = pointerEvent->GetPointerAction(); in SendCacheEventsToNext() 229 int32_t action = event.GetPointerAction(); in RecognizeInReadyState() 311 int32_t action = event.GetPointerAction(); in RecognizeInZoomState() 356 int32_t action = event.GetPointerAction(); in RecognizeInSlidingState() 385 int32_t action = event.GetPointerAction(); in RecognizeScroll() 411 int32_t action = event.GetPointerAction(); in RecognizeScale() 472 int32_t action = event.GetPointerAction(); in CalcFocusCoordinate() 514 int32_t action = event.GetPointerAction(); in CalcScaleSpan() 644 action = pointerEvent->GetPointerAction(); in IsTripleTaps() [all...] |
H A D | accessibility_screen_touch.cpp | 425 switch (event.GetPointerAction()) { in HandleResponseDelayState() 482 switch (event.GetPointerAction()) { in HandleIgnoreRepeatClickState() 545 switch (event.GetPointerAction()) { in HandleBothState() 586 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in OnPointerEvent()
|
/foundation/multimodalinput/input/service/monitor/src/ |
H A D | event_monitor_handler.cpp | 227 if (GestureMonitorHandler::IsTouchGestureEvent(pointerEvent->GetPointerAction())) { in Expect() 229 gesture_.IsMatchGesture(pointerEvent->GetPointerAction(), pointerEvent->GetPointerCount())); in Expect() 574 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN || in UpdateConsumptionState() 575 pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_AXIS_BEGIN || in UpdateConsumptionState() 576 pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_SWIPE_BEGIN) { in UpdateConsumptionState() 584 } else if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_UP || in UpdateConsumptionState() 585 pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_AXIS_END || in UpdateConsumptionState() 586 pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_SWIPE_END) { in UpdateConsumptionState() 598 if (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_SWIPE_BEGIN || in IsSendToClient() 599 pointerEvent->GetPointerAction() in IsSendToClient() [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | input_transfer_station.cpp | 77 pointerEvent->GetId(), pointerEvent->GetPointerAction()); in OnInputEvent() 81 int32_t action = pointerEvent->GetPointerAction(); in OnInputEvent() 86 pointerEvent->GetPointerAction()); in OnInputEvent()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_accessibility_event_transmission.cpp | 26 int32_t touchAction = event.GetPointerAction(); in OnPointerEvent()
|
H A D | mock_accessibility_touch_guider.cpp | 88 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in OnPointerEvent() 245 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP && in OnCancelled() 268 switch (event.GetPointerAction()) { in HandleTouchGuidingState() 302 switch (event.GetPointerAction()) { in HandleDraggingState() 336 switch (event.GetPointerAction()) { in HandleTransmitingState() 568 switch (event.GetPointerAction()) { in RecordInjectedEvent() 601 switch (event.GetPointerAction()) { in RecordReceivedEvent()
|
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/ |
H A D | mock_mt_accessibility_event_transmission.cpp | 26 int32_t touchAction = event.GetPointerAction(); in OnPointerEvent()
|
H A D | mock_mt_accessibility_touch_guider.cpp | 88 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in OnPointerEvent() 245 if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP && in OnCancelled() 268 switch (event.GetPointerAction()) { in HandleTouchGuidingState() 302 switch (event.GetPointerAction()) { in HandleDraggingState() 336 switch (event.GetPointerAction()) { in HandleTransmitingState() 568 switch (event.GetPointerAction()) { in RecordInjectedEvent() 601 switch (event.GetPointerAction()) { in RecordReceivedEvent()
|
/foundation/multimodalinput/input/service/message_handle/src/ |
H A D | server_msg_handler.cpp | 206 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in OnInjectPointerEvent() 254 LogTracer lt(pointerEvent->GetId(), pointerEvent->GetEventType(), pointerEvent->GetPointerAction()); in OnInjectPointerEventExt() 260 if (!FixTargetWindowId(pointerEvent, pointerEvent->GetPointerAction(), isShell)) { in OnInjectPointerEventExt() 289 } else if (((pointerEvent->GetPointerAction() < PointerEvent::POINTER_ACTION_PULL_DOWN) || in OnInjectPointerEventExt() 290 (pointerEvent->GetPointerAction() > PointerEvent::POINTER_ACTION_PULL_OUT_WINDOW)) && in OnInjectPointerEventExt() 311 ((pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_MOVE) && in AccelerateMotion() 312 (pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_PULL_MOVE) && in AccelerateMotion() 313 (pointerEvent->GetPointerAction() != PointerEvent::POINTER_ACTION_BUTTON_DOWN))) { in AccelerateMotion() 403 (pointerEvent->GetPointerAction() == PointerEvent::POINTER_ACTION_DOWN || in SaveTargetWindowId() 404 pointerEvent->GetPointerAction() in SaveTargetWindowId() [all...] |
/foundation/window/window_manager/window_scene/intention_event/src/ |
H A D | intention_event_manager.cpp | 50 int32_t action = pointerEvent->GetPointerAction(); in LogPointInfo() 61 pointerEvent->GetPointerAction(), item.GetPressure(), item.GetTiltX(), item.GetTiltY()); in LogPointInfo() 117 (pointerEvent->GetPointerAction() != MMI::PointerEvent::POINTER_ACTION_LEAVE_WINDOW)) { in UpdateLastMouseEvent() 136 pointerEvent->GetId(), pointerEvent->GetPointerAction()); in CheckPointerEvent() 171 int32_t action = pointerEvent->GetPointerAction(); in OnInputEvent()
|
/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touchpad_gesture_test.cpp | 77 EXPECT_EQ(pointerEvent->GetPointerAction(), PointerEvent::POINTER_ACTION_SWIPE_BEGIN); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 315 int32_t action = pointerEvent->GetPointerAction(); in ConsumeMoveEvent() 392 if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN || in UpdateGravityWhenDrag() 393 pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_BUTTON_DOWN) { in UpdateGravityWhenDrag() 409 if (pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_BUTTON_UP || in UpdateGravityWhenDrag() 410 pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP || in UpdateGravityWhenDrag() 411 pointerEvent->GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in UpdateGravityWhenDrag() 446 switch (pointerEvent->GetPointerAction()) { in ConsumeDragEvent() 932 switch (pointerEvent->GetPointerAction()) { in UpdateMoveTempProperty() 1009 if (!GetStartDragFlag() && pointerEvent->GetPointerAction() != MMI::PointerEvent::POINTER_ACTION_DOWN && in CheckDragEventLegal() 1010 pointerEvent->GetPointerAction() ! in CheckDragEventLegal() [all...] |
/foundation/multimodalinput/input/frameworks/proxy/events/include/ |
H A D | event_log_helper.h | 260 if (event->GetPointerAction() == PointerEvent::POINTER_ACTION_MOVE || in PrintInfoLog() 261 event->GetPointerAction() == PointerEvent::POINTER_ACTION_PULL_MOVE || in PrintInfoLog() 262 event->GetPointerAction() == PointerEvent::POINTER_ACTION_HOVER_MOVE || in PrintInfoLog() 263 event->GetPointerAction() == PointerEvent::POINTER_ACTION_AXIS_UPDATE || in PrintInfoLog() 264 event->GetPointerAction() == PointerEvent::POINTER_ACTION_SWIPE_UPDATE || in PrintInfoLog() 265 event->GetPointerAction() == PointerEvent::POINTER_ACTION_ROTATE_UPDATE || in PrintInfoLog() 266 event->GetPointerAction() == PointerEvent::POINTER_ACTION_FINGERPRINT_SLIDE) { in PrintInfoLog()
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_transform_processor.cpp | 269 StartLogTraceId(pointerEvent_->GetId(), pointerEvent_->GetEventType(), pointerEvent_->GetPointerAction()); in OnEvent() 273 if (pointerEvent_->GetPointerAction() != PointerEvent::POINTER_ACTION_MOVE && in OnEvent() 274 pointerEvent_->GetPointerAction() != PointerEvent::POINTER_ACTION_SWIPE_UPDATE) { in OnEvent() 278 EventLogHelper::PrintEventData(pointerEvent_, pointerEvent_->GetPointerAction(), in OnEvent()
|