Home
last modified time | relevance | path

Searched refs:ToFloat (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_property_animation.cpp207 "animateVelocity: %{public}f", __func__, currAnimateValue->ToFloat(), in UpdateAnimateVelocity()
208 lastAnimateValue_->ToFloat(), animateVelocity_->ToFloat()); in UpdateAnimateVelocity()
215 float currAnimateFloatValue = currAnimateValue->ToFloat(); in ProcessAnimateVelocityUnderAngleRotation()
217 auto diffFloatValue = currAnimateFloatValue - lastAnimateValue_->ToFloat(); in ProcessAnimateVelocityUnderAngleRotation()
238 __func__, currAnimateValue->ToFloat(), lastAnimateValue_->ToFloat(), diffFloatValue, in ProcessAnimateVelocityUnderAngleRotation()
239 factor, animateVelocity_->ToFloat()); in ProcessAnimateVelocityUnderAngleRotation()
H A Drs_animation_rate_decider.cpp139 velocity = property->ToFloat(); in ProcessVector2f()
147 float propertyValue = property->ToFloat(); in ProcessFloat()
H A Drs_spring_model.cpp84 float coeffScale = coeffScale_->ToFloat(); in EstimateDuration()
85 float initialOffset = initialOffset_->ToFloat(); in EstimateDuration()
116 float coeffScaleAlt = coeffScaleAlt_->ToFloat(); in EstimateDuration()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/
H A Drs_render_property.h100 virtual float ToFloat() const in ToFloat() function
279 float ToFloat() const override in ToFloat() function
352 RSB_EXPORT float RSRenderAnimatableProperty<float>::ToFloat() const;
354 RSB_EXPORT float RSRenderAnimatableProperty<Vector4f>::ToFloat() const;
356 RSB_EXPORT float RSRenderAnimatableProperty<Quaternion>::ToFloat() const;
358 RSB_EXPORT float RSRenderAnimatableProperty<Vector2f>::ToFloat() const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/modifier/
H A Drs_render_property_test.cpp137 float ToFloat() const in ToFloat() function in OHOS::Rosen::MockRSRenderAnimatableProperty
139 return RSRenderAnimatableProperty<T>::ToFloat(); in ToFloat()
150 ASSERT_TRUE(ROSEN_EQ(prop0->ToFloat(), floatData[0]));
153 ASSERT_TRUE(ROSEN_EQ(prop1->ToFloat(), 2 * floatData[1]));
156 ASSERT_TRUE(ROSEN_EQ(prop2->ToFloat(), floatData[2]));
159 ASSERT_TRUE(ROSEN_EQ(prop3->ToFloat(), 1.f));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/
H A Drs_render_property.cpp253 float RSRenderAnimatableProperty<float>::ToFloat() const in ToFloat() function in OHOS::Rosen::RSRenderAnimatableProperty
259 float RSRenderAnimatableProperty<Vector4f>::ToFloat() const in ToFloat() function in OHOS::Rosen::RSRenderAnimatableProperty
265 float RSRenderAnimatableProperty<Quaternion>::ToFloat() const in ToFloat() function in OHOS::Rosen::RSRenderAnimatableProperty
271 float RSRenderAnimatableProperty<Vector2f>::ToFloat() const in ToFloat() function in OHOS::Rosen::RSRenderAnimatableProperty
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_val.h64 std::tuple<bool, GLfloat> ToFloat() const;
H A Dn_val.cpp193 tuple<bool, GLfloat> NVal::ToFloat() const in ToFloat() function in OHOS::Rosen::NVal
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base.cpp545 tie(succ, red) = NVal(env, funcArg[NARG_POS::FIRST]).ToFloat(); in ClearColor()
550 tie(succ, green) = NVal(env, funcArg[NARG_POS::SECOND]).ToFloat(); in ClearColor()
555 tie(succ, blue) = NVal(env, funcArg[NARG_POS::THIRD]).ToFloat(); in ClearColor()
560 tie(succ, alpha) = NVal(env, funcArg[NARG_POS::FOURTH]).ToFloat(); in ClearColor()
578 tie(succ, depth) = NVal(env, funcArg[NARG_POS::FIRST]).ToFloat(); in ClearDepth()
1757 tie(succ, data[0]) = NVal(env, funcArg[NARG_POS::SECOND]).ToFloat(); in Uniform1f()
1777 tie(succ, data[i]) = NVal(env, funcArg[i + NARG_POS::SECOND]).ToFloat(); in Uniform2f()
1799 tie(succ, data[i]) = NVal(env, funcArg[i + NARG_POS::SECOND]).ToFloat(); in Uniform3f()
1821 tie(succ, data[i]) = NVal(env, funcArg[i + NARG_POS::SECOND]).ToFloat(); in Uniform4f()
1961 tie(succ, data[i]) = NVal(env, funcArg[i + NARG_POS::SECOND]).ToFloat(); in VertexAttrib1f()
[all …]
H A Dwebgl2_rendering_context_base.cpp172 tie(succ, depth) = NVal(env, funcArg[NARG_POS::THIRD]).ToFloat(); in ClearBufferfi()
388 tie(succ, param) = NVal(env, funcArg[NARG_POS::THIRD]).ToFloat(); in SamplerParameterf()