Home
last modified time | relevance | path

Searched refs:rectArrayLength (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor_module.cpp82 uint32_t rectArrayLength = 0; in AddMouseMonitor() local
83 CHKRV(napi_get_array_length(env, napiRect, &rectArrayLength), GET_ARRAY_LENGTH); in AddMouseMonitor()
84 if (rectArrayLength <= 0 || rectArrayLength > RECT_LIST_SIZE) { in AddMouseMonitor()
89 hotRectAreaList = JS_INPUT_MONITOR_MGR.GetHotRectAreaList(env, napiRect, rectArrayLength); in AddMouseMonitor()
90 if (hotRectAreaList.size() != rectArrayLength) { in AddMouseMonitor()
105 JS_INPUT_MONITOR_MGR.AddMonitor(env, "mouse", hotRectAreaList, rectArrayLength, napiCallback); in AddMouseMonitor()