Home
last modified time | relevance | path

Searched refs:animatableProperty (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/
H A Drs_render_property.cpp580 if (animatableProperty != nullptr) { in IsNearEqual()
592 if (animatableProperty != nullptr) { in IsNearEqual()
604 if (animatableProperty != nullptr) { in IsNearEqual()
616 if (animatableProperty != nullptr) { in IsNearEqual()
628 if (animatableProperty != nullptr) { in IsNearEqual()
640 if (animatableProperty != nullptr) { in IsNearEqual()
652 auto animatableProperty = in IsNearEqual() local
654 if (animatableProperty == nullptr) { in IsNearEqual()
682 if (animatableProperty != nullptr) { in IsNearEqual()
700 if (animatableProperty != nullptr) { in IsNearEqual()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_path_animation.cpp271 …auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Vector2f>>(property_… in SetPathValue() local
272 if (animatableProperty != nullptr) { in SetPathValue()
273 animatableProperty->Set(value); in SetPathValue()
280 …auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Vector4f>>(property_… in SetPathValue() local
281 if (animatableProperty != nullptr) { in SetPathValue()
282 animatableProperty->Set(value); in SetPathValue()
331 if (animatableProperty) { in UpdateVector2fPathValue()
332 value += animatableProperty->Get(); in UpdateVector2fPathValue()
343 if (animatableProperty) { in UpdateVector4fPathValue()
344 value[0] += animatableProperty->Get()[0]; in UpdateVector4fPathValue()
[all …]
H A Drs_animation_rate_decider.cpp114 …auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Vector4f>>(property); in ProcessVector4f() local
116 if (!animatableProperty || propertyUnit != RSPropertyUnit::PIXEL_POSITION) { in ProcessVector4f()
119 auto data = animatableProperty->Get(); in ProcessVector4f()
130 …auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Vector2f>>(property); in ProcessVector2f() local
131 if (animatableProperty != nullptr) { in ProcessVector2f()
132 auto data = animatableProperty->Get(); in ProcessVector2f()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_value_estimator.h92 auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(property); in InitCurveAnimationValue() local
96 … if (animatableProperty && animatableStartValue && animatableEndValue && animatableLastValue) { in InitCurveAnimationValue()
97 property_ = animatableProperty; in InitCurveAnimationValue()
174 auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(property); in InitKeyframeAnimationValue() local
176 if (animatableProperty && animatableLastValue) { in InitKeyframeAnimationValue()
177 property_ = animatableProperty; in InitKeyframeAnimationValue()
193 auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(property); in InitDurationKeyframeAnimationValue() local
195 if (animatableProperty && animatableLastValue) { in InitDurationKeyframeAnimationValue()
196 property_ = animatableProperty; in InitDurationKeyframeAnimationValue()
404 auto animatableProperty = std::static_pointer_cast<RSRenderAnimatableProperty<T>>(property); in InitRSSpringValueEstimator() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/
H A Drs_render_property.h315 … auto animatableProperty = std::static_pointer_cast<const RSRenderAnimatableProperty<T>>(value); in Add() local
316 if (animatableProperty != nullptr) { in Add()
317 …rProperty<T>::stagingValue_ = RSRenderProperty<T>::stagingValue_ + animatableProperty->stagingValu… in Add()
324 … auto animatableProperty = std::static_pointer_cast<const RSRenderAnimatableProperty<T>>(value); in Minus() local
325 if (animatableProperty != nullptr) { in Minus()
326 …rProperty<T>::stagingValue_ = RSRenderProperty<T>::stagingValue_ - animatableProperty->stagingValu… in Minus()
339 … auto animatableProperty = std::static_pointer_cast<const RSRenderAnimatableProperty<T>>(value); in IsEqual() local
340 if (animatableProperty != nullptr) { in IsEqual()
341 return RSRenderProperty<T>::stagingValue_ == animatableProperty->stagingValue_; in IsEqual()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_property.h645 auto animatableProperty = std::static_pointer_cast<const RSAnimatableProperty<T>>(value);
646 if (animatableProperty != nullptr) {
647 … RSProperty<T>::stagingValue_ = RSProperty<T>::stagingValue_ + animatableProperty->stagingValue_;
654 auto animatableProperty = std::static_pointer_cast<const RSAnimatableProperty<T>>(value);
655 if (animatableProperty != nullptr) {
656 … RSProperty<T>::stagingValue_ = RSProperty<T>::stagingValue_ - animatableProperty->stagingValue_;
669 auto animatableProperty = std::static_pointer_cast<const RSAnimatableProperty<T>>(value);
670 if (animatableProperty != nullptr) {
671 return RSProperty<T>::stagingValue_ == animatableProperty->stagingValue_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_modifier_demo.cpp127 auto animatableProperty = std::static_pointer_cast<RSAnimatableProperty<MyData>>(property_); in Draw() local
128 brush.SetAlphaF(animatableProperty->Get().data); in Draw()
130 … std::cout << "MyModifier Draw property get " << animatableProperty->Get().data << std::endl; in Draw()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_cover_test_ng.cpp750 auto animatableProperty = AceType::DynamicCast<AnimatablePropertyFloat>(propertyBase); variable
751 ASSERT_NE(animatableProperty, nullptr);
753 auto propertyCallback = animatableProperty->GetUpdateCallback();
781 auto animatableProperty = AceType::DynamicCast<AnimatablePropertyFloat>(propertyBase); variable
782 ASSERT_NE(animatableProperty, nullptr);
784 auto callback = animatableProperty->GetUpdateCallback();