Home
last modified time | relevance | path

Searched refs:animatable (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dproperty_animation.cpp29 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 Dproperty_animation.h36 void SetStart(const RefPtr<Animatable>& animatable);
37 void AddAnimatable(const RefPtr<Animatable>& animatable);
H A Danimation_util.cpp528 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 Darkts-attribute-animation-overview.md4 …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.
33animatable 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…
41animatable properties: properties made animatable with the use of the [@AnimatableExtend](../quick…
H A Darkts-custom-attribute-animation.md4 The property animation is an illusion of movement created on the UI when the value of an animatable
7animatable-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 Darkts-attribute-animation-apis.md10 …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 Darkts-animation-smoothing.md6 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 Darkts-user-defined.md20 … effects on animatable component properties.<br>Use [@AnimatableExtend](../quick-start/arkts-anima…
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-animatable-extend.md3animatable attribute of a component. During animation execution, a frame-by-frame callback is used…
5animatable attribute. For example, **height**, **width**, **backgroundColor**, **translate**, and …
7animatable attribute: If an attribute method is called before the **animation** attribute, and cha…
183 ![image](figures/animatable-points.gif)
H A DReadme-EN.md62 … - [\@AnimatableExtend Decorator: Definition of Animatable Attributes](arkts-animatable-extend.md)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tween/
H A Dtween_element.cpp758 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 Dtween_element.h76 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 Darkts-attribute-animation-overview.md41 - 自定义可动画属性:ArkUI提供[@AnimatableExtend装饰器](../quick-start/arkts-animatable-extend.md)用于自定义可动画属性。开发者可从…
H A Darkts-custom-attribute-animation.md7 …ts-animatable-extend.md),用于自定义可动画属性接口。由于参数的数据类型必须具备一定程度的连续性,自定义可动画属性接口的参数类型仅支持number类型和实现[Animatab…
H A Darkts-user-defined.md20 …性,通过属性动画的能力,可组合实现自定义的动画效果。<br>[@AnimatableExtend](../quick-start/arkts-animatable-extend.md)装饰器:对于…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-svg.md83 | \<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 Darkts-animatable-extend.md186 ![image](figures/animatable-points.gif)
H A DReadme-CN.md62 - [@AnimatableExtend装饰器:定义可动画属性](arkts-animatable-extend.md)
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/
H A Drs_modifiers_def.in16 // Declare animatable and noanimatable modifiers
/ohos5.0/docs/en/application-dev/performance/
H A Danimation_practice.md284 // textHeight is a non-animatable property.
/ohos5.0/docs/zh-cn/application-dev/
H A Dwebsite.md61 - [@AnimatableExtend装饰器:定义可动画属性](quick-start/arkts-animatable-extend.md)
/ohos5.0/docs/en/application-dev/
H A Dwebsite.md60 …tableExtend Decorator: Definition of Animatable Attributes](quick-start/arkts-animatable-extend.md)