/third_party/weston/libweston/ |
D | animation.c | 127 typedef void (*weston_view_animation_frame_func_t)(struct weston_view_animation *animation); 131 struct weston_animation animation; member 144 weston_view_animation_destroy(struct weston_view_animation *animation) in weston_view_animation_destroy() argument 146 wl_list_remove(&animation->animation.link); in weston_view_animation_destroy() 147 wl_list_remove(&animation->listener.link); in weston_view_animation_destroy() 148 wl_list_remove(&animation->transform.link); in weston_view_animation_destroy() 149 if (animation->reset) in weston_view_animation_destroy() 150 animation->reset(animation); in weston_view_animation_destroy() 151 weston_view_geometry_dirty(animation->view); in weston_view_animation_destroy() 152 if (animation->done) in weston_view_animation_destroy() [all …]
|
/third_party/skia/modules/androidkit/src/ |
D | SkottieAnimation.cpp | 21 auto animation = Animation::Builder().make(cstr, strlen(cstr)); in Animation_Create() local 23 return reinterpret_cast<jlong>(animation.release()); in Animation_Create() 31 const auto* animation = reinterpret_cast<const Animation*>(native_animation); in Animation_GetDuration() local 32 return animation ? animation->duration() : 0; in Animation_GetDuration() 36 const auto* animation = reinterpret_cast<const Animation*>(native_animation); in Animation_GetFrameCnt() local 37 return animation ? animation->outPoint() : 0; in Animation_GetFrameCnt() 41 const auto* animation = reinterpret_cast<const Animation*>(native_animation); in Animation_GetWidth() local 42 return animation ? animation->size().width() : 0; in Animation_GetWidth() 46 const auto* animation = reinterpret_cast<const Animation*>(native_animation); in Animation_GetHeight() local 47 return animation ? animation->size().height() : 0; in Animation_GetHeight() [all …]
|
/third_party/skia/modules/canvaskit/tests/ |
D | skottie.spec.js | 38 const animation = CanvasKit.MakeManagedAnimation(promises[1], { constant 41 expect(animation).toBeTruthy(); 44 const size = animation.size(); 48 animation.render(canvas, bounds); 57 animation.seek(0.5, damageRect); 61 animation.render(canvas, bounds); 62 animation.delete(); 74 const animation = CanvasKit.MakeManagedAnimation(promises[0]); constant 75 expect(animation).toBeTruthy(); 76 animation.setColor('$Icon Fill', CanvasKit.RED); [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/animation/ |
D | curves.dart | 11 /// Easing curves are used to adjust the rate of change of an animation over 19 /// * [Curves], a collection of common animation easing curves. 61 …/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_bounc… 62 …/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_flipp… 92 /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_sawtoo… 117 /// An [Interval] can be used to delay an animation. For example, a six second 118 /// animation that uses an [Interval] with its [begin] set to 0.5 and its [end] 119 /// set to 1.0 will essentially become a three-second animation that starts 122 /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_interv… 168 /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_thresh… [all …]
|
D | animations.dart | 9 import 'animation.dart'; 41 /// An animation that is always complete. 45 /// API expects an animation but you don't actually want to animate anything. 73 /// An animation that is always dismissed. 77 /// API expects an animation but you don't actually want to animate anything. 80 /// An animation that is always stopped at a given value. 126 /// The animation whose value this animation will proxy. 128 /// This animation must remain the same for the lifetime of this object. If 129 /// you wish to proxy a different animation at different times, consider using 135 /// Calls the listener every time the value of the animation changes. [all …]
|
D | animation_controller.dart | 13 import 'animation.dart'; 24 /// The direction in which an animation is running. 26 /// The animation is running from beginning to end. 29 /// The animation is running backwards, from end to beginning. 68 /// A controller for an animation. 72 /// * Play an animation [forward] or in [reverse], or [stop] an animation. 73 /// * Set the animation to a specific [value]. 74 /// * Define the [upperBound] and [lowerBound] values of an animation. 75 /// * Create a [fling] animation effect using a physics simulation. 78 /// from 0.0 to 1.0, during a given duration. The animation controller generates [all …]
|
D | animation.dart | 13 /// The status of an animation 15 /// The animation is stopped at the beginning 18 /// The animation is running from beginning to end 21 /// The animation is running backwards, from end to beginning 24 /// The animation is stopped at the end 31 /// An animation with a value of type `T`. 33 /// An animation consists of a value (of type `T`) together with a status. The 34 /// status indicates whether the animation is conceptually running from 36 /// value of the animation might not change monotonically (e.g., if the 37 /// animation uses a curve that bounces). [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | status_transitions.dart | 8 /// A widget that rebuilds when the given animation changes status. 12 /// The [animation] argument must not be null. 15 @required this.animation, 16 }) : assert(animation != null), 19 /// The animation to which this widget is listening. 20 final Animation<double> animation; 23 /// of the animation. 34 widget.animation.addStatusListener(_animationStatusChanged); 40 if (widget.animation != oldWidget.animation) { 41 oldWidget.animation.removeStatusListener(_animationStatusChanged); [all …]
|
D | animated_switcher.dart | 5 import 'package:flutter/animation.dart'; 20 @required this.animation, 23 }) : assert(animation != null), 27 // The animation controller for the child's transition. 30 // The (curved) animation being used to drive the transition. 31 final Animation<double> animation; 47 /// The `child` should be transitioning in when the `animation` is running in 51 /// also use the `animation` to inform its transition. It must not return null. 52 …def AnimatedSwitcherTransitionBuilder = Widget Function(Widget child, Animation<double> animation); 110 /// transitionBuilder: (Widget child, Animation<double> animation) { [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/ |
D | animation.dart | 5 /// The Flutter animation system. 7 /// To use, import `package:flutter/animation.dart`. 12 library animation; 14 export 'src/animation/animation.dart'; 15 export 'src/animation/animation_controller.dart'; 16 export 'src/animation/animations.dart'; 17 export 'src/animation/curves.dart'; 18 export 'src/animation/listener_helpers.dart'; 19 export 'src/animation/tween.dart'; 20 export 'src/animation/tween_sequence.dart';
|
/third_party/flutter/skia/modules/canvaskit/perf/ |
D | animation.bench.js | 39 const animation = CanvasKit.MakeAnimation(jsonStr); 40 animation.delete(); 59 ctx.animation = CanvasKit.MakeAnimation(jsonStr); 60 expect(ctx.animation).toBeTruthy(); 65 ctx.animation.seek(ctx.timer); 73 ctx.animation.delete(); 90 ctx.animation = CanvasKit.MakeAnimation(jsonStr); 91 expect(ctx.animation).toBeTruthy(); 95 ctx.animation.seek(Math.random()); 99 ctx.animation.delete(); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/animation/ |
D | animations_test.dart | 9 import 'package:flutter/animation.dart'; 55 final ProxyAnimation animation = ProxyAnimation(); 56 expect(animation.value, 0.0); 57 expect(animation.status, AnimationStatus.dismissed); 58 expect(animation, hasOneLineDescription); 59 animation.parent = kAlwaysDismissedAnimation; 60 expect(animation, hasOneLineDescription); 69 final ProxyAnimation animation = ProxyAnimation() 74 animation.parent = controller; 91 final ReverseAnimation animation = ReverseAnimation(controller) [all …]
|
D | tween_test.dart | 6 import 'package:flutter/animation.dart'; 27 final Animation<double> animation = tween.animate(controller); 29 expect(animation.value, 0.40); 30 expect(animation, hasOneLineDescription); 31 expect(animation.toStringDetails(), hasOneLineDescription); 39 final Animation<double> animation = controller.drive(tween); 41 expect(animation.value, 0.40); 42 expect(animation, hasOneLineDescription); 43 expect(animation.toStringDetails(), hasOneLineDescription);
|
/third_party/flutter/flutter/dev/integration_tests/ios_add2app/flutterapp/lib/ |
D | marquee.dart | 2 import 'package:flutter/animation.dart'; 6 const _MarqueeText({Key key, Animation<double> animation}) 7 : super(key: key, listenable: animation); 11 final Animation<double> animation = listenable; 13 margin: EdgeInsets.only(left: animation.value), 33 Animation<double> animation; 42 animation = Tween<double>(begin: 0.0, end: 400.0).animate(controller); 61 child: _MarqueeText(animation: animation),
|
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/android/app/src/main/java/io/flutter/splash_screen_trans_rotate/ |
D | VeryLongTransitionSplashView.java | 3 import android.animation.Animator; 4 import android.animation.AnimatorListenerAdapter; 5 import android.animation.ValueAnimator; 38 public void onAnimationUpdate(ValueAnimator animation) { 43 + (animation.getAnimatedFraction() * (1.0f - transitionPercentWhenAnimationStarted)); 49 public void onAnimationEnd(Animator animation) { 51 animation.removeAllListeners(); 60 public void onAnimationCancel(Animator animation) { 62 animation.removeAllListeners();
|
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/app/src/main/java/io/flutter/splash_screen_kitchen_sink/ |
D | FlutterZoomSplashView.java | 3 import android.animation.TimeAnimator; 11 import android.view.animation.AccelerateInterpolator; 12 import android.view.animation.AlphaAnimation; 13 import android.view.animation.Animation; 14 import android.view.animation.AnimationSet; 15 import android.view.animation.ScaleAnimation; 34 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { 39 + (animation.getAnimatedFraction() * (1.0f - transitionPercentWhenAnimationStarted)); 45 public void onAnimationStart(Animation animation) {} 48 public void onAnimationEnd(Animation animation) { [all …]
|
/third_party/flutter/flutter/examples/layers/rendering/ |
D | spinning_square.dart | 5 // This example shows how to perform a simple animation using the underlying 10 import 'package:flutter/animation.dart'; 32 // transform before painting its child. Each frame of the animation, we'll 48 // To make the square spin, we use an animation that repeats every 1800 50 final AnimationController animation = AnimationController( 54 // The animation will produce a value between 0.0 and 1.0 each frame, but we 56 // the range of the animation, we use a Tween. 58 // We add a listener to the animation, which will be called every time the 59 // animation ticks. 60 animation.addListener(() { [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/animated_icons/ |
D | animated_icons_data.dart | 18 /// The material design add to event icon animation. 21 /// The material design arrow to menu icon animation. 24 /// The material design close to menu icon animation. 27 /// The material design ellipsis to search icon animation. 30 /// The material design event to add icon animation. 33 /// The material design home to menu icon animation. 36 /// The material design list to view icon animation. 39 /// The material design menu to arrow icon animation. 42 /// The material design menu to close icon animation. 45 /// The material design menu to home icon animation. [all …]
|
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_load_rotate/android/app/src/main/java/io/flutter/splash_screen_load_rotate/ |
D | NeverEndingSplashView.java | 3 import android.animation.Animator; 4 import android.animation.AnimatorListenerAdapter; 13 import android.view.animation.AccelerateDecelerateInterpolator; 31 public void onAnimationEnd(Animator animation) { 33 animation.removeAllListeners(); 45 public void onAnimationCancel(Animator animation) { 47 animation.removeAllListeners();
|
/third_party/flutter/skia/modules/skottie/src/ |
D | Composition.cpp | 23 explicit SkottieSGAdapter(sk_sp<Animation> animation) in attachNestedAnimation() argument 24 : fAnimation(std::move(animation)) { in attachNestedAnimation() 49 SkottieAnimatorAdapter(sk_sp<Animation> animation, float time_scale) in attachNestedAnimation() argument 50 : fAnimation(std::move(animation)) in attachNestedAnimation() 72 auto animation = Animation::Builder() in attachNestedAnimation() local 76 if (!animation) { in attachNestedAnimation() 82 sk_make_sp<SkottieAnimatorAdapter>(animation, animation->duration() / fDuration)); in attachNestedAnimation() 84 return sk_make_sp<SkottieSGAdapter>(std::move(animation)); in attachNestedAnimation()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | page_transitions_theme.dart | 17 @required Animation<double> routeAnimation, // The route's linear 0.0 - 1.0 animation. 52 this.animation, 79 final Animation<double> animation; 90 parent: animation, 113 animation: animation, 131 animation: secondaryAnimation, 150 /// transition animation. 153 /// to customize the default [MaterialPageRoute] page transition animation 178 Animation<double> animation, 185 /// transition animation. [all …]
|
/third_party/skia/demos.skia.org/demos/web_worker/ |
D | shared.js | 5 const animation = CanvasKit.MakeAnimation(jsonStr); 6 const duration = animation.duration() * 1000; 14 animation.seek(seek); 15 animation.render(skcanvas, [0, 0, 500, 500]);
|
/third_party/flutter/flutter/examples/catalog/lib/ |
D | animated_list.dart | 31 Widget _buildItem(BuildContext context, int index, Animation<double> animation) { 33 animation: animation, 45 // needed because a removed item remains visible until its animation has 49 Widget _buildRemovedItem(int item, BuildContext context, Animation<double> animation) { 51 animation: animation, 138 _animatedList.removeItem(index, (BuildContext context, Animation<double> animation) { 139 return removedItemBuilder(removedItem, context, animation); 152 /// This widget's height is based on the animation parameter, it varies 153 /// from 0 to 128 as the animation varies from 0.0 to 1.0. 157 @required this.animation, [all …]
|
/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/src/ |
D | backdrop_filter.dart | 13 AnimationController animation; 18 animation = AnimationController(vsync: this, duration: const Duration(seconds: 1)); 19 animation.repeat(); 24 animation.dispose(); 73 animation: animation, 75 final int val = (animation.value * 255).round();
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | snack_bar_test.dart | 38 await tester.pump(); // schedule animation 40 await tester.pump(); // begin animation 42 …await tester.pump(const Duration(milliseconds: 750)); // 0.75s // animation last frame; two second… 48 …milliseconds: 750)); // 3.00s // timer triggers to dismiss snackbar, reverse animation is scheduled 49 await tester.pump(); // begin animation 50 expect(find.text(helloSnackBar), findsOneWidget); // frame 0 of dismiss animation 51 …await tester.pump(const Duration(milliseconds: 750)); // 3.75s // last frame of animation, snackba… 87 await tester.pump(); // schedule animation for bar1 90 await tester.pump(); // begin animation 93 …await tester.pump(const Duration(milliseconds: 750)); // 0.75s // animation last frame; two second… [all …]
|