Searched refs:JsInputMonitor (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor.cpp | 290 JsInputMonitor::JsInputMonitor(napi_env jsEnv, const std::string &typeName, std::vector<Rect> rectP… in JsInputMonitor() function in OHOS::MMI::JsInputMonitor 309 JsInputMonitor::JsInputMonitor(napi_env jsEnv, const std::string &typeName, in JsInputMonitor() function in OHOS::MMI::JsInputMonitor 324 void JsInputMonitor::SetCallback(napi_value callback) in SetCallback() 336 void JsInputMonitor::MarkConsumed(int32_t eventId) in MarkConsumed() 369 int32_t JsInputMonitor::IsMatch(napi_env jsEnv) in IsMatch() 402 int32_t JsInputMonitor::GetAction(int32_t action) const in GetAction() 1089 JsInputMonitor::~JsInputMonitor() in ~JsInputMonitor() 1106 void JsInputMonitor::Stop() in Stop() 1118 int32_t JsInputMonitor::GetId() const in GetId() 1123 int32_t JsInputMonitor::GetFingers() const in GetFingers() [all …]
|
H A D | js_input_monitor_manager.cpp | 50 auto monitor = std::make_shared<JsInputMonitor>(jsEnv, typeName, hotRectArea, in AddMonitor() 72 auto monitor = std::make_shared<JsInputMonitor>(jsEnv, typeName, callback, nextId_++, fingers); in AddMonitor() 86 std::shared_ptr<JsInputMonitor> monitor = nullptr; in RemoveMonitor() 111 std::list<std::shared_ptr<JsInputMonitor>> monitors; in RemoveMonitor() 138 std::list<std::shared_ptr<JsInputMonitor>> monitors; in RemoveMonitor() 174 const std::shared_ptr<JsInputMonitor> JsInputMonitorManager::GetMonitor(int32_t id, int32_t fingers) in GetMonitor() 356 bool JsInputMonitorManager::IsFindJsInputMonitor(const std::shared_ptr<JsInputMonitor> monitor, in IsFindJsInputMonitor() 367 bool JsInputMonitorManager::IsFindJsInputMonitor(const std::shared_ptr<JsInputMonitor> monitor, in IsFindJsInputMonitor()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/include/ |
H A D | js_input_monitor_manager.h | 45 const std::shared_ptr<JsInputMonitor> GetMonitor(int32_t id, int32_t fingers); 57 bool IsFindJsInputMonitor(const std::shared_ptr<JsInputMonitor> monitor, 59 bool IsFindJsInputMonitor(const std::shared_ptr<JsInputMonitor> monitor, 63 std::list<std::shared_ptr<JsInputMonitor>> monitors_;
|
H A D | js_input_monitor.h | 76 class JsInputMonitor final { 79 JsInputMonitor(napi_env jsEnv, const std::string &typeName, std::vector<Rect> hotRectArea, 81 …JsInputMonitor(napi_env jsEnv, const std::string &typeName, napi_value callback, int32_t id, int32… 82 ~JsInputMonitor();
|