Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_modal/
H A Drender_dialog_modal.cpp114 auto heightAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in AnimateTo() local
115 heightAnimation->AddKeyframe(keyframeFrom); in AnimateTo()
116 heightAnimation->AddKeyframe(keyframeTo); in AnimateTo()
117 heightAnimation->SetCurve(Curves::FRICTION); in AnimateTo()
119 heightAnimation->AddListener([weak = AceType::WeakClaim(this)](const double& height) { in AnimateTo()
132 controller_->AddInterpolator(heightAnimation); in AnimateTo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/
H A Drender_semi_modal.cpp626 auto heightAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in AppendBlankHeightAnimation() local
627 heightAnimation->AddKeyframe(keyframeFrom); in AppendBlankHeightAnimation()
628 heightAnimation->AddKeyframe(keyframeTo); in AppendBlankHeightAnimation()
629 heightAnimation->SetCurve(Curves::FRICTION); in AppendBlankHeightAnimation()
631 heightAnimation->AddListener([semiWeak = AceType::WeakClaim(this)](const double& height) { in AppendBlankHeightAnimation()
644 animator_->AddInterpolator(heightAnimation); in AppendBlankHeightAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcard_transition_controller.cpp227 … auto heightAnimation = AceType::MakeRefPtr<CurveAnimation<double>>(start, end, Curves::FRICTION); in CreateCardListAnimation() local
229 heightAnimation->AddListener([listItemWeak](double value) { in CreateCardListAnimation()
235 controller_->AddInterpolator(heightAnimation); in CreateCardListAnimation()
H A Dshared_transition_effect.cpp291 auto heightAnimation = in CreateSizeAnimation() local
293 option.SetPropertyAnimationFloat(PropertyAnimatableType::PROPERTY_HEIGHT, heightAnimation); in CreateSizeAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/panel/
H A Drender_sliding_panel.cpp524 auto heightAnimation = AceType::MakeRefPtr<SpringAnimation>(springProperty); in AppendBlankHeightAnimation() local
525 heightAnimation->AddListener( in AppendBlankHeightAnimation()
539 animator_->AddInterpolator(heightAnimation); in AppendBlankHeightAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpage_transition_option.cpp526 auto heightAnimation = AceType::MakeRefPtr<CurveAnimation<float>>(deviceHeight_, in CreateCardTransitionInOption() local
530 …ntentInOption_.SetPropertyAnimationFloat(PropertyAnimatableType::PROPERTY_HEIGHT, heightAnimation); in CreateCardTransitionInOption()
536 …auto heightAnimation = AceType::MakeRefPtr<CurveAnimation<float>>(size.Height() * deviceWidth_ / s… in CreateCardTransitionInOption() local
540 …ntentInOption_.SetPropertyAnimationFloat(PropertyAnimatableType::PROPERTY_HEIGHT, heightAnimation); in CreateCardTransitionInOption()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Dsliding_panel_pattern.cpp666 auto heightAnimation = AceType::MakeRefPtr<SpringAnimation>(springProperty); in AppendBlankHeightAnimation() local
667 heightAnimation->AddListener( in AppendBlankHeightAnimation()
698 animator_->AddInterpolator(heightAnimation); in AppendBlankHeightAnimation()