Home
last modified time | relevance | path

Searched refs:ToDouble (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_curves_module.cpp38 time = argv[0]->ToDouble(runtime); in CurvesInterpolate()
48 return result->IsNumber(runtime) ? static_cast<float>(result->ToDouble(runtime)) : 1.0f; in CurvesInterpolate()
112 velocity = argv[0]->ToDouble(runtime); in CreateSpringCurve()
115 mass = argv[1]->ToDouble(runtime); in CreateSpringCurve()
121 stiffness = argv[2]->ToDouble(runtime); in CreateSpringCurve()
127 damping = argv[3]->ToDouble(runtime); in CreateSpringCurve()
142 float velocity = static_cast<float>(argv[0]->IsNumber(runtime) ? argv[0]->ToDouble(runtime) : 0.0); in CreateInterpolatingSpring()
143 float mass = static_cast<float>(argv[1]->IsNumber(runtime) ? argv[1]->ToDouble(runtime) : 1.0); in CreateInterpolatingSpring()
144 float stiffness = static_cast<float>(argv[2]->IsNumber(runtime) ? argv[2]->ToDouble(runtime) : 1.0); in CreateInterpolatingSpring()
145 float damping = static_cast<float>(argv[3]->IsNumber(runtime) ? argv[3]->ToDouble(runtim in CreateInterpolatingSpring()
[all...]
H A Djsi_matrix4_module.cpp48 result.Set(j, i, static_cast<float>(itemJSValue->ToDouble(runtime))); in ConvertToMatrix()
71 return value->ToDouble(runtime); in ConvertToDouble()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dutimes.cpp45 auto [succGetMtime, mtime] = NVal(env, funcArg[NARG_POS::SECOND]).ToDouble(); in Sync()
H A Dlistfile.cpp93 tie(ret, lastModifiedAfter) = argv.GetProp("lastModifiedAfter").ToDouble(); in GetFileFilterParam()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djs_value.h37 virtual double ToDouble(shared_ptr<JsRuntime> runtime) = 0;
H A Dark_js_value.h49 double ToDouble(shared_ptr<JsRuntime> runtime) override;
H A Dark_js_value.cpp32 double ArkJSValue::ToDouble(shared_ptr<JsRuntime> runtime) in ToDouble() function in OHOS::Ace::Framework::ArkJSValue
38 LOGE("ArkJSValue::ToDouble occurs exception, return 0 directly"); in ToDouble()
45 LOGE("ArkJSValue::ToDouble occurs exception, return 0 directly"); in ToDouble()
H A Djsi_canvas_bridge.cpp106 return value->ToDouble(runtime); in GetJsDoubleVal()
1125 width = jsWidth->ToDouble(runtime); in JsDrawImage()
1126 height = jsHeight->ToDouble(runtime); in JsDrawImage()
1552 width = jsWidth->ToDouble(runtime); in JsCreatePattern()
1553 height = jsHeight->ToDouble(runtime); in JsCreatePattern()
H A Djsi_offscreen_canvas_bridge.cpp50 return value->ToDouble(runtime); in GetJsDoubleVal()
930 width = jsWidth->ToDouble(runtime); in JsDrawImage()
931 height = jsHeight->ToDouble(runtime); in JsDrawImage()
1386 width = jsWidth->ToDouble(runtime); in JsCreatePattern()
1387 height = jsHeight->ToDouble(runtime); in JsCreatePattern()
H A Djsi_group_js_bridge.cpp474 double valDouble = val->ToDouble(runtime); in ParseJsPara()
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/
H A Dn_val.h58 std::tuple<bool, double> ToDouble() const;
H A Dn_val.cpp170 tuple<bool, double> NVal::ToDouble() const in ToDouble() function in OHOS::DistributedFS::NVal
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_val.h62 std::tuple<bool, double> ToDouble() const;
H A Dn_val.cpp186 tuple<bool, double> NVal::ToDouble() const in ToDouble() function in OHOS::Rosen::NVal
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_value.h61 std::tuple<bool, double> ToDouble() const;
H A Dnapi_value.cpp170 tuple<bool, double> NapiValue::ToDouble() const in ToDouble() function in OHOS::AppExecFwk::LIBZIP::NapiValue
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/
H A Dn_val.h62 std::tuple<bool, double> ToDouble() const;
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/
H A Dnapi_utils.cpp144 std::tie(ret, lastModifiedAfter) = argv.GetProp("lastModifiedAfter").ToDouble(); in GetLastMod()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base.cpp296 tie(succ, red) = NVal(env, funcArg[NARG_POS::FIRST]).ToDouble(); in BlendColor()
301 tie(succ, green) = NVal(env, funcArg[NARG_POS::SECOND]).ToDouble(); in BlendColor()
306 tie(succ, blue) = NVal(env, funcArg[NARG_POS::THIRD]).ToDouble(); in BlendColor()
311 tie(succ, alpha) = NVal(env, funcArg[NARG_POS::FOURTH]).ToDouble(); in BlendColor()
994 tie(succ, zNear) = NVal(env, funcArg[NARG_POS::FIRST]).ToDouble(); in DepthRange()
999 tie(succ, zFar) = NVal(env, funcArg[NARG_POS::SECOND]).ToDouble(); in DepthRange()
1441 tie(succ, value) = NVal(env, funcArg[NARG_POS::FIRST]).ToDouble(); in SampleCoverage()
1712 tie(succ, param) = NVal(env, funcArg[NARG_POS::THIRD]).ToDouble(); in TexParameterf()
2237 tie(succ, linewidth) = NVal(env, funcArg[NARG_POS::FIRST]).ToDouble(); in LineWidth()
2309 tie(succ, factor) = NVal(env, funcArg[NARG_POS::FIRST]).ToDouble(); in PolygonOffset()
[all...]
H A Dwebgl_arg.cpp52 tie(succ, v) = NVal(env_, data).ToDouble(); in GetWebGLArg()
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/
H A Dn_val.cpp187 tuple<bool, double> NVal::ToDouble() const in ToDouble() function in OHOS::FileManagement::LibN::NVal
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_group_js_bridge.cpp344 double valDouble = val->ToDouble(runtime); in ParseJsPara()

Completed in 27 milliseconds