/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_property_animation.cpp | 207 "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 D | rs_animation_rate_decider.cpp | 139 velocity = property->ToFloat(); in ProcessVector2f() 147 float propertyValue = property->ToFloat(); in ProcessFloat()
|
H A D | rs_spring_model.cpp | 84 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 D | rs_render_property.h | 100 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 D | rs_render_property_test.cpp | 137 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 D | rs_render_property.cpp | 253 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 D | n_val.h | 64 std::tuple<bool, GLfloat> ToFloat() const;
|
H A D | n_val.cpp | 193 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 D | webgl_rendering_context_base.cpp | 545 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 D | webgl2_rendering_context_base.cpp | 172 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()
|