/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | keyframe_animation.cpp | 24 AnimationState::AnimationStateParams KeyframeAnimation::GetParams() in GetParams() 34 void KeyframeAnimation::Initialize() in Initialize() 40 void KeyframeAnimation::OnAnimationStateChanged(const AnimationStateChangedInfo& info) in OnAnimationStateChanged() 66 void KeyframeAnimation::Start() in Start() 71 void KeyframeAnimation::Evaluate() in Evaluate() 80 void KeyframeAnimation::Stop() in Stop() 85 void KeyframeAnimation::Pause() in Pause() 90 void KeyframeAnimation::Restart() in Restart() 95 void KeyframeAnimation::Finish() in Finish() 100 void KeyframeAnimation::Seek(float position) in Seek() [all …]
|
H A D | keyframe_animation.h | 25 class KeyframeAnimation final : public PropertyAnimationFwd<KeyframeAnimation, META_NS::ClassId::Ke… in META_BEGIN_NAMESPACE() 27 …using Super = PropertyAnimationFwd<KeyframeAnimation, META_NS::ClassId::KeyframeAnimation, IKeyfra… in META_BEGIN_NAMESPACE() 31 KeyframeAnimation() = default; in META_BEGIN_NAMESPACE() 32 ~KeyframeAnimation() override = default; in META_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/animation/ |
H A D | animation.h | 53 class KeyframeAnimation final : public Internal::StartablePropertyAnimationInterfaceAPI<KeyframeAni… 54 META_NS::ClassId::KeyframeAnimation> { 55 META_API(KeyframeAnimation<Type>) 57 META_API_CACHE_INTERFACE(META_NS::IKeyframeAnimation, KeyframeAnimation) in META_API_OBJECT_CONVERTIBLE() 62 auto object = META_NS::GetObjectRegistry().Create(META_NS::ClassId::KeyframeAnimation); in META_API_OBJECT_CONVERTIBLE() 65 META_API_INTERFACE_PROPERTY_CACHED(KeyframeAnimation, From, IAny::Ptr) in META_API_INTERFACE_PROPERTY_CACHED() argument 66 META_API_INTERFACE_PROPERTY_CACHED(KeyframeAnimation, To, IAny::Ptr) in META_API_INTERFACE_PROPERTY_CACHED() 70 if (auto p = META_API_CACHED_INTERFACE(KeyframeAnimation)->From()) { in META_API_INTERFACE_PROPERTY_CACHED() 82 if (auto p = META_API_CACHED_INTERFACE(KeyframeAnimation)->To()) { in To()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | interactive_effect.cpp | 95 …RefPtr<KeyframeAnimation<double>> alphaAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in TouchDownAnimation() 108 …RefPtr<KeyframeAnimation<double>> alphaAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in TouchUpAnimation() 127 …RefPtr<KeyframeAnimation<double>> alphaAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in CancelTouchAnimation() 133 RefPtr<KeyframeAnimation<double>>& doubleAnimation, int32_t startDelay) in StartTouchAnimation() 146 void InteractiveEffect::CreateDoubleAnimation(RefPtr<KeyframeAnimation<double>>& doubleAnimation, d… in CreateDoubleAnimation() 193 …RefPtr<KeyframeAnimation<double>> alphaAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in BuildClickAnimation() 220 void InteractiveEffect::BuildClickAlphaAnimation(const RefPtr<KeyframeAnimation<double>>& alphaAnim… in BuildClickAlphaAnimation()
|
H A D | watch_interactive_effect.cpp | 33 …RefPtr<KeyframeAnimation<double>> scaleAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in BuildClickAnimation() 34 …RefPtr<KeyframeAnimation<double>> alphaAnimation = AceType::MakeRefPtr<KeyframeAnimation<double>>(… in BuildClickAnimation() 46 void WatchInteractiveEffect::BuildClickScaleAnimation(const RefPtr<KeyframeAnimation<double>>& scal… in BuildClickScaleAnimation()
|
H A D | interactive_effect.h | 114 void BuildClickAlphaAnimation(const RefPtr<KeyframeAnimation<double>>& alphaAnimation); 115 …void CreateDoubleAnimation(RefPtr<KeyframeAnimation<double>>& doubleAnimation, double beginValue, … 117 RefPtr<KeyframeAnimation<double>>& doubleAnimation, int32_t startDelay = 0);
|
H A D | render_list_item_group.h | 116 RefPtr<KeyframeAnimation<double>> createPositionAnimation( 118 RefPtr<KeyframeAnimation<int32_t>> CreateOpacityAnimation(); 122 RefPtr<KeyframeAnimation<double>> CreateRotateAnimation();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | svg_animate.cpp | 78 void SvgAnimate::CreateFirstKeyframe(const RefPtr<KeyframeAnimation<T>>& animation, const T& value) in CreateFirstKeyframe() 153 RefPtr<KeyframeAnimation<T>> animation = AceType::MakeRefPtr<KeyframeAnimation<T>>(); in CreateDiscreteAnimate() 278 RefPtr<KeyframeAnimation<T>> animation = AceType::MakeRefPtr<KeyframeAnimation<T>>(); in CreateLinearAnimate() 326 bool SvgAnimate::LinearAnimate(const RefPtr<KeyframeAnimation<T>>& animation) in LinearAnimate() 346 bool SvgAnimate::LinearWithValues(const RefPtr<KeyframeAnimation<T>>& animation) in LinearWithValues() 370 bool SvgAnimate::LinearWithKeyTimes(const RefPtr<KeyframeAnimation<T>>& animation) in LinearWithKeyTimes() 403 RefPtr<KeyframeAnimation<T>> animation = AceType::MakeRefPtr<KeyframeAnimation<T>>(); in CreatePacedAnimate() 445 RefPtr<KeyframeAnimation<T>> animation = AceType::MakeRefPtr<KeyframeAnimation<T>>(); in CreateSplineAnimate() 490 bool SvgAnimate::SplineAnimate(const RefPtr<KeyframeAnimation<T>>& animation) in SplineAnimate() 514 bool SvgAnimate::SplineWithKeySplines(const RefPtr<KeyframeAnimation<T>>& animation) in SplineWithKeySplines() [all …]
|
H A D | svg_animate.h | 435 …const RefPtr<KeyframeAnimation<T>>& animation, const T& value, float time, const RefPtr<Curve>& cu… 437 void CreateFirstKeyframe(const RefPtr<KeyframeAnimation<T>>& animation, const T& value); 446 bool DiscreteAnimate(const RefPtr<KeyframeAnimation<T>>& animation, const T& originalValue); 448 bool DiscreteWithValues(const RefPtr<KeyframeAnimation<T>>& animation, const T& originalValue); 450 … bool DiscreteWithKeyTimes(const RefPtr<KeyframeAnimation<T>>& animation, const T& originalValue); 459 bool LinearAnimate(const RefPtr<KeyframeAnimation<T>>& animation); 461 bool LinearWithKeyTimes(const RefPtr<KeyframeAnimation<T>>& animation); 463 bool LinearWithValues(const RefPtr<KeyframeAnimation<T>>& animation); 475 bool SplineAnimate(const RefPtr<KeyframeAnimation<T>>& animation); 477 bool SplineWithKeySplines(const RefPtr<KeyframeAnimation<T>>& animation); [all …]
|
H A D | keyframe_animation.h | 31 class KeyframeAnimation : public Animation<T> { 32 DECLARE_ACE_TYPE(KeyframeAnimation, Animation<T>); 34 KeyframeAnimation() = default; 36 ~KeyframeAnimation() override = default;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/toggle/ |
H A D | render_toggle.h | 74 RefPtr<KeyframeAnimation<float>> scaleAnimationEnter_; 75 RefPtr<KeyframeAnimation<float>> scaleAnimationExit_; 76 RefPtr<KeyframeAnimation<float>> scaleAnimationUp_; 77 RefPtr<KeyframeAnimation<float>> scaleAnimationDown_; 93 …void CreateFloatAnimation(RefPtr<KeyframeAnimation<float>>& floatAnimation, float beginValue, floa…
|
H A D | render_toggle.cpp | 148 scaleAnimationEnter_ = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in OnMouseHoverEnterTest() 162 scaleAnimationExit_ = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in OnMouseHoverExitTest() 177 scaleAnimationDown_ = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in OnMouseClickDownAnimation() 192 scaleAnimationUp_ = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in OnMouseClickUpAnimation() 201 void RenderToggle::CreateFloatAnimation(RefPtr<KeyframeAnimation<float>>& floatAnimation, float beg… in CreateFloatAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_bar_item.h | 66 RefPtr<KeyframeAnimation<double>>& doubleAnimation); 68 … void CreateDoubleAnimation(RefPtr<KeyframeAnimation<double>>& doubleAnimation, double beginValue, 77 RefPtr<KeyframeAnimation<double>> doubleAnimationEnter_; 78 RefPtr<KeyframeAnimation<double>> doubleAnimationExit_;
|
H A D | render_tab_bar_item.cpp | 84 doubleAnimationEnter_ = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in OnMouseHoverEnterTest() 97 doubleAnimationExit_ = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in OnMouseHoverExitTest() 114 auto doubleAnimationPress = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in PlayPressAnimation() 125 RefPtr<KeyframeAnimation<double>>& doubleAnimation) in StartHoverAnimation() 138 …RefPtr<KeyframeAnimation<double>>& doubleAnimation, double beginValue, double endValue, bool hover) in CreateDoubleAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/ |
H A D | rosen_render_slider.h | 57 …void StartHoverAnimation(RefPtr<Animator> controller, RefPtr<KeyframeAnimation<Color>>& colorAnima… 60 …RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValue, const Color& endValue, … 64 RefPtr<KeyframeAnimation<Color>> colorAnimationEnter_; 65 RefPtr<KeyframeAnimation<Color>> colorAnimationExit_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | render_indexer_item.h | 123 RefPtr<KeyframeAnimation<Color>>& colorAnimation); 125 …void CreateColorAnimation(RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValu… 135 RefPtr<KeyframeAnimation<Color>> colorAnimationEnter_; 136 RefPtr<KeyframeAnimation<Color>> colorAnimationExit_;
|
H A D | render_indexer_item.cpp | 118 colorAnimationEnter_ = AceType::MakeRefPtr<KeyframeAnimation<Color>>(); in OnMouseHoverEnterTest() 132 colorAnimationExit_ = AceType::MakeRefPtr<KeyframeAnimation<Color>>(); in OnMouseHoverExitTest() 149 RefPtr<KeyframeAnimation<Color>>& colorAnimation) in StartHoverAnimation() 162 … RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValue, const Color& endValue) in CreateColorAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | render_indexer_item.h | 127 RefPtr<KeyframeAnimation<Color>>& colorAnimation); 129 …void CreateColorAnimation(RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValu… 140 RefPtr<KeyframeAnimation<Color>> colorAnimationEnter_; 141 RefPtr<KeyframeAnimation<Color>> colorAnimationExit_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | render_tool_bar_item.h | 105 RefPtr<KeyframeAnimation<Color>>& colorAnimation); 107 …void CreateColorAnimation(RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValu… 114 RefPtr<KeyframeAnimation<Color>> colorAnimationEnter_; 115 RefPtr<KeyframeAnimation<Color>> colorAnimationExit_;
|
H A D | render_tool_bar_item.cpp | 192 colorAnimationEnter_ = AceType::MakeRefPtr<KeyframeAnimation<Color>>(); in OnMouseHoverEnterTest() 204 colorAnimationExit_ = AceType::MakeRefPtr<KeyframeAnimation<Color>>(); in OnMouseHoverExitTest() 215 RefPtr<KeyframeAnimation<Color>>& colorAnimation) in StartHoverAnimation() 228 …RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValue, const Color& endValue, … in CreateColorAnimation() 271 auto colorAnimation = AceType::MakeRefPtr<KeyframeAnimation<Color>>(); in PlayEventEffectAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | render_button.h | 228 …void CreateFloatAnimation(RefPtr<KeyframeAnimation<float>>& floatAnimation, float beginValue, floa… 246 RefPtr<KeyframeAnimation<float>> scaleAnimationEnter_; 247 RefPtr<KeyframeAnimation<float>> scaleAnimationExit_; 248 RefPtr<KeyframeAnimation<float>> scaleAnimationUp_; 249 RefPtr<KeyframeAnimation<float>> scaleAnimationDown_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.h | 186 …void CreateFloatAnimation(RefPtr<KeyframeAnimation<float>>& floatAnimation, float beginValue, floa… 221 … RefPtr<KeyframeAnimation<Color>>& colorAnimation, const Color& beginValue, const Color& endValue); 237 RefPtr<KeyframeAnimation<Color>> colorAnimationEnter_; 238 RefPtr<KeyframeAnimation<Color>> colorAnimationExit_; 239 RefPtr<KeyframeAnimation<float>> scaleAnimationEnter_; 240 RefPtr<KeyframeAnimation<float>> scaleAnimationExit_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | page_transition_option.cpp | 35 auto opacityAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateSharedInOption() 69 auto opacityAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateSharedOutOption() 85 auto opacityAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateSharedStaticOption() 178 auto opacityAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateTransitionInContentOption() 190 auto scaleAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateTransitionInContentOption() 208 auto opacityAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateTransitionInBackgroundOption() 223 auto scaleAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreateTransitionInBackgroundOption() 257 auto opacityAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreatTransitionOutOption() 272 auto scaleAnimation = AceType::MakeRefPtr<KeyframeAnimation<float>>(); in CreatTransitionOutOption() 505 auto colorAnimation = AceType::MakeRefPtr<KeyframeAnimation<Color>>(); in CreateCardTransitionOutOption() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_radio.cpp | 199 … RefPtr<KeyframeAnimation<double>> shrinkEngine = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in UpdateAnimation() 200 … RefPtr<KeyframeAnimation<double>> selectEngine = AceType::MakeRefPtr<KeyframeAnimation<double>>(); in UpdateAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transition/ |
H A D | transition_element.cpp | 107 AceType::DynamicCast<KeyframeAnimation<float>>( in ReplaceAnimation() 114 AceType::DynamicCast<KeyframeAnimation<float>> in ReplaceAnimation() 122 …AceType::DynamicCast<KeyframeAnimation<Color>>(colorAnimation)->ReplaceKeyframe(keyframeColorBegin… in ReplaceAnimation() 132 …AceType::DynamicCast<KeyframeAnimation<float>>(opacityAnimation)->ReplaceKeyframe(keyframeOpacityB… in ReplaceAnimation()
|