/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_component_api_bridge.cpp | 71 offsetContext->SetProperty(runtime, "x", runtime->NewNumber(offset.GetX())); in JsGetScrollOffset() 72 offsetContext->SetProperty(runtime, "y", runtime->NewNumber(offset.GetY())); in JsGetScrollOffset() 94 rectContext->SetProperty(runtime, "width", runtime->NewNumber(boundingRect.Width())); in JsGetBoundingRect() 95 rectContext->SetProperty(runtime, "height", runtime->NewNumber(boundingRect.Height())); in JsGetBoundingRect() 96 rectContext->SetProperty(runtime, "top", runtime->NewNumber(boundingRect.Top())); in JsGetBoundingRect() 97 rectContext->SetProperty(runtime, "left", runtime->NewNumber(boundingRect.Left())); in JsGetBoundingRect()
|
H A D | jsi_list_bridge.cpp | 63 offsetContext->SetProperty(runtime, "x", runtime->NewNumber(offsetX)); in JsGetCurrentOffset() 64 offsetContext->SetProperty(runtime, "y", runtime->NewNumber(offsetY)); in JsGetCurrentOffset()
|
H A D | js_runtime.h | 71 virtual shared_ptr<JsValue> NewNumber(double d) = 0;
|
H A D | ark_js_runtime.h | 82 shared_ptr<JsValue> NewNumber(double d) override;
|
H A D | ark_js_runtime.cpp | 289 shared_ptr<JsValue> ArkJSRuntime::NewNumber(double d) in NewNumber() function in OHOS::Ace::Framework::ArkJSRuntime
|
H A D | jsi_canvas_bridge.cpp | 730 textMetrics->SetProperty(runtime, "width", runtime->NewNumber(width)); in JsMeasureText() 731 textMetrics->SetProperty(runtime, "height", runtime->NewNumber(height)); in JsMeasureText() 2496 return runtime->NewNumber(width); in JsWidthGetter() 2534 return runtime->NewNumber(height); in JsHeightGetter()
|
H A D | jsi_animator_bridge.cpp | 233 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(value) }; in CallAnimationFrameJs()
|
H A D | jsi_engine.cpp | 543 shared_ptr<JsValue> versionCode = runtime->NewNumber(delegate->GetVersionCode()); in GetAppInfo() 1725 routeData->SetProperty(runtime, "index", runtime->NewNumber(routeIndex)); in JsHandlePageRoute() 3635 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(code) }; in OnCompleteContinuation()
|
H A D | jsi_offscreen_canvas_bridge.cpp | 505 textMetrics->SetProperty(runtime, "width", runtime->NewNumber(width)); in JsMeasureText() 506 textMetrics->SetProperty(runtime, "height", runtime->NewNumber(height)); in JsMeasureText()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_matrix4_module.cpp | 60 … result->SetProperty(runtime, runtime->NewInt32(index), runtime->NewNumber(matrix.Get(j, i))); in ConvertToJSValue() 240 result->SetProperty(runtime, runtime->NewInt32(0), runtime->NewNumber(target.GetX())); in TransformPoint() 241 result->SetProperty(runtime, runtime->NewInt32(1), runtime->NewNumber(target.GetY())); in TransformPoint()
|
H A D | jsi_app_module.cpp | 45 appInfo->SetProperty(runtime, "versionCode", runtime->NewNumber(versionCode)); in AppGetInfo()
|
H A D | jsi_curves_module.cpp | 46 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(time) }; in CurvesInterpolate() 56 return runtime->NewNumber(curveValue); in CurvesInterpolate()
|
H A D | jsi_router_module.cpp | 151 jsState->SetProperty(runtime, "index", runtime->NewNumber(routeIndex)); in PageGetState()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.cpp | 1093 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(instanceId_) }; in GetContextValue() 1122 …std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(instanceId_), runtime->NewNumber(node… in GetFrameNodeValueByNodeId() 2611 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(code) }; in OnCompleteContinuation()
|