Home
last modified time | relevance | path

Searched refs:GetNamedPropertyInt32 (Results 1 - 6 of 6) sorted by relevance

/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_module.cpp91 if (GetNamedPropertyInt32(env, keyHandle, "keyDownDuration", keyDownDuration) != RET_OK) { in GetInjectionEventDataNative()
99 if (GetNamedPropertyInt32(env, keyHandle, "keyCode", keyCode) != RET_OK) { in GetInjectionEventDataNative()
135 if (GetNamedPropertyInt32(env, keyHandle, "keyDownDuration", keyDownDuration) != RET_OK) {
143 if (GetNamedPropertyInt32(env, keyHandle, "keyCode", keyCode) != RET_OK) {
258 if (GetNamedPropertyInt32(env, mouseHandle, "button", button) != RET_OK) { in HandleMouseButton()
285 if (GetNamedPropertyInt32(env, mouseHandle, "action", action) != RET_OK) { in HandleMouseAction()
322 if (GetNamedPropertyInt32(env, mouseHandle, "screenX", screenX) != RET_OK) { in HandleMousePropertyInt32()
326 if (GetNamedPropertyInt32(env, mouseHandle, "screenY", screenY) != RET_OK) { in HandleMousePropertyInt32()
330 if (GetNamedPropertyInt32(env, mouseHandle, "toolType", toolType) != RET_OK) { in HandleMousePropertyInt32()
392 if (GetNamedPropertyInt32(en in HandleTouchAction()
[all...]
H A Djs_register_util.cpp50 int32_t GetNamedPropertyInt32(const napi_env& env, const napi_value& object, in GetNamedPropertyInt32() function
/foundation/multimodalinput/input/frameworks/napi/input_event_client/include/
H A Djs_register_util.h24 int32_t GetNamedPropertyInt32(const napi_env& env, const napi_value& object, const std::string& name,
/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/
H A Djs_register_util.h50 std::optional<int32_t> GetNamedPropertyInt32(const napi_env &env, const napi_value &object, const std::string &name);
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp125 std::optional<int32_t> finalKeyOption = GetNamedPropertyInt32(env, argv[1], "finalKey"); in GetHotkeyEventInfo()
127 MMI_HILOGE("GetNamedPropertyInt32 failed"); in GetHotkeyEventInfo()
205 std::optional<int32_t> tempFinalKey = GetNamedPropertyInt32(env, argv[1], "finalKey"); in GetEventInfoAPI9()
207 MMI_HILOGE("GetNamedPropertyInt32 failed"); in GetEventInfoAPI9()
230 std::optional<int32_t> tempKeyDownDuration = GetNamedPropertyInt32(env, argv[1], "finalKeyDownDuration"); in GetEventInfoAPI9()
232 MMI_HILOGE("GetNamedPropertyInt32 failed"); in GetEventInfoAPI9()
H A Djs_register_util.cpp82 std::optional<int32_t> GetNamedPropertyInt32(const napi_env &env, const napi_value &object, const std::string &name) in GetNamedPropertyInt32() function

Completed in 6 milliseconds