/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | svg_animate.cpp | 116 auto animation = AceType::MakeRefPtr<CurveAnimation<double>>(0.0, 1.0, GetCurve()); in CreateMotionAnimate() 188 CreateKeyframe(animation, startValue, 0.5f, GetCurve()); in DiscreteAnimate() 189 CreateKeyframe(animation, endValue, 1.0f, GetCurve()); in DiscreteAnimate() 203 CreateKeyframe(animation, GetValue<T>(values.front()), 1.0f, GetCurve()); in DiscreteAnimate() 234 CreateKeyframe(animation, GetValue<T>(*valueIter), keyTime, GetCurve()); in DiscreteWithValues() 238 CreateKeyframe(animation, GetValue<T>(values.back()), 1.0f, GetCurve()); in DiscreteWithValues() 260 CreateKeyframe(animation, GetValue<T>(*valueIter), *keyTimeIter, GetCurve()); in DiscreteWithKeyTimes() 264 CreateKeyframe(animation, GetValue<T>(*(values.end() - 2)), 1.0f, GetCurve()); in DiscreteWithKeyTimes() 318 auto animation = AceType::MakeRefPtr<CurveAnimation<T>>(startValue, endValue, GetCurve()); in LinearAnimateFromTo() 335 CreateKeyframe(animation, GetValue<T>(values.back()), 1.0f, GetCurve()); in LinearAnimate() [all...] |
H A D | property_animation.cpp | 73 RefPtr<Curve> PropertyAnimation::GetCurve() in GetCurve() function in OHOS::Ace::PropertyAnimation 75 if (!animatables_.empty() && animatables_.front()->GetCurve() != nullptr) { in GetCurve() 76 return animatables_.front()->GetCurve(); in GetCurve() 178 float process = to->GetCurve()->Move(time); in Next()
|
H A D | interpolator.h | 77 option, GetCurve(), in RunAsync() 95 virtual RefPtr<Curve> GetCurve() in GetCurve() function
|
H A D | keyframe_animation.h | 119 auto curve = keyframe->GetCurve() ? keyframe->GetCurve() : AceType::DynamicCast<Curve>(Curves::EASE); 165 auto& curve = keyframe->GetCurve(); in Calculate()
|
H A D | keyframe.h | 65 const RefPtr<Curve>& GetCurve() const in GetCurve() function in OHOS::Ace::Keyframe
|
H A D | animatable.h | 89 const RefPtr<Curve>& GetCurve() const in GetCurve() function in OHOS::Ace::Animatable
|
H A D | spring_animation.h | 57 RefPtr<Curve> GetCurve() override;
|
H A D | property_animation.h | 59 RefPtr<Curve> GetCurve() override;
|
H A D | animator_info.h | 71 const RefPtr<Curve>& GetCurve() const in GetCurve() function in OHOS::Ace::Framework::AnimatorInfo
|
H A D | animatable_base.h | 116 AceType::MakeRefPtr<CurveAnimation<T>>(begin, end, animationOption_.GetCurve()); in CreateAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/ |
H A D | page_transition_info.h | 106 const RefPtr<Curve>& GetCurve() const in GetCurve() function in OHOS::Ace::PageTransition 108 return tweenOption_.GetCurve(); in GetCurve() 148 auto animation = AceType::MakeRefPtr<CurveAnimation<TransformOperation>>(init, target, tweenOption_.GetCurve()); in AddTranslateAnimation() 165 auto animation = AceType::MakeRefPtr<CurveAnimation<TransformOperation>>(init, target, tweenOption_.GetCurve()); in AddScaleAnimation() 177 auto animation = AceType::MakeRefPtr<CurveAnimation<float>>(initValue, targetValue, tweenOption_.GetCurve()); in AddOpacityAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property_animation.h | 65 RefPtr<Curve> GetCurve() const in GetCurve() function 77 bool isCurveEqual = (curve_ && curve_->IsEqual(other.GetCurve())) || (!curve_ && !other.GetCurve()); in operator ==()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_paint_property.cpp | 37 json->PutExtAttr("curve", GetCurve().has_value() ? in ToJsonValue() 38 Curves::ToString(GetCurve().value()).c_str() : Curves::DEFAULT_CURVE_NAME.c_str(), filter); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_view_context_ffi.cpp | 68 pipelineContext->OpenImplicitAnimation(option, option.GetCurve(), onFinishEvent); in AnimateToForStageMode() 162 animateOpt.GetDuration(), animateOpt.GetCurve() ? animateOpt.GetCurve()->ToString().c_str() : ""); in FfiOHOSAceFrameworkViewContextAnimationTo()
|
/foundation/arkui/ace_engine/frameworks/core/components/tween/ |
H A D | tween_element.cpp | 33 if (option.GetCurve()) { in SetTranslateProperties() 34 translateAnimation->SetCurve(option.GetCurve()); in SetTranslateProperties() 44 if (option.GetCurve()) { in SetScaleProperties() 45 scaleAnimation->SetCurve(option.GetCurve()); in SetScaleProperties() 54 if (option.GetCurve()) { in SetRotateProperties() 55 rotateAnimation->SetCurve(option.GetCurve()); in SetRotateProperties() 77 if (option.GetCurve()) { in SetAnimationProperties() 78 animation->SetCurve(option.GetCurve()); in SetAnimationProperties() 211 if (option.GetCurve()) { in CreateOpacityAnimation() 212 opacityAnimation->SetCurve(option.GetCurve()); in CreateOpacityAnimation() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_context.cpp | 109 option.GetCurve()->ToString().c_str()); in PrintAnimationInfo() 160 pipelineContext->StartImplicitAnimation(option, option.GetCurve(), option.GetOnFinishEvent()); in AnimateToForStageMode() 215 option.GetDuration(), option.GetCurve()->ToString().c_str(), option.GetIteration()); in StartAnimationForStageMode() 258 option.GetDuration(), option.GetCurve()->ToString().c_str(), option.GetIteration()); in StartAnimateToForFaMode() 262 pipelineContext->OpenImplicitAnimation(option, option.GetCurve(), option.GetOnFinishEvent()); in StartAnimateToForFaMode() 576 option.GetCurve()->ToString().c_str(), option.GetIteration()); in JSAnimation() 664 << ",curve:" << (option.GetCurve() ? option.GetCurve()->ToString().c_str() : ""); in AnimateToInner() 677 option.GetDuration(), option.GetCurve() ? option.GetCurve() in AnimateToInner() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_animation_utils.cpp | 124 Rosen::RSNode::Animate(timingProtocol, NativeCurveHelper::ToNativeCurve(option.GetCurve()), callback, in Animate() 143 timingProtocol, NativeCurveHelper::ToNativeCurve(option.GetCurve()), callback); in AnimateWithCurrentCallback() 169 animation->animations_ = Rosen::RSNode::Animate(timingProtocol, NativeCurveHelper::ToNativeCurve(option.GetCurve()), in StartAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | swiper_composed_element.cpp | 34 { "curve", [](const SwiperComposedElement& inspector) { return inspector.GetCurve(); } }, 59 DumpLog::GetInstance().AddDesc(std::string("curve: ").append(GetCurve())); in Dump() 160 std::string SwiperComposedElement::GetCurve() const in GetCurve() function in OHOS::Ace::V2::SwiperComposedElement
|
H A D | swiper_composed_element.h | 45 std::string GetCurve() const;
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_animate.cpp | 74 option.GetDuration(), option.GetCurve()->ToString().c_str()); in PrintNodeAnimationInfo() 95 ACE_SCOPED_TRACE("duration:%d, curve:%s, iteration:%d", option.GetDuration(), option.GetCurve()->ToString().c_str(), in AnimateToInner() 119 pipelineContext->OpenImplicitAnimation(option, option.GetCurve(), onFinishFunc); in AnimateToInner() 227 pipelineContext->OpenImplicitAnimation(option, option.GetCurve(), option.GetOnFinishEvent()); in KeyframeAnimateTo()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animatable_double.h | 129 AceType::MakeRefPtr<CurveAnimation<double>>(value_, endValue, animationOption_.GetCurve()); in AnimateTo()
|
H A D | animatable_color.h | 103 AceType::MakeRefPtr<CurveAnimation<Color>>(Color(GetValue()), Color(endValue), animationOption_.GetCurve()); in AnimateTo()
|
H A D | animation_option.h | 100 const RefPtr<Curve>& GetCurve() const in GetCurve() function in OHOS::Ace::final
|
H A D | animatable_path.cpp | 78 AceType::MakeRefPtr<CurveAnimation<double>>(0.0, 1.0, animationOption_.GetCurve()); in AnimateTo()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | animatable_float.h | 114 GetValue(), endValue, animationOption_.GetCurve()); in AnimateTo()
|