Home
last modified time | relevance | path

Searched refs:monitorInfo (Results 1 - 4 of 4) sorted by relevance

/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp272 static bool MatchCombinationKeys(sptr<KeyEventMonitorInfo> monitorInfo, std::shared_ptr<KeyEvent> keyEvent) in MatchCombinationKeys() argument
275 CHKPF(monitorInfo); in MatchCombinationKeys()
277 auto keyOption = monitorInfo->keyOption; in MatchCombinationKeys()
336 auto monitorInfo = *infoIter; in SubKeyEventCallback() local
337 if (MatchCombinationKeys(monitorInfo, keyEvent)) { in SubKeyEventCallback()
338 EmitAsyncCallbackWork(monitorInfo); in SubKeyEventCallback()
357 auto monitorInfo = *infoIter; in SubHotkeyEventCallback() local
358 if (MatchCombinationKeys(monitorInfo, keyEvent)) { in SubHotkeyEventCallback()
359 EmitAsyncCallbackWork(monitorInfo); in SubHotkeyEventCallback()
H A Djs_register_util.cpp173 sptr<KeyEventMonitorInfo> monitorInfo = *iter; in DelEventCallbackRef() local
176 subscribeId = monitorInfo->subscribeId; in DelEventCallbackRef()
184 sptr<KeyEventMonitorInfo> monitorInfo = *iter; in DelEventCallbackRef() local
187 subscribeId = monitorInfo->subscribeId; in DelEventCallbackRef()
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp155 void CleanData(MonitorInfo** monitorInfo, uv_work_t** work) in CleanData() argument
157 if (*monitorInfo != nullptr) { in CleanData()
158 delete *monitorInfo; in CleanData()
159 *monitorInfo = nullptr; in CleanData()
1507 MonitorInfo *monitorInfo = new (std::nothrow) MonitorInfo(); in OnPointerEvent() local
1508 if (monitorInfo == nullptr) { in OnPointerEvent()
1509 MMI_HILOGE("monitorInfo is nullptr"); in OnPointerEvent()
1514 monitorInfo->monitorId = monitorId_; in OnPointerEvent()
1515 monitorInfo->fingers = fingers_; in OnPointerEvent()
1516 work->data = monitorInfo; in OnPointerEvent()
1553 MonitorInfo *monitorInfo = new (std::nothrow) MonitorInfo(); OnKeyEvent() local
[all...]
/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp2100 Input_HotkeyInfo *monitorInfo = *iter; in DelHotkeyMonitor() local
2103 subscribeId = monitorInfo->subscribeId; in DelHotkeyMonitor()
2105 delete monitorInfo; in DelHotkeyMonitor()
2110 Input_HotkeyInfo *monitorInfo = *iter; in DelHotkeyMonitor() local
2113 subscribeId = monitorInfo->subscribeId; in DelHotkeyMonitor()
2115 delete monitorInfo; in DelHotkeyMonitor()

Completed in 9 milliseconds