Searched refs:rotateAnimation (Results 1 – 4 of 4) sorted by relevance
355 auto rotateAnimation = CreateRotateAnimation(); in AnimationPerformLayout() local359 animator_->AddInterpolator(rotateAnimation); in AnimationPerformLayout()596 auto rotateAnimation = MakeRefPtr<KeyframeAnimation<double>>(); in CreateRotateAnimation() local597 rotateAnimation->AddKeyframe(rotateKeyframe1); in CreateRotateAnimation()598 rotateAnimation->AddKeyframe(rotateKeyframe2); in CreateRotateAnimation()599 rotateAnimation->AddKeyframe(rotateKeyframe3); in CreateRotateAnimation()600 rotateAnimation->AddListener([weakItemGroup = WeakClaim(this)](double value) { in CreateRotateAnimation()606 return rotateAnimation; in CreateRotateAnimation()
146 … auto rotateAnimation = AceType::MakeRefPtr<CurveAnimation<float>>(0.0f, 0.0f, option_->curve); in CreateTranslateAnimation() local147 rotateAnimation->SetEvaluator(motionPathEvaluator->CreateRotateEvaluator()); in CreateTranslateAnimation()154 rotateAnimation->AddListener(rotateListener); in CreateTranslateAnimation()155 controller_->AddInterpolator(rotateAnimation); in CreateTranslateAnimation()
253 … auto rotateAnimation = AceType::MakeRefPtr<CurveAnimation<float>>(0.0f, 1.0f, option.GetCurve()); in CreateTranslateAnimation() local254 rotateAnimation->SetEvaluator(motionPathEvaluator->CreateRotateEvaluator()); in CreateTranslateAnimation()255 option.SetTransformFloatAnimation(AnimationType::ROTATE_Z, rotateAnimation); in CreateTranslateAnimation()
61 void SetRotateProperties(const RefPtr<Animation<float>>& rotateAnimation, TweenOption& option) in SetRotateProperties() argument64 rotateAnimation->SetCurve(option.GetCurve()); in SetRotateProperties()66 if (!rotateAnimation->HasInitValue()) { in SetRotateProperties()67 rotateAnimation->SetInitValue(0.0f); in SetRotateProperties()