Searched refs:jsWidth (Results 1 - 6 of 6) sorted by relevance
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/ |
H A D | js_screen_utils.cpp | 167 napi_value jsLeft = nullptr, jsTop = nullptr, jsWidth = nullptr, jsHeight = nullptr, jsRadius = nullptr; in ConvertRRectFromJs() local 170 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertRRectFromJs() 190 if (GetType(env, jsWidth) != napi_undefined) { in ConvertRRectFromJs() 192 if (!ConvertFromJsValue(env, jsWidth, width)) { in ConvertRRectFromJs() 220 napi_value jsPosX = nullptr, jsPosY = nullptr, jsWidth = nullptr, jsHeight = nullptr; in ConvertDMRectFromJs() local 223 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertDMRectFromJs() 242 if (GetType(env, jsWidth) != napi_undefined) { in ConvertDMRectFromJs() 244 if (!ConvertFromJsValue(env, jsWidth, width)) { in ConvertDMRectFromJs()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_render_image.cpp | 251 napi_value jsWidth = nullptr; in OnGetWidth() local 252 napi_create_double(env, width, &jsWidth); in OnGetWidth() 253 return jsWidth; in OnGetWidth()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 1078 auto jsWidth = jsStyle->GetProperty(runtime, DOM_WIDTH); in ParseDomImage() local 1080 auto cWidth = jsWidth->ToString(runtime); in ParseDomImage() 1123 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsDrawImage() local 1125 width = jsWidth->ToDouble(runtime); in JsDrawImage() 1549 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsCreatePattern() local 1552 width = jsWidth->ToDouble(runtime); in JsCreatePattern() 1591 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsCreateImageData() local 1593 width = jsWidth->ToInt32(runtime); in JsCreateImageData() 1624 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsPutImageData() local 1626 width = jsWidth in JsPutImageData() 1662 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); ParseImageData() local [all...] |
H A D | jsi_offscreen_canvas_bridge.cpp | 897 auto jsWidth = jsStyle->GetProperty(runtime, DOM_WIDTH); in ParseDomImage() local 899 auto cWidth = jsWidth->ToString(runtime); in ParseDomImage() 928 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsDrawImage() local 930 width = jsWidth->ToDouble(runtime); in JsDrawImage() 1383 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsCreatePattern() local 1386 width = jsWidth->ToDouble(runtime); in JsCreatePattern() 1425 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsCreateImageData() local 1427 width = jsWidth->ToInt32(runtime); in JsCreateImageData() 1458 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); in JsPutImageData() local 1460 width = jsWidth in JsPutImageData() 1498 auto jsWidth = argv[0]->GetProperty(runtime, DOM_WIDTH); ParseImageData() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_slider.cpp | 523 JSRef<JSVal> jsWidth = sizeObj->GetProperty("width"); in SetBlockSize() local 524 if (!ParseJsDimensionVp(jsWidth, width)) { in SetBlockSize()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 528 napi_value jsWidth = nullptr; in ConvertHookInfoFromJs() local 529 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertHookInfoFromJs() 540 if (!ConvertFromJsValue(env, jsWidth, width)) { in ConvertHookInfoFromJs()
|
Completed in 13 milliseconds