Home
last modified time | relevance | path

Searched refs:CHKRR (Results 1 - 7 of 7) sorted by relevance

/foundation/multimodalinput/input/util/napi/src/
H A Dkey_event_napi.cpp30 CHKRR(status, "set action property", status); in CreateKeyEvent()
35 CHKRR(status, "set key property", status); in CreateKeyEvent()
38 CHKRR(status, "set unicodeChar property", status); in CreateKeyEvent()
42 CHKRR(status, "set keys property", status); in CreateKeyEvent()
45 CHKRR(status, "set pressed key property", status); in CreateKeyEvent()
48 CHKRR(status, "set function key property", status); in CreateKeyEvent()
52 CHKRR(status, "set vkeyboardAction property", status); in CreateKeyEvent()
55 CHKRR(status, "set keyName property", status); in CreateKeyEvent()
102 CHKRR(status, "set code property", status); in CreateKeyItem()
105 CHKRR(statu in CreateKeyItem()
[all...]
H A Dutil_napi_value.cpp31 CHKRR(status, "create bool", status); in SetNameProperty()
33 CHKRR(status, "set property", status); in SetNameProperty()
41 CHKRR(status, "create bool", status); in SetNameProperty()
43 CHKRR(status, "set property", status); in SetNameProperty()
51 CHKRR(status, "create uint32", status); in SetNameProperty()
53 CHKRR(status, "set property", status); in SetNameProperty()
61 CHKRR(status, "create int32", status); in SetNameProperty()
63 CHKRR(status, "set property", status); in SetNameProperty()
71 CHKRR(status, "create uint32", status); in SetNameProperty()
73 CHKRR(statu in SetNameProperty()
[all...]
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor_manager.cpp323 CHKRR(napi_get_element(env, rectNapiValue, i, &napiElement), GET_ELEMENT, hotRectAreaList); in GetHotRectAreaList()
326 CHKRR(napi_get_named_property(env, napiElement, "left", &napiX), GET_NAMED_PROPERTY, hotRectAreaList); in GetHotRectAreaList()
332 CHKRR(napi_get_value_int32(env, napiX, &rectX), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList()
335 CHKRR(napi_get_named_property(env, napiElement, "top", &napiY), GET_NAMED_PROPERTY, hotRectAreaList); in GetHotRectAreaList()
341 CHKRR(napi_get_value_int32(env, napiY, &rectY), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList()
344 CHKRR(napi_get_named_property(env, napiElement, "width", &napiWidth), GET_NAMED_PROPERTY, hotRectAreaList); in GetHotRectAreaList()
350 CHKRR(napi_get_value_int32(env, napiWidth, &rectWidth), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList()
353 CHKRR(napi_get_named_property(env, napiElement, "height", &napiHeight), GET_NAMED_PROPERTY, hotRectAreaList); in GetHotRectAreaList()
359 CHKRR(napi_get_value_int32(env, napiHeight, &rectHeight), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList()
H A Djs_input_monitor.cpp490 CHKRR(SetNameProperty(jsEnv_, result, it.first, it.second()), setProperty, RET_ERR); in SetInputEventProperty()
573 CHKRR(SetNameProperty(jsEnv_, value, "id", item.GetPointerId()), "Set id", RET_ERR); in GetJsPointerItem()
574 CHKRR(SetNameProperty(jsEnv_, value, "pressedTime", item.GetDownTime()), "Set pressedTime", RET_ERR); in GetJsPointerItem()
575 CHKRR(SetNameProperty(jsEnv_, value, "screenX", item.GetDisplayX()), "Set screenX", RET_ERR); in GetJsPointerItem()
576 CHKRR(SetNameProperty(jsEnv_, value, "screenY", item.GetDisplayY()), "Set screenY", RET_ERR); in GetJsPointerItem()
577 CHKRR(SetNameProperty(jsEnv_, value, "windowX", item.GetWindowX()), "Set windowX", RET_ERR); in GetJsPointerItem()
578 CHKRR(SetNameProperty(jsEnv_, value, "windowY", item.GetWindowY()), "Set windowY", RET_ERR); in GetJsPointerItem()
579 CHKRR(SetNameProperty(jsEnv_, value, "pressure", item.GetPressure()), "Set pressure", RET_ERR); in GetJsPointerItem()
580 CHKRR(SetNameProperty(jsEnv_, value, "width", item.GetWidth()), "Set width", RET_ERR); in GetJsPointerItem()
581 CHKRR(SetNamePropert in GetJsPointerItem()
[all...]
/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi.h49 #define CHKRR(state, desc, ret) \ macro
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_util.cpp168 CHKRR(napi_get_reference_value(env, (*iter)->callback, &iterHandler), in DelEventCallbackRef()
171 CHKRR(napi_strict_equals(env, handler, iterHandler, &isEquals), STRICT_EQUALS, JS_CALLBACK_EVENT_FAILED); in DelEventCallbackRef()
247 CHKRR(napi_get_reference_value(env, event->callback, &eventHandler), GET_REFERENCE_VALUE, in DelEventCallback()
/foundation/multimodalinput/input/frameworks/napi/pointer/src/
H A Djs_pointer_context.cpp640 CHKRR(napi_get_value_int32(env, value, &windowId), GET_VALUE_INT32, INVALID_VALUE); in GetWindowId()
655 CHKRR(napi_get_value_int32(env, value, &focusX), GET_VALUE_INT32, INVALID_VALUE); in GetCursorFocusX()
670 CHKRR(napi_get_value_int32(env, value, &focusY), GET_VALUE_INT32, INVALID_VALUE); in GetCursorFocusY()

Completed in 9 milliseconds