Searched refs:retObj (Results 1 - 7 of 7) sorted by relevance
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_error.h | 29 #define NAPI_BT_ASSERT_RETURN(env, cond, errCode, retObj) \ 34 return (retObj); \ 40 #define NAPI_BT_ASSERT_RETURN(env, cond, errCode, retObj) \ 44 return (retObj); \
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_xcomponent_controller.cpp | 188 auto retObj = JSRef<JSObject>::New(); in GetXComponentSurfaceRect() local 195 retObj->SetProperty("offsetX", offsetX); in GetXComponentSurfaceRect() 196 retObj->SetProperty("offsetY", offsetY); in GetXComponentSurfaceRect() 197 retObj->SetProperty("surfaceWidth", width); in GetXComponentSurfaceRect() 198 retObj->SetProperty("surfaceHeight", height); in GetXComponentSurfaceRect() 199 args.SetReturnValue(retObj); in GetXComponentSurfaceRect() 306 auto retObj = JSRef<JSObject>::New(); in GetXComponentSurfaceRotation() local 309 retObj->SetProperty("lock", lock); in GetXComponentSurfaceRotation() 310 args.SetReturnValue(retObj); in GetXComponentSurfaceRotation()
|
H A D | js_scroller.cpp | 289 auto retObj = JSRef<JSObject>::New(); in CurrentOffset() local 292 retObj->SetProperty("xOffset", offset.GetX()); in CurrentOffset() 293 retObj->SetProperty("yOffset", offset.GetY()); in CurrentOffset() 294 args.SetReturnValue(retObj); in CurrentOffset()
|
H A D | js_list.cpp | 966 JSRef<JSObject> retObj = JSRef<JSObject>::New(); in GetVisibleListContentInfo() local 968 retObj->SetProperty<int32_t>("index", itemGroup.index); in GetVisibleListContentInfo() 970 retObj->SetProperty("itemGroupArea", JSVal::Undefined()); in GetVisibleListContentInfo() 972 retObj->SetProperty<int32_t>("itemGroupArea", itemGroup.area); in GetVisibleListContentInfo() 976 retObj->SetProperty("itemIndexInGroup", JSVal::Undefined()); in GetVisibleListContentInfo() 978 retObj->SetProperty<int32_t>("itemIndexInGroup", itemGroup.indexInGroup); in GetVisibleListContentInfo() 981 args.SetReturnValue(retObj); in GetVisibleListContentInfo()
|
H A D | js_view_abstract.cpp | 10028 auto retObj = JSRef<JSObject>::Cast(ret); in JsOnChildTouchTest() 10029 auto strategy = retObj->GetProperty("strategy"); in JsOnChildTouchTest() 10035 auto id = retObj->GetProperty("id"); in JsOnChildTouchTest()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_drawing_rendering_context.cpp | 85 auto retObj = JSRef<JSObject>::New(); in JsGetSize() local 86 retObj->SetProperty("width", size_.Width().value_or(0.0)); in JsGetSize() 87 retObj->SetProperty("height", size_.Height().value_or(0.0)); in JsGetSize() 88 info.SetReturnValue(retObj); in JsGetSize()
|
H A D | js_canvas_renderer.cpp | 622 auto retObj = JSRef<JSObject>::New(); in JsCreateImageData() local 623 info.SetReturnValue(retObj); in JsCreateImageData() 646 retObj->SetProperty("width", 0); in JsCreateImageData() 647 retObj->SetProperty("height", 0); in JsCreateImageData() 648 retObj->SetPropertyObject("data", zeroColorArray); in JsCreateImageData() 657 retObj->SetProperty("width", finalWidth); in JsCreateImageData() 658 retObj->SetProperty("height", finalHeight); in JsCreateImageData() 659 retObj->SetPropertyObject("data", colorArray); in JsCreateImageData() 767 auto retObj = JSRef<JSObject>::New(); in JsGetImageData() local 768 info.SetReturnValue(retObj); in JsGetImageData() [all...] |
Completed in 26 milliseconds