Home
last modified time | relevance | path

Searched refs:lastValue_ (Results 1 - 14 of 14) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_property_animation.cpp28 originValue_(originValue->Clone()), lastValue_(originValue->Clone()) in RSRenderPropertyAnimation()
112 lastValue_ = originValue_->Clone(); in ParseParam()
130 if (lastValue_ != nullptr) { in GetPropertyValue()
131 return lastValue_->Clone(); in GetPropertyValue()
144 return lastValue_; in GetLastValue()
151 animationValue = property_->Clone() + (value - lastValue_); in SetAnimationValue()
152 lastValue_ = value->Clone(); in SetAnimationValue()
155 lastValue_ = value->Clone(); in SetAnimationValue()
165 animationValue = GetPropertyValue() + (value - lastValue_); in GetAnimationValue()
170 lastValue_ in GetAnimationValue()
[all...]
H A Drs_value_estimator.cpp77 if (lastValue_ < interpolationValue) { in EstimateFraction()
83 if (std::abs(lastValue_ - interpolationValue) <= EPSILON) { in EstimateFraction()
H A Drs_render_spring_animation.cpp361 lastValue_ = startValue_->Clone(); in InheritSpringStatus()
362 springValueEstimator_->UpdateStartValueAndLastValue(startValue_, lastValue_); in InheritSpringStatus()
405 springValueEstimator_->InitRSSpringValueEstimator(property_, startValue_, endValue_, lastValue_); in InitValueEstimator()
H A Drs_render_keyframe_animation.cpp242 valueEstimator_->InitDurationKeyframeAnimationValue(property_, durationKeyframes_, lastValue_); in InitValueEstimator()
244 valueEstimator_->InitKeyframeAnimationValue(property_, keyframes_, lastValue_); in InitValueEstimator()
H A Drs_render_curve_animation.cpp153 valueEstimator_->InitCurveAnimationValue(property_, startValue_, endValue_, lastValue_); in InitValueEstimator()
H A Drs_render_interpolating_spring_animation.cpp231 valueEstimator_->InitCurveAnimationValue(property_, startValue_, endValue_, lastValue_); in InitValueEstimator()
H A Drs_render_path_animation.cpp361 valueEstimator_->InitCurveAnimationValue(property_, startValue_, endValue_, lastValue_); in InitValueEstimator()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_value_estimator.h100 lastValue_ = animatableLastValue->Get();
117 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue()
119 lastValue_ = interpolationValue; in GetAnimationValue()
154 T lastValue_ {};
178 lastValue_ = animatableLastValue->Get();
197 lastValue_ = animatableLastValue->Get();
238 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue()
240 lastValue_ = interpolationValue; in GetAnimationValue()
270 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetDurationKeyframeAnimationValue()
272 lastValue_ in GetDurationKeyframeAnimationValue()
[all...]
H A Drs_render_property_animation.h78 std::shared_ptr<RSRenderPropertyBase> lastValue_; member in OHOS::Rosen::RSRenderPropertyAnimation
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_progress.cpp34 lastValue_(0) in UIAbstractProgress()
81 lastValue_ = rangeMin; in SetRange()
98 if ((curValue_ != lastValue_) && in SetValue()
100 (MATH_ABS(curValue_ - lastValue_) >= static_cast<int32_t>(step_)))) { in SetValue()
102 lastValue_ = curValue_; in SetValue()
108 uint32_t delta = lastValue_ - rangeMin_; in GetCurrentPos()
H A Dui_box_progress.cpp300 if ((lastValue_ - rangeMin_ != 0) || (foregroundStyle_->lineCap_ == CapType::CAP_ROUND)) { in OnDraw()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_event_hub.h157 if (lastValue_.has_value() && lastValue_.value() == value && lastPreviewText_ == previewText) { in FireOnChange()
172 lastValue_ = value; in FireOnChange()
386 std::optional<std::string> lastValue_; member in OHOS::Ace::OHOS::Ace::NG::TextFieldEventHub
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_progress.h330 int32_t lastValue_; member in OHOS::UIAbstractProgress
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_property_animation_test.cpp114 renderPropertyAnimation->lastValue_ = nullptr; in HWTEST_F()

Completed in 9 milliseconds