/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_view_ohos.cpp | 113 int32_t pointerAction = pointerEvent->GetPointerAction(); in DispatchTouchEvent() local 130 if ((pointerAction >= MMI::PointerEvent::POINTER_ACTION_AXIS_BEGIN && in DispatchTouchEvent() 131 pointerAction <= MMI::PointerEvent::POINTER_ACTION_AXIS_END) || in DispatchTouchEvent() 132 (pointerAction >= MMI::PointerEvent::POINTER_ACTION_ROTATE_BEGIN && in DispatchTouchEvent() 133 pointerAction <= MMI::PointerEvent::POINTER_ACTION_ROTATE_END) || in DispatchTouchEvent() 135 pointerAction == MMI::PointerEvent::POINTER_ACTION_CANCEL)) { in DispatchTouchEvent() 174 int32_t pointerAction = pointerEvent->GetPointerAction(); in DispatchEventToPerf() local 175 if (pointerAction == MMI::PointerEvent::POINTER_ACTION_DOWN in DispatchEventToPerf() 176 || pointerAction == MMI::PointerEvent::POINTER_ACTION_BUTTON_DOWN in DispatchEventToPerf() 177 || pointerAction in DispatchEventToPerf() [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() 88 filterPointers_.find(pointerAction) != filterPointers_.end()) { in OnPointerEvent() 89 FI_HILOGI("Current pointerAction:%{public}d, skip", static_cast<int32_t>(pointerAction)); in OnPointerEvent() 92 if (auto pointerAction = pointerEvent->GetPointerAction(); in OnPointerEvent() 93 pointerAction == MMI::PointerEvent::POINTER_ACTION_CANCEL) { in OnPointerEvent() 151 .pointerAction = pointerEvent->GetPointerAction(), in ReportPointerEvent()
|
H A D | input_event_serialization.cpp | 207 int32_t pointerAction = event->GetPointerAction(); in SerializeBaseInfo() local 214 pkt << pointerAction << pointerId << sourceType << btnId << fingerCnt << zOrder; in SerializeBaseInfo() 224 int32_t pointerAction {}; in DeserializeBaseInfo() 231 pkt >> pointerAction >> pointerId >> sourceType >> btnId >> fingerCnt >> zOrder; in DeserializeBaseInfo() 236 event->SetPointerAction(pointerAction); in DeserializeBaseInfo()
|
/foundation/multimodalinput/input/service/event_resample/src/ |
H A D | event_resample.cpp | 49 if (PointerEvent::POINTER_ACTION_UNKNOWN == inputEvent_.pointerAction) { in OnEventConsume() 92 MMI_HILOGD("%{public}s: pointerAction:%{public}d, actionTime:%{public}" PRId64 ", pointerCount:%{public}d," in EventDump() 94 msg, event.pointerAction, event.actionTime, event.pointerCount, in EventDump() 104 int32_t pointerAction = PointerEvent::POINTER_ACTION_UNKNOWN; in InitializeInputEvent() local 124 pointerAction = pointerEvent->GetPointerAction(); in InitializeInputEvent() 125 MMI_HILOGD("pointerAction:%{public}d, actionTime:%{public}" PRId64 " frameTime_:%{public}" PRId64, in InitializeInputEvent() 126 pointerAction, pointerEvent->GetActionTime(), frameTime_); in InitializeInputEvent() 127 switch (pointerAction) { in InitializeInputEvent() 157 MMI_HILOGD("Event added to batch, deviceId:%{public}d, sourceType:%{public}d, pointerAction:%{public}d", in UpdateBatch() 158 inputEvent_.deviceId, inputEvent_.sourceType, inputEvent_.pointerAction); in UpdateBatch() 470 int32_t pointerAction = event.pointerAction; CanAddSample() local [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scb_system_session_test.cpp | 370 int32_t pointerAction = 8; in HWTEST_F() local 371 scbSystemSession_->PresentFoucusIfNeed(pointerAction); in HWTEST_F() 372 ASSERT_EQ(pointerAction, 8); in HWTEST_F() 374 pointerAction = 100; in HWTEST_F() 375 scbSystemSession_->PresentFoucusIfNeed(pointerAction); in HWTEST_F() 376 ASSERT_EQ(pointerAction, 100); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session/container/src/ |
H A D | window_event_channel.cpp | 119 auto pointerAction = pointerEvent->GetPointerAction(); in TransferPointerEvent() local 120 if (pointerAction == MMI::PointerEvent::POINTER_ACTION_ENTER_WINDOW || in TransferPointerEvent() 121 pointerAction == MMI::PointerEvent::POINTER_ACTION_LEAVE_WINDOW || in TransferPointerEvent() 122 pointerAction == MMI::PointerEvent::POINTER_ACTION_PULL_IN_WINDOW || in TransferPointerEvent() 123 pointerAction == MMI::PointerEvent::POINTER_ACTION_PULL_OUT_WINDOW) { in TransferPointerEvent() 257 auto pointerAction = event->GetPointerAction(); in PrintPointerEvent() local 258 if (pointerAction == MMI::PointerEvent::POINTER_ACTION_MOVE || in PrintPointerEvent() 259 pointerAction == MMI::PointerEvent::POINTER_ACTION_PULL_MOVE) { in PrintPointerEvent()
|
/foundation/multimodalinput/input/service/event_resample/include/ |
H A D | event_resample.h | 93 int32_t pointerAction { PointerEvent::POINTER_ACTION_UNKNOWN }; 103 pointerAction = PointerEvent::POINTER_ACTION_UNKNOWN; in Reset() 117 pointerAction = other.pointerAction; in InitializeFrom() 126 pointerAction = event->GetPointerAction(); in InitializeFrom()
|
/foundation/multimodalinput/input/service/monitor/src/ |
H A D | gesture_monitor_handler.cpp | 56 bool GestureMonitorHandler::IsTouchGestureEvent(int32_t pointerAction) in IsTouchGestureEvent() argument 58 switch (pointerAction) { in IsTouchGestureEvent()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scb_system_session.cpp | 139 void SCBSystemSession::PresentFoucusIfNeed(int32_t pointerAction) in PresentFoucusIfNeed() argument 142 if (pointerAction == MMI::PointerEvent::POINTER_ACTION_DOWN || in PresentFoucusIfNeed() 143 pointerAction == MMI::PointerEvent::POINTER_ACTION_BUTTON_DOWN) { in PresentFoucusIfNeed()
|
H A D | session.cpp | 1907 auto pointerAction = pointerEvent->GetPointerAction(); in TransferPointerEvent() local 1908 bool isPointDown = (pointerAction == MMI::PointerEvent::POINTER_ACTION_DOWN) || in TransferPointerEvent() 1909 (pointerAction == MMI::PointerEvent::POINTER_ACTION_BUTTON_DOWN); in TransferPointerEvent() 1916 WSError ret = HandleSubWindowClick(pointerAction); in TransferPointerEvent() 1931 PresentFoucusIfNeed(pointerAction); in TransferPointerEvent() 1949 if (pointerAction == MMI::PointerEvent::POINTER_ACTION_MOVE || in TransferPointerEvent() 1950 pointerAction == MMI::PointerEvent::POINTER_ACTION_PULL_MOVE) { in TransferPointerEvent() 1959 if (pointerAction == MMI::PointerEvent::POINTER_ACTION_ENTER_WINDOW || in TransferPointerEvent() 1960 pointerAction == MMI::PointerEvent::POINTER_ACTION_LEAVE_WINDOW || in TransferPointerEvent() 1961 pointerAction in TransferPointerEvent() 2324 PresentFoucusIfNeed(int32_t pointerAction) PresentFoucusIfNeed() argument [all...] |
/foundation/multimodalinput/input/service/monitor/include/ |
H A D | gesture_monitor_handler.h | 34 static bool IsTouchGestureEvent(int32_t pointerAction);
|
/foundation/multimodalinput/input/test/unittest/common/src/ |
H A D | event_util_test.cpp | 50 auto pointerAction = pointerEvent->GetPointerAction(); in OnInputEvent() local 51 if (pointerAction != PointerEvent::POINTER_ACTION_ENTER_WINDOW && in OnInputEvent() 52 pointerAction != PointerEvent::POINTER_ACTION_LEAVE_WINDOW && in OnInputEvent() 53 pointerAction != PointerEvent::POINTER_ACTION_PULL_IN_WINDOW && in OnInputEvent() 54 pointerAction != PointerEvent::POINTER_ACTION_PULL_OUT_WINDOW) { in OnInputEvent()
|
/foundation/barrierfree/accessibility/services/test/mock/multimodalinput/src/ |
H A D | mock_pointer_event.cpp | 189 void PointerEvent::SetPointerAction(int32_t pointerAction) in SetPointerAction() argument 191 pointerAction_ = pointerAction; in SetPointerAction()
|
/foundation/multimodalinput/input/test/facility/mock/include/ |
H A D | input_windows_manager_mock.h | 82 void DispatchPointer(int32_t pointerAction, int32_t windowId = -1) override {} 83 void SendPointerEvent(int32_t pointerAction) override {}
|
/foundation/multimodalinput/input/service/event_dump/src/ |
H A D | event_statistic.cpp | 73 int32_t pointerAction = eventPtr->GetPointerAction(); in PushPointerEvent() local 74 if (pointerAction == PointerEvent::POINTER_ACTION_MOVE || in PushPointerEvent()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 375 MMI_HILOG_DISPATCHD("window info is null, pointerAction:%{public}d", pointerEvent->GetPointerAction()); in GetClientFd() 450 int32_t pointerAction = pointerEvent->GetPointerAction(); in FoldScreenRotation() local 451 if (pointerAction == PointerEvent::POINTER_ACTION_HOVER_MOVE || in FoldScreenRotation() 452 pointerAction == PointerEvent::POINTER_ACTION_HOVER_ENTER || in FoldScreenRotation() 453 pointerAction == PointerEvent::POINTER_ACTION_HOVER_EXIT || in FoldScreenRotation() 454 pointerAction == PointerEvent::POINTER_ACTION_HOVER_CANCEL) { in FoldScreenRotation() 460 pointerEvent->SetOriginPointerAction(pointerAction); in FoldScreenRotation() 596 MMI_HILOGE("WindowInfo is nullptr, pointerAction:%{public}d", pointerEvent->GetPointerAction()); in GetClientFd() 1200 void InputWindowsManager::SetPointerEvent(int32_t pointerAction, std::shared_ptr<PointerEvent> pointerEvent) in UpdateDisplayInfo() argument 1228 pointerEvent->SetPointerAction(pointerAction); in UpdateDisplayInfo() 1329 SendPointerEvent(int32_t pointerAction) UpdateDisplayInfo() argument 1395 DispatchPointer(int32_t pointerAction, int32_t windowId) UpdateDisplayInfo() argument 2603 int32_t pointerAction = pointerEvent->GetPointerAction(); UpdateDisplayInfo() local 3306 int32_t pointerAction = pointerEvent->GetPointerAction(); UpdateDisplayInfo() local 3473 DispatchTouch(int32_t pointerAction) UpdateDisplayInfo() argument 3556 int32_t pointerAction = pointerEvent->GetPointerAction(); UpdateDisplayInfo() local 4154 auto pointerAction = pointerEvent->GetPointerAction(); UpdateDisplayInfo() local [all...] |
/foundation/multimodalinput/input/service/event_resample/test/ |
H A D | event_resample_test.cpp | 637 outEvent.pointerAction = PointerEvent::POINTER_ACTION_MOVE; in HWTEST_F() 647 outEvent.pointerAction = PointerEvent::POINTER_ACTION_UP; in HWTEST_F() 649 outEvent.pointerAction = PointerEvent::POINTER_ACTION_DOWN; in HWTEST_F() 664 outEvent.pointerAction = 10; in HWTEST_F() 778 event.pointerAction = 20; in HWTEST_F() 782 next.pointerAction = 30; in HWTEST_F() 791 event.pointerAction = PointerEvent::POINTER_ACTION_UP; in HWTEST_F() 793 event.pointerAction = PointerEvent::POINTER_ACTION_MOVE; in HWTEST_F() 810 event.pointerAction = 2; in HWTEST_F() 814 next.pointerAction in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_node.cpp | 73 int32_t pointerAction = OHOS::MMI::PointerEvent::POINTER_ACTION_UNKNOWN; in ConvertPointerEvent() local 76 pointerAction = pointerActionIter->second; in ConvertPointerEvent() 78 pointerEvent->SetPointerAction(pointerAction); in ConvertPointerEvent()
|
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_move_drag_test.cpp | 45 int32_t pointerAction); 107 int32_t pointerAction) in CreatePointerEvent() 118 pointerEvent->SetPointerAction(pointerAction); in CreatePointerEvent() 104 CreatePointerEvent(int32_t posX, int32_t posY, uint32_t pointerId, int32_t pointerAction) CreatePointerEvent() argument
|
H A D | window_test_utils.h | 81 int32_t pointerAction);
|
/foundation/multimodalinput/input/service/window_manager/include/ |
H A D | i_input_windows_manager.h | 116 virtual void DispatchPointer(int32_t pointerAction, int32_t windowId = -1) = 0; 117 virtual void SendPointerEvent(int32_t pointerAction) = 0;
|
H A D | input_windows_manager.h | 117 void DispatchPointer(int32_t pointerAction, int32_t windowId = -1); 118 void SendPointerEvent(int32_t pointerAction); 265 void SetPointerEvent(int32_t pointerAction, std::shared_ptr<PointerEvent> pointerEvent); 291 void DispatchTouch(int32_t pointerAction);
|
/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessibility_zoom_gesture_test.cpp | 42 std::shared_ptr<MMI::PointerEvent> CreatePointerEvent(int32_t sourceType, int32_t pointerAction); 73 int32_t pointerAction) in CreatePointerEvent() 80 event->SetPointerAction(pointerAction); in CreatePointerEvent() 72 CreatePointerEvent(int32_t sourceType, int32_t pointerAction) CreatePointerEvent() argument
|
/foundation/arkui/ace_engine/adapter/ohos/tools/raw_input_injector/ |
H A D | raw_input_injector.h | 44 int32_t pointerAction, int32_t fingerId, int32_t displayX, int32_t displayY, bool isStartUpdateNeeded = false);
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | pointer_event.cpp | 521 eventStr += ",pointerAction:" + std::to_string(pointerAction_); in ToString() 556 void PointerEvent::SetPointerAction(int32_t pointerAction) in SetPointerAction() argument 558 pointerAction_ = pointerAction; in SetPointerAction() 559 originPointerAction_ = pointerAction; in SetPointerAction() 567 void PointerEvent::SetOriginPointerAction(int32_t pointerAction) in SetOriginPointerAction() argument 569 originPointerAction_ = pointerAction; in SetOriginPointerAction()
|