/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | property_animation.cpp | 29 if (animatable == nullptr) { in SetStart() 32 animatable->SetTimePoint(0.0f); in SetStart() 33 animatables_.emplace_front(animatable); in SetStart() 38 if (animatable == nullptr) { in AddAnimatable() 41 animatables_.emplace_back(animatable); in AddAnimatable() 50 for (auto& animatable : animatables_) { in SetCurve() local 51 animatable->SetCurve(curve); in SetCurve() 87 for (const auto& animatable : animatables_) { in Calculate() local 88 if (keyTime < animatable->GetTimePoint()) { in Calculate() 91 TriggerFrame(preAnimatable, animatable, innerKeyTime); in Calculate() [all …]
|
H A D | property_animation.h | 36 void SetStart(const RefPtr<Animatable>& animatable); 37 void AddAnimatable(const RefPtr<Animatable>& animatable);
|
H A D | animation_util.cpp | 528 auto animatable = AceType::MakeRefPtr<AnimatableData<T>>(value); in AddAnimatable() local 529 animatable->SetTimePoint(time); in AddAnimatable() 533 animation->AddAnimatable(animatable); in AddAnimatable() 537 it->second->AddAnimatable(animatable); in AddAnimatable()
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-attribute-animation-overview.md | 4 …ssified as animatable or non-animatable, depending on whether an animation can be applied to their… 7 …er, as its value change does not cause UI re-render, it does not qualify as an animatable property. 9 … animation is appropriate here. Therefore, the property does not qualify as an animatable property. 15 - Built-in animatable properties 28 …- Custom animatable properties: animatable properties abstracted through the custom property anima… 30 - Non-animatable properties: **zIndex** and **focusable**, among others. 33 …animatable property accepts only continuous parameters, which allows for using interpolation to fi… 39 - Built-in animatable properties: system-provided component properties for changing the UI, for exa… 41 …animatable properties: properties made animatable with the use of the [@AnimatableExtend](../quick…
|
H A D | arkts-custom-attribute-animation.md | 4 The property animation is an illusion of movement created on the UI when the value of an animatable… 7 …animatable-extend.md) decorator for customizing animatable property APIs. Since the data type of t… 14 // Step 1: Use the @AnimatableExtend decorator to customize an animatable property API. 17 …roperty API. The per-frame callback function modifies the value of the animatable property on each… 28 ….animatableWidth(this.textWidth)// Step 2: Set the custom animatable property API on the component. 29 …tion: 2000, curve: Curve.Ease })// Step 3: Bind an animation to the custom animatable property API. 32 …this.textWidth == 80 ? 160 : 80;// Change the parameters of the custom animatable property to crea… 51 // Define the parameter type of the animatable property API and implement the addition, subtraction… 82 // Define the parameter type of the animatable property API and implement the addition, subtraction… 132 // Define a custom animatable property API.
|
H A D | arkts-attribute-animation-apis.md | 10 …ponents through attribute APIs.| This API identifies the change of the animatable properties of a … 37 // Step 2: Set the declared state variables to the related animatable property APIs. 87 …I does not need to use a closure. Just add it to the end of the target animatable property, and th… 102 // Step 2: Set the declared state variables to the related animatable property APIs.
|
H A D | arkts-animation-smoothing.md | 6 Assume that there is a running animation for an animatable property. If the end value of the proper… 35 // Step 2: Set the declared state variable to the related animatable property API. 85 // Step 2: Set the declared state variable to the related animatable property API.
|
H A D | arkts-user-defined.md | 20 … effects on animatable component properties.<br>Use [@AnimatableExtend](../quick-start/arkts-anima…
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-animatable-extend.md | 3 …animatable attribute of a component. During animation execution, a frame-by-frame callback is used… 5 …animatable attribute. For example, **height**, **width**, **backgroundColor**, **translate**, and … 7 …animatable attribute: If an attribute method is called before the **animation** attribute, and cha… 183 
|
H A D | Readme-EN.md | 62 … - [\@AnimatableExtend Decorator: Definition of Animatable Attributes](arkts-animatable-extend.md)
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tween/ |
H A D | tween_element.cpp | 758 void TweenElement::CreateColorAnimation(const RefPtr<PropertyAnimatable>& animatable, TweenOption& … in CreateColorAnimation() argument 760 if (!animatable) { in CreateColorAnimation() 774 …CreatePropertyAnimation<ColorPropertyAnimatable, Color>(animatable, propertyType, option, colorAni… in CreateColorAnimation() 1006 auto animatable = GetAnimatable(contentElement); in ApplyKeyframes() local 1007 if (animatable) { in ApplyKeyframes() 1008 CreateColorAnimation(animatable, option); in ApplyKeyframes() 1009 CreatePropertyAnimationFloat(animatable, option); in ApplyKeyframes() 1086 void TweenElement::CreatePropertyAnimationFloat(const RefPtr<PropertyAnimatable>& animatable, Tween… in CreatePropertyAnimationFloat() argument 1088 if (!animatable) { in CreatePropertyAnimationFloat() 1097 … CreatePropertyAnimation<FloatPropertyAnimatable, float>(animatable, property, option, animation); in CreatePropertyAnimationFloat()
|
H A D | tween_element.h | 76 void CreateColorAnimation(const RefPtr<PropertyAnimatable>& animatable, TweenOption& option); 77 …void CreatePropertyAnimationFloat(const RefPtr<PropertyAnimatable>& animatable, TweenOption& optio…
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-attribute-animation-overview.md | 41 - 自定义可动画属性:ArkUI提供[@AnimatableExtend装饰器](../quick-start/arkts-animatable-extend.md)用于自定义可动画属性。开发者可从…
|
H A D | arkts-custom-attribute-animation.md | 7 …ts-animatable-extend.md),用于自定义可动画属性接口。由于参数的数据类型必须具备一定程度的连续性,自定义可动画属性接口的参数类型仅支持number类型和实现[Animatab…
|
H A D | arkts-user-defined.md | 20 …性,通过属性动画的能力,可组合实现自定义的动画效果。<br>[@AnimatableExtend](../quick-start/arkts-animatable-extend.md)装饰器:对于…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-svg.md | 83 | \<animate\> | Definies an element attribute animation.| **attributeName**: animatable attribute; … 84 …m\> | Defines an element transformation animation.| **attributeName**: animatable attribute; value…
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-animatable-extend.md | 186 
|
H A D | Readme-CN.md | 62 - [@AnimatableExtend装饰器:定义可动画属性](arkts-animatable-extend.md)
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/ |
H A D | rs_modifiers_def.in | 16 // Declare animatable and noanimatable modifiers
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | animation_practice.md | 284 // textHeight is a non-animatable property.
|
/ohos5.0/docs/zh-cn/application-dev/ |
H A D | website.md | 61 - [@AnimatableExtend装饰器:定义可动画属性](quick-start/arkts-animatable-extend.md)
|
/ohos5.0/docs/en/application-dev/ |
H A D | website.md | 60 …tableExtend Decorator: Definition of Animatable Attributes](quick-start/arkts-animatable-extend.md)
|