Home
last modified time | relevance | path

Searched refs:interpolator_ (Results 1 - 16 of 16) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_curve_animation.cpp47 interpolator_ = interpolator; in SetInterpolator()
52 return interpolator_; in GetInterpolator()
62 RSRenderPropertyBase::Marshalling(parcel, endValue_) && interpolator_ != nullptr && in Marshalling()
63 interpolator_->Marshalling(parcel))) { in Marshalling()
117 SetFractionInner(valueEstimator_->EstimateFraction(interpolator_, valueFraction, GetDuration())); in UpdateFractionAfterContinue()
125 OnAnimateInner(fraction, interpolator_); in OnAnimate()
H A Drs_render_transition.cpp41 !RSMarshallingHelper::Marshalling(parcel, isTransitionIn_) || interpolator_ == nullptr || in Marshalling()
42 !interpolator_->Marshalling(parcel)) { in Marshalling()
84 float valueFraction = interpolator_->Interpolate(fraction); in OnAnimate()
H A Drs_render_path_animation.cpp43 interpolator_ = interpolator; in SetInterpolator()
48 return interpolator_; in GetInterpolator()
135 parcel.WriteBool(isNeedPath_) && parcel.WriteBool(needAddOrigin_) && interpolator_ != nullptr && in Marshalling()
136 interpolator_->Marshalling(parcel) && RSRenderPropertyBase::Marshalling(parcel, startValue_) && in Marshalling()
211 valueEstimator_->UpdateAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
218 vector4fValueEstimator->GetAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
H A Drs_render_particle_effector.cpp69 auto& interpolator = valChangeOverLife[i]->interpolator_; in UpdateCurveValue()
93 auto& interpolator = valChangeOverLife[i]->interpolator_; in UpdateColorCurveValue()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/
H A Dfill_gradient.h65 : interpolator_(&inter), in FillGradient()
83 interpolator_->Begin(x, y, len); in Generate()
84 for (; len; --len, ++(*interpolator_), span++) { in Generate()
85 interpolator_->Coordinates(&x, &y); in Generate()
95 FillInterpolator* interpolator_; member in OHOS::FillGradient
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_animation_timing_curve.cpp54 : interpolator_(interpolator), customCurveFunc_(nullptr) in RSAnimationTimingCurve()
58 : interpolator_(nullptr), customCurveFunc_(customCurveFunc) in RSAnimationTimingCurve()
63 interpolator_(nullptr), customCurveFunc_(nullptr) in RSAnimationTimingCurve()
69 minimumAmplitudeRatio_(minimumAmplitudeRatio), interpolator_(nullptr), customCurveFunc_(nullptr) in RSAnimationTimingCurve()
128 return interpolator_; in GetInterpolator()
H A Drs_animation_timing_curve.h86 std::shared_ptr<RSInterpolator> interpolator_; member in OHOS::Rosen::final
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_transition.h35 interpolator_ = interpolator; in SetInterpolator()
48 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT };
H A Drs_render_curve_animation.h60 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT };
H A Drs_render_path_animation.h101 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT };
H A Drs_render_particle.h61 std::shared_ptr<RSInterpolator> interpolator_ = nullptr; member in OHOS::Rosen::ChangeInOverLife
62 ChangeInOverLife() : fromValue_(), toValue_(), startMillis_(), endMillis_(), interpolator_() {} in ChangeInOverLife()
66 interpolator_(std::move(interpolator)) in ChangeInOverLife()
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation_state.cpp417 return interpolator_; in GetInterpolator()
422 interpolator_ = id != TypeId {} ? GetObjectRegistry().CreateInterpolator(id) : nullptr; in SetInterpolator()
423 return interpolator_ != nullptr; in SetInterpolator()
444 if (interpolator_) { in EvaluateValue()
445 return interpolator_->Interpolate(*data.target, *data.from, *data.to, progress); in EvaluateValue()
H A Danimation_state.h256 IInterpolator::Ptr interpolator_; member in Internal::PropertyAnimationState
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_transition_test.cpp69 return RSRenderTransition::interpolator_; in GetInterpolator()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_curve_animation_test.cpp378 timing.interpolator_ = std::make_shared<RSCustomInterpolator>(nullptr, 1); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp1037 if (val.valChangeOverLife_[i] == nullptr || val.valChangeOverLife_[i]->interpolator_ == nullptr) { in Marshalling()
1045 success = success && val.valChangeOverLife_[i]->interpolator_->Marshalling(parcel); in Marshalling()
1106 if (val.valChangeOverLife_[i] == nullptr || val.valChangeOverLife_[i]->interpolator_ == nullptr) { in Marshalling()
1114 success = success && val.valChangeOverLife_[i]->interpolator_->Marshalling(parcel); in Marshalling()

Completed in 12 milliseconds