Home
last modified time | relevance | path

Searched refs:animations (Results 1 – 25 of 183) sorted by relevance

12345678

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_transition_test.cpp130 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
145 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
188 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
203 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
245 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
260 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
309 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
324 EXPECT_TRUE(animations.size() == CORRECT_SIZE);
636 if (animations.size() != CORRECT_SIZE) {
672 if (animations.size() != CORRECT_SIZE) {
[all …]
H A Drs_animation_test.cpp63 if (animations.size() != CORRECT_SIZE) {
104 if (animations.size() != CORRECT_SIZE) {
144 if (animations.size() != CORRECT_SIZE) {
186 if (animations.size() != CORRECT_SIZE) {
231 if (animations.size() != CORRECT_SIZE) {
275 if (animations.size() != CORRECT_SIZE) {
318 if (animations.size() != CORRECT_SIZE) {
360 if (animations.size() != CORRECT_SIZE) {
400 if (animations.size() != CORRECT_SIZE) {
441 if (animations.size() != CORRECT_SIZE) {
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_interactive_implict_animator_test.cpp117 std::vector<std::pair<NodeId, AnimationId>> animations; variable
118 animations.emplace_back(NODE_ID, ANIMATION_ID);
119 animator->AddAnimations(animations);
161 animations.emplace_back(NODE_ID, ANIMATION_ID);
162 animator->AddAnimations(animations);
204 animations.emplace_back(NODE_ID, ANIMATION_ID);
205 animator->AddAnimations(animations);
247 animations.emplace_back(NODE_ID, ANIMATION_ID);
248 animator->AddAnimations(animations);
290 animations.emplace_back(NODE_ID, ANIMATION_ID);
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-transition-overview.md4animations](arkts-attribute-animation-overview.md), which work for components that are always pres…
7 Transition animations are classified into basic transition animations and advanced, template-based …
H A Darkts-animation.md7 …can add smooth transitions when the UI is updated. Without presence of animations, attributes woul…
11 With the aid of animations, you can:
19animations can breathe life into the process of interaction. The frequently seen animations includ…
37 …ents provide default animations (such as the slide animation of the **List** component). Some of t…
41 - Animation connection: Make the transition between animations and between gestures and animations
H A Darkts-attribute-animation-apis.md19 …md#curve)); **event** indicates the closure of the animation. Property animations generated by var…
53 …etects the differences between the new UI and the previous UI and adds animations for the differen…
120 …etects the differences between the new UI and the previous UI and adds animations for the differen…
125 …sults in an opacity change of its child components. Therefore, opacity animations are added to <Co…
153 > - Property animations should be applied to the components that are always visible. For those comp…
155 > - Avoid using end callbacks for property animations. Property animations are applied to states th…
/ohos5.0/docs/en/design/ux-design/
H A Danimation-overview.md3 …pose of creating a natural, intuitive, seamless user experience. These animations provide clear fe…
8 Use animations to show how things change. An animation is a straightforward way to communicate with…
13 - Use animations only when necessary. Gratuitous animations are distracting.
17 - Make animations fast, concise, and accurate. Ensure that they meet the definition of younger and …
H A Danimation-design-principles.md3 …n animations based on basic rules of the physical world, that is, how objects in the physical worl…
8 …instant feedback, and responsive operations are basic requirements for animations to deliver a sea…
20 Keep the displacements of elements short so the animations will not take excessive time to play. Fo…
34 …e transitions between different screens and elements. You can also use animations to make serial t…
40 Well designed animations help enhance the brand image by delivering delightful, high-quality user e…
H A Danimation-attributes.md3 …of animations consists of the following attributes: duration, curve, and frame rate. Different co…
8 …g factors should be considered to enable the duration to accommodate different types of animations.
18 It takes more time to express complex animations than simple animations. And animations should be d…
128 | Overlap duration| Duration for animations to overlap, in seconds.|
200 Micro animations apply the effect of multiple oscillations to a small-sized element. (Research base…
211 …S). To allow animations to be perceived as smooth, the frame rate must be 10 to 12 fps. This is ca…
220 …achieve the best animation effect. Different from watching animations, interactive animations requ…
229animations, such as the operation guide animation, do not require frame rate as high as that of in…
H A Dtransition-animation.md3animations between screens or between elements help users understand their logical relationships. …
8animations. Different transition designs imply different hierarchical relationships. Inappropriate…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-svg-common-attributes.md10 … | No| Fill color of an element using the shorthand attribute. Attribute animations are supported.|
11 …ue **1** means opaque, and **0** means completely transparent. Attribute animations are supported.|
13 …ue **1** means opaque, and **0** means completely transparent. Attribute animations are supported.|
14 | stroke | &lt;color&gt; | - | No| Color of the stroke. Attribute animations are supported.|
16 …| 0 | No| Offset for rendering the associated dash line array. Attribute animations are supported.|
19 … 4 | No| Limit value when the sharp angle is drawn as a miter. Attribute animations are supported.|
20 …ue **1** means opaque, and **0** means completely transparent. Attribute animations are supported.|
21 | stroke-width | &lt;length&gt; | 1px | No| Stroke width. Attribute animations are supported.|
H A Djs-components-svg-rect.md27 | width | &lt;length&gt;\|&lt;percentage&gt; | 0 | No| Width of the rectangle. Attribute animations
28 …gth&gt;\|&lt;percentage&gt; | 0 | No| Height of the rectangle. Attribute animations are supported.|
29 … | No| X-coordinate of the upper left corner of the rectangle. Attribute animations are supported.|
30 … | No| Y-coordinate of the upper left corner of the rectangle. Attribute animations are supported.|
31 …adius of the rectangle rounded corner in the x-axis direction. Attribute animations are supported.|
32 …adius of the rectangle rounded corner in the y-axis direction. Attribute animations are supported.|
H A Djs-components-svg-ellipse.md27 …\|&lt;percentage&gt; | 0 | No| X-coordinate of the oval shape. Attribute animations are supported.|
28 …\|&lt;percentage&gt; | 0 | No| Y-coordinate of the oval shape. Attribute animations are supported.|
29 …rcentage&gt; | 0 | No| Radius of the oval shape on the x-axis. Attribute animations are supported.|
30 …rcentage&gt; | 0 | No| Radius of the oval shape on the y-axis. Attribute animations are supported.|
H A Djs-components-svg-line.md27 …age&gt; | - | No| X-coordinate of the start point of the line. Attribute animations are supported.|
28 …age&gt; | - | No| Y-coordinate of the start point of the line. Attribute animations are supported.|
29 …ntage&gt; | - | No| X-coordinate of the end point of the line. Attribute animations are supported.|
30 …ntage&gt; | - | No| Y-coordinate of the end point of the line. Attribute animations are supported.|
H A Djs-components-svg-circle.md27 …lt;percentage&gt; | 0 | No| X-coordinate of the circle center. Attribute animations are supported.|
28 …lt;percentage&gt; | 0 | No| Y-coordinate of the circle center. Attribute animations are supported.|
29 | r | &lt;length&gt;\|&lt;percentage&gt; | 0 | No| Radius of the circle. Attribute animations are s…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-list-sys.md52 …s.md#length) | Yes | Minimum spacing between the chained animations. …
53 …s.md#length) | Yes | Maximum spacing between the chained animations. …
54 … | No | Conductivity of the chained animations. The value range…
55 … No | Intensity of the chained animations. The value range is [0,1]. A larger value indicates mo…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics3d/
H A Djs-apis-inner-scene-resources.md168 let anim: Animation = result.animations[0];
201 let anim: Animation = result.animations[0];
227 let anim: Animation = result.animations[0];
251 let anim: Animation = result.animations[0];
280 let anim: Animation = result.animations[0];
304 let anim: Animation = result.animations[0];
328 let anim: Animation = result.animations[0];
351 let anim: Animation = result.animations[0];
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_animation_command_test.cpp191 std::vector<std::pair<NodeId, AnimationId>> animations; variable
194 AnimationCommandHelper::InteractiveAnimatorAddAnimations(context, targetId, animations);
200 AnimationCommandHelper::CreateInteractiveAnimator(context, targetId, animations, false);
203 AnimationCommandHelper::InteractiveAnimatorAddAnimations(context, targetId, animations);
207 AnimationCommandHelper::CreateInteractiveAnimator(context, targetId, animations, true);
/ohos5.0/docs/en/application-dev/graphics/
H A Ddisplaysync-overview.md5 For fast-changing content, such as shooting games and interactive animations, a high frame rate is …
7 For slow-changing content, such as game halls and clock update animations, a low frame rate is used…
16 - Configure the frame rate parameter for property animations or explicit animations. For details, s…
/ohos5.0/docs/en/application-dev/graphics3d/
H A Darkgraphics3D-animation.md2 …a model file. ArkGraphics 3D provides APIs for you to play and control animations to achieve the e…
5 …odel. ArkGraphics 3D provides the capability of extracting and playing animations from glTF model …
15 let anim: Animation = result.animations[0];
38 let anim: Animation = result.animations[0];
65 let anim: Animation = result.animations[0];
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_interactive_implict_animator.cpp126 auto animations = implicitAnimator->CloseInterActiveImplicitAnimation(true); in AddImplictAnimation() local
128 for (auto& [animation, nodeId] : animations) { in AddImplictAnimation()
138 return animations.size(); in AddImplictAnimation()
156 auto animations = implicitAnimator->CloseInterActiveImplicitAnimation(false); in AddAnimation() local
158 for (auto& [animation, nodeId] : animations) { in AddAnimation()
168 return animations.size(); in AddAnimation()
339 const auto& [propertyValue, animations] = value; in FinishOnCurrent()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_animation_command.cpp114 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations, in CreateInteractiveAnimator() argument
122 animator->AddAnimations(animations); in CreateInteractiveAnimator()
138 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations) in InteractiveAnimatorAddAnimations() argument
144 animator->AddAnimations(animations); in InteractiveAnimatorAddAnimations()
/ohos5.0/docs/en/application-dev/form/
H A Darkts-ui-widget-page-animation.md4animations to it, including [explicit animation](../reference/apis-arkui/arkui-ts/ts-explicit-anim…
17 >Static widgets do not support animations.
/ohos5.0/docs/zh-cn/application-dev/graphics3d/
H A Darkgraphics3D-animation.md15 let anim: Animation = result.animations[0];
38 let anim: Animation = result.animations[0];
65 let anim: Animation = result.animations[0];
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Djs-apis-uiEffect-sys.md111 Applies fly-in and fly-out animations onto the component.
120animations. The value range is [0, 1].<br>A value closer to 1 results in more obvious deformation.…
121animations.<br>**BOTTOM** means that the fly-in and fly-out animations occur from the bottom of th…
128 | [Filter](#filter) | **Filter** instance with the fly-in and fly-out animations.|
202 Enumerates the scene modes of fly-in and fly-out animations.
210 | BOTTOM | 0 | Fly-in and fly-out animations occur from the bottom of the screen.|
211 | TOP | 1 | Fly-in and fly-out animations occur from the top of the screen.|

12345678