Searched refs:KeyEventMonitorInfo (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/ |
H A D | js_register_util.h | 33 int32_t GetPreSubscribeId(Callbacks &callbacks, sptr<KeyEventMonitorInfo> event); 34 int32_t AddEventCallback(const napi_env &env, Callbacks &callbacks, sptr<KeyEventMonitorInfo> event… 35 int32_t DelEventCallback(const napi_env &env, Callbacks &callbacks, sptr<KeyEventMonitorInfo> event, 37 void EmitAsyncCallbackWork(sptr<KeyEventMonitorInfo> event);
|
H A D | js_register_module.h | 55 struct KeyEventMonitorInfo : RefBase { struct 63 ~KeyEventMonitorInfo(); argument 65 typedef std::map<std::string, std::list<sptr<KeyEventMonitorInfo>>> Callbacks;
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_util.cpp | 121 int32_t GetPreSubscribeId(Callbacks &callbacks, sptr<KeyEventMonitorInfo> event) in GetPreSubscribeId() 134 int32_t DelEventCallbackRef(const napi_env &env, std::list<sptr<KeyEventMonitorInfo>> &info, in DelEventCallbackRef() 150 sptr<KeyEventMonitorInfo> monitorInfo = *iter; in DelEventCallbackRef() 161 sptr<KeyEventMonitorInfo> monitorInfo = *iter; in DelEventCallbackRef() 172 int32_t AddEventCallback(const napi_env &env, Callbacks &callbacks, sptr<KeyEventMonitorInfo> event) in AddEventCallback() 210 int32_t DelEventCallback(const napi_env &env, Callbacks &callbacks, sptr<KeyEventMonitorInfo> event, in DelEventCallback() 262 sptr<KeyEventMonitorInfo> dataWorker(static_cast<KeyEventMonitorInfo *>(work->data)); in UvQueueWorkAsyncCallback() 295 void EmitAsyncCallbackWork(sptr<KeyEventMonitorInfo> reportEvent) in EmitAsyncCallbackWork()
|
H A D | js_register_module.cpp | 66 napi_value GetEventInfoAPI9(napi_env env, napi_callback_info info, sptr<KeyEventMonitorInfo> event, in GetEventInfoAPI9() 193 static bool MatchCombinationKeys(sptr<KeyEventMonitorInfo> monitorInfo, std::shared_ptr<KeyEvent> k… in MatchCombinationKeys() 276 sptr<KeyEventMonitorInfo> event = new (std::nothrow) KeyEventMonitorInfo(); in JsOn() 321 sptr<KeyEventMonitorInfo> event = new (std::nothrow) KeyEventMonitorInfo(); in JsOff() 455 KeyEventMonitorInfo::~KeyEventMonitorInfo() in ~KeyEventMonitorInfo()
|