Searched refs:hotRectAreaList (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor_manager.cpp | 306 std::vector<Rect> hotRectAreaList; in GetHotRectAreaList() local 315 return hotRectAreaList; in GetHotRectAreaList() 318 CHKRR(napi_get_value_int32(env, napiX, &rectX), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 324 return hotRectAreaList; in GetHotRectAreaList() 327 CHKRR(napi_get_value_int32(env, napiY, &rectY), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 333 return hotRectAreaList; in GetHotRectAreaList() 336 CHKRR(napi_get_value_int32(env, napiWidth, &rectWidth), GET_VALUE_INT32, hotRectAreaList); in GetHotRectAreaList() 342 return hotRectAreaList; in GetHotRectAreaList() 349 return hotRectAreaList; in GetHotRectAreaList() 351 hotRectAreaList.push_back(rectItem); in GetHotRectAreaList() [all …]
|
H A D | js_input_monitor_module.cpp | 81 std::vector<Rect> hotRectAreaList; in AddMouseMonitor() local 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()
|