/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_input_device_context.cpp | 260 CHKRP(napi_get_value_int32(env, argv[0], &id), GET_VALUE_INT32); in GetDevice() 292 CHKRP(napi_get_value_int32(env, argv[0], &deviceId), GET_VALUE_INT32); in SupportKeys() 317 CHKRP(napi_get_value_int32(env, keyValue, &data), GET_VALUE_INT32); in SupportKeys() 353 CHKRP(napi_get_value_int32(env, argv[0], &deviceId), GET_VALUE_INT32); in SupportKeysSync() 377 CHKRP(napi_get_value_int32(env, keyValue, &data), GET_VALUE_INT32); in SupportKeysSync() 406 CHKRP(napi_get_value_int32(env, argv[0], &id), GET_VALUE_INT32); in GetKeyboardType() 441 CHKRP(napi_get_value_int32(env, argv[0], &id), GET_VALUE_INT32); in GetKeyboardTypeSync() 489 CHKRP(napi_get_value_int32(env, argv[0], &id), GET_VALUE_INT32); in GetDeviceInfo() 522 CHKRP(napi_get_value_int32(env, argv[0], &id), GET_VALUE_INT32); in GetDeviceInfoSync() 548 CHKRP(napi_get_value_int32(env, argv[0], &repeatDelay), GET_VALUE_INT32); in SetKeyboardRepeatDelay() [all …]
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/pointer/src/ |
H A D | js_pointer_context.cpp | 235 CHKRP(napi_get_value_int32(env, argv[0], &color), GET_VALUE_INT32); in SetPointerColor() 288 CHKRP(napi_get_value_int32(env, argv[0], &color), GET_VALUE_INT32); in SetPointerColorSync() 417 CHKRP(napi_get_value_int32(env, argv[0], &rows), GET_VALUE_INT32); in SetMouseScrollRows() 475 CHKRP(napi_get_value_int32(env, argv[0], &x), GET_VALUE_INT32); in SetPointerLocation() 487 CHKRP(napi_get_value_int32(env, argv[1], &y), GET_VALUE_INT32); in SetPointerLocation() 667 CHKRP(napi_get_value_int32(env, argv[0], &size), GET_VALUE_INT32); in SetPointerSize() 725 CHKRP(napi_get_value_int32(env, argv[0], &size), GET_VALUE_INT32); in SetPointerSizeSync() 763 CHKRP(napi_get_value_int32(env, argv[0], &windowid), GET_VALUE_INT32); in SetPointerStyle() 812 CHKRP(napi_get_value_int32(env, argv[0], &windowid), GET_VALUE_INT32); in SetPointerStyleSync() 853 CHKRP(napi_get_value_int32(env, argv[0], &windowid), GET_VALUE_INT32); in GetPointerStyle() [all …]
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor_manager.cpp | 318 CHKRR(napi_get_value_int32(env, napiX, &rectX), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 327 CHKRR(napi_get_value_int32(env, napiY, &rectY), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 336 CHKRR(napi_get_value_int32(env, napiWidth, &rectWidth), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 345 CHKRR(napi_get_value_int32(env, napiHeight, &rectHeight), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList()
|
H A D | js_input_monitor_module.cpp | 138 CHKRP(napi_get_value_int32(env, argv[1], &fingers), GET_VALUE_INT32); in AddMonitor() 245 CHKRP(napi_get_value_int32(env, argv[1], &fingers), GET_VALUE_INT32); in RemoveMonitor()
|
H A D | js_input_monitor.cpp | 1377 CHKRF(napi_get_value_int32(env, xProperty, &xInt), GET_VALUE_INT32); in IsLocaledWithinRect() 1383 CHKRF(napi_get_value_int32(env, yProperty, &yInt), GET_VALUE_INT32); in IsLocaledWithinRect()
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | napi_constants.h | 39 inline constexpr std::string_view GET_VALUE_INT32 = "napi_get_value_int32"; variable
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_module.cpp | 363 CHKRP(napi_get_value_int32(env, argv[0], &shieldMode), GET_VALUE_INT32); in SetShieldStatus() 405 CHKRP(napi_get_value_int32(env, argv[0], &shieldMode), GET_VALUE_INT32); in GetShieldStatus()
|
H A D | js_register_util.cpp | 104 CHKRP(napi_get_value_int32(env, napiElement, &value), GET_VALUE_INT32); in GetPreKeys()
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/ |
H A D | js_cooperate_context.cpp | 32 inline constexpr std::string_view GET_VALUE_INT32 { "napi_get_value_int32" }; variable 116 CHKRP(napi_get_value_int32(env, argv[ONE_PARAM], &startDeviceId), GET_VALUE_INT32); in Start()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/short_key/src/ |
H A D | js_short_key_context.cpp | 158 CHKRP(napi_get_value_int32(env, argv[1], &delay), GET_VALUE_INT32); in SetKeyDownDuration()
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/ |
H A D | js_coordination_context.cpp | 33 inline constexpr std::string_view GET_VALUE_INT32 { "napi_get_value_int32" }; variable 161 CHKRP(napi_get_value_int32(env, argv[1], &startDeviceId), GET_VALUE_INT32); in ActivateCompatible()
|