Home
last modified time | relevance | path

Searched refs:scaleAnimation (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dwatch_interactive_effect.cpp33 …RefPtr<KeyframeAnimation<double>> scaleAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in BuildClickAnimation() local
35 BuildClickScaleAnimation(scaleAnimation); in BuildClickAnimation()
39 controller_->AddInterpolator(scaleAnimation); in BuildClickAnimation()
46 …nteractiveEffect::BuildClickScaleAnimation(const RefPtr<KeyframeAnimation<double>>& scaleAnimation) in BuildClickScaleAnimation() argument
54 scaleAnimation->AddKeyframe(scaleFrameStart); in BuildClickScaleAnimation()
55 scaleAnimation->AddKeyframe(scaleFrameMid); in BuildClickScaleAnimation()
56 scaleAnimation->AddKeyframe(scaleFrameEnd); in BuildClickScaleAnimation()
57 scaleAnimation->AddListener([weakEffect = AceType::WeakClaim(this)](double value) { in BuildClickScaleAnimation()
H A Dtv_interactive_effect.cpp31 auto scaleAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in BuildStateAnimation() local
32 scaleAnimation->AddKeyframe(scaleFrameStart); in BuildStateAnimation()
33 scaleAnimation->AddKeyframe(scaleFrameEnd); in BuildStateAnimation()
34 scaleAnimation->AddListener([weakEffect = AceType::WeakClaim(this)](double value) { in BuildStateAnimation()
44 controller_->AddInterpolator(scaleAnimation); in BuildStateAnimation()
H A Dwatch_interactive_effect.h47 void BuildClickScaleAnimation(const RefPtr<KeyframeAnimation<double>>& scaleAnimation);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpage_transition_option.cpp191 scaleAnimation->AddKeyframe(scaleKeyframe1); in CreateTransitionInContentOption()
192 scaleAnimation->AddKeyframe(scaleKeyframe2); in CreateTransitionInContentOption()
193 scaleAnimation->AddKeyframe(scaleKeyframe3); in CreateTransitionInContentOption()
224 scaleAnimation->AddKeyframe(scaleKeyframe1); in CreateTransitionInBackgroundOption()
225 scaleAnimation->AddKeyframe(scaleKeyframe2); in CreateTransitionInBackgroundOption()
226 scaleAnimation->AddKeyframe(scaleKeyframe3); in CreateTransitionInBackgroundOption()
227 scaleAnimation->AddKeyframe(scaleKeyframe4); in CreateTransitionInBackgroundOption()
273 scaleAnimation->AddKeyframe(scaleKeyframe1); in CreatTransitionOutOption()
274 scaleAnimation->AddKeyframe(scaleKeyframe2); in CreatTransitionOutOption()
275 scaleAnimation->AddKeyframe(scaleKeyframe3); in CreatTransitionOutOption()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tween/
H A Dtween_element.cpp51 void SetScaleProperties(const RefPtr<Animation<float>>& scaleAnimation, TweenOption& option) in SetScaleProperties() argument
54 scaleAnimation->SetCurve(option.GetCurve()); in SetScaleProperties()
56 if (!scaleAnimation->HasInitValue()) { in SetScaleProperties()
57 scaleAnimation->SetInitValue(1.0f); in SetScaleProperties()
244 [](const RefPtr<Animation<float>>& scaleAnimation, WeakPtr<RenderTransform>& weakRender,
246 SetScaleProperties(scaleAnimation, option); in __anonf1ba2b2b0202()
247 scaleAnimation->AddListener([weakRender, scaleAnimation](float value) { in __anonf1ba2b2b0202()
672 auto& scaleAnimation = iterScaleAnimation->second; in CreateScaleAnimation() local
673 … transformFloatAnimationAddMap_[scaleAnimationIter].value(scaleAnimation, weakRender, option); in CreateScaleAnimation()
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dapplication-performance-optimization-guidance.md960 @State scaleAnimation: ScaleAnimationParams = new ScaleAnimationParams();
979 x: this.scaleAnimation.scaleX,
980 y: this.scaleAnimation.scaleY,
981 centerX: this.scaleAnimation.centerX,
982 centerY: this.scaleAnimation.centerY
1002 this.scaleAnimation.scaleX = 3;
1003 this.scaleAnimation.scaleY = 3;
1004 this.scaleAnimation.centerX = 20;
1005 this.scaleAnimation.centerY = 20;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcard_transition_controller.cpp179 …auto scaleAnimation = AceType::MakeRefPtr<CurveAnimation<double>>(startScale, endScale, Curves::FR… in CreateCardScaleAnimation() local
180 scaleAnimation->AddListener([weakTransform](double value) { in CreateCardScaleAnimation()
186 controller_->AddInterpolator(scaleAnimation); in CreateCardScaleAnimation()