/foundation/distributedhardware/distributed_input/services/state/include/ |
H A D | touchpad_event_fragment_mgr.h | 40 * @return std::pair<bool, std::vector<RawEvent>> 44 std::pair<bool, std::vector<RawEvent>> PushEvent(const std::string &dhId, const RawEvent &event); 46 std::vector<RawEvent> GetAndClearEvents(const std::string &dhId); 49 bool IsPositionEvent(const RawEvent &event); 50 bool IsSynEvent(const RawEvent &event); 52 std::pair<bool, std::vector<RawEvent>> DealSynEvent(const std::string &dhId);
|
H A D | dinput_sink_state.h | 51 void AddKeyDownState(struct RawEvent event); 52 void RemoveKeyDownState(struct RawEvent event); 60 void CheckAndSetLongPressedKeyOrder(struct RawEvent event); 66 void SimulateMouseBtnMouseUpState(const std::string &dhId, const struct RawEvent &event); 67 void SimulateTouchPadStateReset(const std::vector<RawEvent> &events); 83 void SimulateKeyDownEvent(const int32_t sessionId, const std::string &dhId, const struct RawEvent &event); 91 std::unordered_map<std::string, std::vector<struct RawEvent>> keyDownStateMap_;
|
H A D | touchpad_event_fragment.h | 34 void PushEvent(const RawEvent &event); 35 std::vector<RawEvent> GetEvents(); 37 std::vector<RawEvent> events;
|
/foundation/distributedhardware/distributed_input/services/state/src/ |
H A D | touchpad_event_fragment_mgr.cpp | 26 bool TouchPadEventFragmentMgr::IsPositionEvent(const RawEvent &event) in IsPositionEvent() 36 bool TouchPadEventFragmentMgr::IsSynEvent(const RawEvent &event) in IsSynEvent() 46 std::pair<bool, std::vector<RawEvent>> TouchPadEventFragmentMgr::PushEvent(const std::string &dhId, in PushEvent() 47 const RawEvent &event) in PushEvent() 64 std::pair<bool, std::vector<RawEvent>> TouchPadEventFragmentMgr::DealSynEvent(const std::string &dhId) in DealSynEvent() 68 std::vector<RawEvent> allEvents = {}; in DealSynEvent() 73 std::vector<RawEvent> fragEvents = frag.GetEvents(); in DealSynEvent() 97 std::vector<RawEvent> TouchPadEventFragmentMgr::GetAndClearEvents(const std::string &dhId) in GetAndClearEvents() 100 std::vector<RawEvent> allEvents; in GetAndClearEvents() 106 std::vector<RawEvent> fragEvent in GetAndClearEvents() [all...] |
H A D | dinput_sink_state.cpp | 100 void DInputSinkState::SimulateMouseBtnMouseUpState(const std::string &dhId, const struct RawEvent &event) in SimulateMouseBtnMouseUpState() 104 RawEvent mscScanEv = { event.when, EV_MSC, MSC_SCAN, scanId, dhId, event.path }; in SimulateMouseBtnMouseUpState() 105 RawEvent btnMouseUpEv = { event.when, EV_KEY, BTN_MOUSE, KEY_UP_STATE, dhId, event.path }; in SimulateMouseBtnMouseUpState() 106 RawEvent sycReportEv = { event.when, EV_SYN, SYN_REPORT, 0x0, dhId, event.path }; in SimulateMouseBtnMouseUpState() 108 std::vector<RawEvent> simEvents = { mscScanEv, btnMouseUpEv, sycReportEv }; in SimulateMouseBtnMouseUpState() 112 void DInputSinkState::SimulateTouchPadStateReset(const std::vector<RawEvent> &events) in SimulateTouchPadStateReset() 153 const struct RawEvent &event) in SimulateKeyDownEvent() 163 std::vector<RawEvent> events = this->touchPadEventFragMgr_->GetAndClearEvents(dhId); in SimulateTouchPadEvents() 180 void DInputSinkState::AddKeyDownState(struct RawEvent event) in AddKeyDownState() 186 void DInputSinkState::RemoveKeyDownState(struct RawEvent even [all...] |
H A D | touchpad_event_fragment.cpp | 55 void TouchPadEventFragment::PushEvent(const RawEvent &event) in PushEvent() 60 std::vector<RawEvent> TouchPadEventFragment::GetEvents() in GetEvents()
|
/foundation/window/window_manager_lite/frameworks/ims/ |
H A D | input_event_listener_proxy.cpp | 59 RawEvent* eventTemp = static_cast<RawEvent*>(ReadRawData(io, sizeof(RawEvent))); in ReceiveMsgHandler() 64 RawEvent event = *eventTemp; in ReceiveMsgHandler()
|
H A D | input_event_client_proxy.h | 62 void OnRawEvent(const RawEvent& event) override;
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/test/sourceinjectunittest/ |
H A D | distributed_input_sourceinject_test.cpp | 170 RawEvent event1 = { in HWTEST_F() 177 RawEvent event2 = { in HWTEST_F() 184 RawEvent event3 = { in HWTEST_F() 191 RawEvent event4 = { in HWTEST_F() 198 std::vector<RawEvent> writeBuffer = { event1, event2, event3, event4 }; in HWTEST_F() 210 RawEvent event1 = { in HWTEST_F() 217 RawEvent event2 = { in HWTEST_F() 224 RawEvent event3 = { in HWTEST_F() 231 RawEvent event4 = { in HWTEST_F() 238 RawEvent event in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_input/common/include/ |
H A D | input_hub.h | 80 size_t StartCollectInputEvents(RawEvent *buffer, size_t bufferSize); 116 size_t GetEvents(RawEvent *buffer, size_t bufferSize); 174 void RecordEventLog(const RawEvent *event); 176 void RecordChangeEventLog(const RawEvent &event); 181 size_t CollectEvent(RawEvent *buffer, size_t &capacity, Device *device, struct input_event readBuffer[], 191 void MatchAndDealEvent(Device *device, const RawEvent &event); 192 void DealTouchPadEvent(const RawEvent &event); 193 void DealNormalKeyEvent(Device *device, const RawEvent &event);
|
H A D | input_hub.cpp | 154 size_t InputHub::StartCollectInputEvents(RawEvent *buffer, size_t bufferSize) in StartCollectInputEvents() 180 size_t InputHub::GetEvents(RawEvent *buffer, size_t bufferSize) in GetEvents() 182 RawEvent* event = buffer; in GetEvents() 245 void InputHub::MatchAndDealEvent(Device *device, const RawEvent &event) in MatchAndDealEvent() 257 void InputHub::DealTouchPadEvent(const RawEvent &event) in DealTouchPadEvent() 265 void InputHub::DealNormalKeyEvent(Device *device, const RawEvent &event) in DealNormalKeyEvent() 298 RawEvent event; in RecordDeviceChangeStates() 309 size_t InputHub::CollectEvent(RawEvent *buffer, size_t &capacity, Device *device, struct input_event readBuffer[], in CollectEvent() 321 RawEvent* event = buffer; in CollectEvent() 1381 void InputHub::RecordChangeEventLog(const RawEvent [all...] |
/foundation/window/window_manager_lite/services/ims/ |
H A D | input_manager_service.cpp | 25 std::queue<RawEvent> InputManagerService::eventQueue_; 60 void InputManagerService::ReadCallback(const RawEvent* event) in ReadCallback() 84 RawEvent events[MAX_INPUT_DEVICE_NUM]; in Distribute()
|
H A D | input_event_distributer.h | 38 void Distribute(const RawEvent* events, int32_t size); 45 virtual void OnRawEvent(const RawEvent& event) = 0;
|
H A D | input_manager_service.h | 73 static void ReadCallback(const RawEvent* event); 91 static std::queue<RawEvent> eventQueue_;
|
H A D | input_event_hub.h | 30 using ReadCallback = void (*)(const RawEvent*); 76 RawEvent data_;
|
H A D | input_event_distributer.cpp | 20 void InputEventDistributer::Distribute(const RawEvent* events, int32_t size) in Distribute()
|
H A D | input_event_client_proxy.cpp | 90 void InputEventClientProxy::OnRawEvent(const RawEvent& event) in OnRawEvent() 95 WriteRawData(&io, static_cast<const void*>(&event), sizeof(RawEvent)); in OnRawEvent()
|
/foundation/distributedhardware/distributed_input/services/sink/transport/include/ |
H A D | distributed_input_sink_transport.h | 63 void SendKeyStateNodeMsgBatch(const int32_t sessionId, const std::vector<struct RawEvent> &events); 97 void RecordEventLog(const std::vector<struct RawEvent> &events); 99 void DoSendMsgBatch(const int32_t sessionId, const std::vector<struct RawEvent> &events);
|
/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_wm.h | 80 LiteWindow* FindTargetWindow(const RawEvent& event); 82 void OnRawEvent(const RawEvent& rawEvent) override; 113 void SetEventData(const LiteWindow* window, const RawEvent& event) in SetEventData()
|
/foundation/distributedhardware/distributed_input/services/state/test/dinpusinkstatetest/ |
H A D | dinput_sink_state_test.cpp | 31 RawEvent EVENT_1 = { 38 RawEvent EVENT_2 = { 45 RawEvent EVENT_3 = {
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | input_event_info.h | 41 struct RawEvent { struct
|
/foundation/window/window_manager_lite/interfaces/innerkits/ |
H A D | input_event_listener_proxy.h | 52 virtual void OnRawEvent(const RawEvent& event) = 0;
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/include/ |
H A D | distributed_input_node_manager.h | 52 using EventBatch = std::pair<std::string, std::vector<RawEvent>>; 61 void ReportEvent(const std::string &devId, const std::vector<RawEvent> &events);
|
H A D | distributed_input_inject.h | 37 int32_t RegisterDistributedEvent(const std::string &devId, const std::vector<RawEvent> &events);
|
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/include/ |
H A D | distributed_input_collector.h | 69 RawEvent mEventBuffer[INPUT_EVENT_BUFFER_SIZE];
|