/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_spring_animation.cpp | 40 : RSRenderPropertyAnimation(id, propertyId, originValue), startValue_(startValue), endValue_(endValue) in RSRenderSpringAnimation() 55 out += ", StartValue: " + RSAnimationTraceUtils::GetInstance().ParseRenderPropertyVaule(startValue_, type); in DumpAnimationInfo() 85 if (!(RSRenderPropertyBase::Marshalling(parcel, startValue_) && in Marshalling() 125 if (!(RSRenderPropertyBase::Unmarshalling(parcel, startValue_) && in ParseParam() 173 auto targetValue = animationFraction_.GetCurrentIsReverseCycle() ? startValue_ : endValue_; in OnAnimate() 177 auto zeroValue = startValue_ - startValue_; in OnAnimate() 291 if (startValue_ != nullptr && initialVelocity_ == nullptr) { in OnInitialize() 292 initialVelocity_ = startValue_ * 0.f; in OnInitialize() 318 return { startValue_, endValue in GetSpringStatus() [all...] |
H A D | rs_render_interpolating_spring_animation.cpp | 36 : RSRenderPropertyAnimation(id, propertyId, originValue), RSSpringModel<float>(), startValue_(startValue), in RSRenderInterpolatingSpringAnimation() 52 out += ", StartValue: " + RSAnimationTraceUtils::GetInstance().ParseRenderPropertyVaule(startValue_, type); in DumpAnimationInfo() 84 if (!(RSRenderPropertyBase::Marshalling(parcel, startValue_) && in Marshalling() 121 if (!(RSRenderPropertyBase::Unmarshalling(parcel, startValue_) && in ParseParam() 199 auto interpolationValue = valueEstimator_->Estimate(displacement, startValue_, endValue_); in OnAnimate() 200 auto endValue = animationFraction_.GetCurrentIsReverseCycle() ? startValue_ : endValue_; in OnAnimate() 202 auto zeroValue = startValue_ - startValue_; in OnAnimate() 231 valueEstimator_->InitCurveAnimationValue(property_, startValue_, endValue_, lastValue_); in InitValueEstimator() 246 auto velocity = (valueEstimator_->Estimate(nextDisplacement, startValue_, endValue in CalculateVelocity() [all...] |
H A D | rs_render_curve_animation.cpp | 28 startValue_(startValue), endValue_(endValue) in RSRenderCurveAnimation() 41 out += ", StartValue: " + RSAnimationTraceUtils::GetInstance().ParseRenderPropertyVaule(startValue_, type); in DumpAnimationInfo() 61 if (!(RSRenderPropertyBase::Marshalling(parcel, startValue_) && in Marshalling() 88 if (!(RSRenderPropertyBase::Unmarshalling(parcel, startValue_) && in ParseParam() 153 valueEstimator_->InitCurveAnimationValue(property_, startValue_, endValue_, lastValue_); in InitValueEstimator()
|
H A D | rs_value_estimator.cpp | 72 auto byValue = endValue_ - startValue_; in EstimateFraction() 76 auto interpolationValue = startValue_ * (1.0f - fraction) + endValue_ * fraction; in EstimateFraction()
|
H A D | rs_render_path_animation.cpp | 32 originRotation_(originRotation), startValue_(startPosition), endValue_(endPosition), in RSRenderPathAnimation() 136 interpolator_->Marshalling(parcel) && RSRenderPropertyBase::Marshalling(parcel, startValue_) && in Marshalling() 178 if (!(RSRenderPropertyBase::Unmarshalling(parcel, startValue_) && in ParseParam() 361 valueEstimator_->InitCurveAnimationValue(property_, startValue_, endValue_, lastValue_); in InitValueEstimator()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_property_animation.cpp | 98 startValue_ = originValue_->Clone(); in InitInterpolationValue() 101 byValue_ = endValue_ - startValue_; in InitInterpolationValue() 107 auto startValue = startValue_; in OnUpdateStagingValue() 136 targetValue = startValue_; in UpdateStagingValueOnInteractiveFinish() 178 if (startValue_) { in DumpAnimationInfo() 180 RSAnimationTraceUtils::GetInstance().ParseRenderPropertyVaule(startValue_->GetRenderProperty(), type); in DumpAnimationInfo()
|
H A D | rs_path_animation.cpp | 41 startValue_ = startValue; in RSPathAnimation() 43 InitNeedPath(startValue_, endValue_); in RSPathAnimation() 143 originValue_->GetRenderProperty(), startValue_->GetRenderProperty(), endValue_->GetRenderProperty(), in OnStart() 178 if (startValue_->GetPropertyType() == RSRenderPropertyType::PROPERTY_VECTOR2F && in InitInterpolationValue() 179 InitInterpolationVector2f(startValue_, endValue_)) { in InitInterpolationValue() 182 if (startValue_->GetPropertyType() == RSRenderPropertyType::PROPERTY_VECTOR4F && in InitInterpolationValue() 183 InitInterpolationVector4f(startValue_, endValue_)) { in InitInterpolationValue() 188 byValue_ = endValue_ - startValue_; in InitInterpolationValue()
|
H A D | rs_curve_animation.cpp | 40 startValue_ = startValue; in RSCurveAnimation() 83 originValue_->GetRenderProperty(), startValue_->GetRenderProperty(), endValue_->GetRenderProperty()); in OnStart()
|
H A D | rs_interpolating_spring_animation.cpp | 41 startValue_ = startValue; in RSInterpolatingSpringAnimation() 74 originValue_->GetRenderProperty(), startValue_->GetRenderProperty(), endValue_->GetRenderProperty()); in OnStart()
|
H A D | rs_spring_animation.cpp | 42 startValue_ = startValue; in RSSpringAnimation() 75 originValue_->GetRenderProperty(), startValue_->GetRenderProperty(), endValue_->GetRenderProperty()); in OnStart()
|
H A D | rs_keyframe_animation.cpp | 87 startValue_ = std::get<DURATION_VALUE_INDEX>(durationKeyframes_.front()); in InitInterpolationValue() 102 startValue_ = std::get<VALUE_INDEX>(keyframes_.front()); in InitInterpolationValue()
|
H A D | rs_property_animation.h | 66 std::shared_ptr<RSPropertyBase> startValue_ {};
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_transition_effect.h | 120 : property_(property), startValue_(startValue), endValue_(endValue) in RSTransitionCustom() 148 valueEstimator_->InitCurveAnimationValue(property_, endValue_, startValue_, startValue_); in InitValueEstimator() 152 std::shared_ptr<RSRenderPropertyBase> startValue_; member in OHOS::Rosen::RSTransitionCustom
|
H A D | rs_value_estimator.h | 98 startValue_ = animatableStartValue->Get(); 114 auto interpolationValue = RSValueEstimator::Estimate(fraction, startValue_, endValue_); in GetAnimationValue() 152 T startValue_ {}; 410 startValue_ = animatableStartValue->Get(); 414 springModel_->initialOffset_ = startValue_ - endValue_; 425 startValue_ = animatableStartValue->Get(); 428 springModel_->initialOffset_ = startValue_ - endValue_; 443 T currentValue = startValue_; in GetAnimationValue() 491 T startValue_ {};
|
H A D | rs_render_interpolating_spring_animation.h | 60 std::shared_ptr<RSRenderPropertyBase> startValue_; member in OHOS::Rosen::RSRenderInterpolatingSpringAnimation
|
H A D | rs_render_curve_animation.h | 58 std::shared_ptr<RSRenderPropertyBase> startValue_ {};
|
H A D | rs_render_spring_animation.h | 75 std::shared_ptr<RSRenderPropertyBase> startValue_; member in OHOS::Rosen::RSRenderSpringAnimation
|
H A D | rs_render_path_animation.h | 99 std::shared_ptr<RSRenderPropertyBase> startValue_ {};
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_picker.cpp | 108 startValue_(0), in UIPicker() 179 startValue_ = start; in SetValues() 199 } else if ((startValue_ != 0) || (endValue_ != 0)) { in Refresh() 200 RefreshValues(startValue_, endValue_); in Refresh()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_picker.h | 568 int16_t startValue_; member in OHOS::UIPicker
|
/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | render_button.cpp | 716 if (!valueChanged_ && (!NearEqual(value, startValue_))) { in UpdateAnimationParam() 719 if ((!isClickAnimation_ && NearEqual(value, endValue_)) || (valueChanged_ && NearEqual(value, startValue_))) { in UpdateAnimationParam() 758 startValue_ = start; in PlayAnimation() 836 startValue_ = TV_EXPAND_SCALE; in PlayClickAnimation()
|
H A D | render_button.h | 235 double startValue_ = 0.0; member in OHOS::Ace::RenderButton
|