/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_curves_module.cpp | 38 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 D | jsi_matrix4_module.cpp | 48 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 D | utimes.cpp | 45 auto [succGetMtime, mtime] = NVal(env, funcArg[NARG_POS::SECOND]).ToDouble(); in Sync()
|
H A D | listfile.cpp | 93 tie(ret, lastModifiedAfter) = argv.GetProp("lastModifiedAfter").ToDouble();
in GetFileFilterParam()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | js_value.h | 37 virtual double ToDouble(shared_ptr<JsRuntime> runtime) = 0;
|
H A D | ark_js_value.h | 49 double ToDouble(shared_ptr<JsRuntime> runtime) override;
|
H A D | ark_js_value.cpp | 32 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 D | jsi_canvas_bridge.cpp | 106 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 D | jsi_offscreen_canvas_bridge.cpp | 50 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 D | jsi_group_js_bridge.cpp | 474 double valDouble = val->ToDouble(runtime); in ParseJsPara()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/ |
H A D | n_val.h | 58 std::tuple<bool, double> ToDouble() const;
|
H A D | n_val.cpp | 170 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 D | n_val.h | 62 std::tuple<bool, double> ToDouble() const;
|
H A D | n_val.cpp | 186 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 D | napi_value.h | 61 std::tuple<bool, double> ToDouble() const;
|
H A D | napi_value.cpp | 170 tuple<bool, double> NapiValue::ToDouble() const in ToDouble() function in OHOS::AppExecFwk::LIBZIP::NapiValue
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/ |
H A D | n_val.h | 62 std::tuple<bool, double> ToDouble() const;
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/ |
H A D | napi_utils.cpp | 144 std::tie(ret, lastModifiedAfter) = argv.GetProp("lastModifiedAfter").ToDouble(); in GetLastMod()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_base.cpp | 296 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 D | webgl_arg.cpp | 52 tie(succ, v) = NVal(env_, data).ToDouble(); in GetWebGLArg()
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/ |
H A D | n_val.cpp | 187 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 D | jsi_declarative_group_js_bridge.cpp | 344 double valDouble = val->ToDouble(runtime); in ParseJsPara()
|