Home
last modified time | relevance | path

Searched refs:animator (Results 1 – 25 of 78) sorted by relevance

1234

/external/lottie/lottie/src/test/java/com/airbnb/lottie/
DLottieValueAnimatorUnitTest.java33 private LottieValueAnimator animator; field in LottieValueAnimatorUnitTest
40 animator = createAnimator(); in setup()
43 animator.setComposition(composition); in setup()
72 assertClose(0f, animator.getFrame());
77 animator.setFrame(500);
78 animator.resumeAnimation();
79 assertClose(500f, animator.getFrame());
84 animator.setFrame(500);
85 animator.resumeAnimation();
86 assertClose(0.5f, animator.getAnimatedFraction());
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRenderNodeAnimatorTest.java36 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in normal() local
37 animator.addListener(listener); in normal()
38 animator.start(); in normal()
46 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in canceled() local
47 animator.addListener(listener); in canceled()
50 animator.start(); in canceled()
51 animator.cancel(); in canceled()
60 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in delayed() local
61 animator.setStartDelay(1000); in delayed()
62 animator.addListener(listener); in delayed()
[all …]
DShadowValueAnimatorTest.java26 final ValueAnimator animator = ValueAnimator.ofInt(0, 10); in start_shouldRunAnimation() local
27 animator.setDuration(1000); in start_shouldRunAnimation()
28 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in start_shouldRunAnimation()
34 animator.start(); in start_shouldRunAnimation()
41 final ValueAnimator animator = ValueAnimator.ofInt(0, 10); in test_WithInfiniteRepeatCount_CountIsSetToOne() local
42 animator.setRepeatCount(ValueAnimator.INFINITE); in test_WithInfiniteRepeatCount_CountIsSetToOne()
44 assertThat(Shadows.shadowOf(animator).getActualRepeatCount()).isEqualTo(ValueAnimator.INFINITE); in test_WithInfiniteRepeatCount_CountIsSetToOne()
45 assertThat(animator.getRepeatCount()).isEqualTo(1); in test_WithInfiniteRepeatCount_CountIsSetToOne()
51 final ValueAnimator animator = ValueAnimator.ofInt(0, 10); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce() local
52 animator.setDuration(200); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce()
[all …]
DShadowObjectAnimatorTest.java43 final ObjectAnimator animator = ObjectAnimator.ofInt(target, "transparency", 0, 1, 2, 3, 4); in start_shouldRunAnimation() local
46 animator.setDuration(1000); in start_shouldRunAnimation()
47 animator.addListener(listener); in start_shouldRunAnimation()
48 animator.start(); in start_shouldRunAnimation()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowValueAnimatorTest.java26 final ValueAnimator animator = ValueAnimator.ofInt(0, 10); in start_shouldRunAnimation() local
27 animator.setDuration(1000); in start_shouldRunAnimation()
28 animator.addUpdateListener(animation -> values.add((int) animation.getAnimatedValue())); in start_shouldRunAnimation()
29 animator.start(); in start_shouldRunAnimation()
36 final ValueAnimator animator = ValueAnimator.ofInt(0, 10); in test_WithInfiniteRepeatCount_CountIsSetToOne() local
37 animator.setRepeatCount(ValueAnimator.INFINITE); in test_WithInfiniteRepeatCount_CountIsSetToOne()
39 assertThat(Shadows.shadowOf(animator).getActualRepeatCount()).isEqualTo(ValueAnimator.INFINITE); in test_WithInfiniteRepeatCount_CountIsSetToOne()
40 assertThat(animator.getRepeatCount()).isEqualTo(1); in test_WithInfiniteRepeatCount_CountIsSetToOne()
45 final ValueAnimator animator = ValueAnimator.ofInt(0, 10); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce() local
46 animator.setDuration(200); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce()
[all …]
DShadowRenderNodeAnimatorTest.java37 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in normal() local
38 animator.addListener(listener); in normal()
39 animator.start(); in normal()
48 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in canceled() local
49 animator.addListener(listener); in canceled()
52 animator.start(); in canceled()
53 animator.cancel(); in canceled()
62 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in delayed() local
63 animator.setStartDelay(1000); in delayed()
64 animator.addListener(listener); in delayed()
[all …]
DShadowObjectAnimatorTest.java44 final ObjectAnimator animator = ObjectAnimator.ofInt(target, "transparency", 0, 1, 2, 3, 4); in start_shouldRunAnimation() local
47 animator.setDuration(1000); in start_shouldRunAnimation()
48 animator.addListener(listener); in start_shouldRunAnimation()
49 animator.start(); in start_shouldRunAnimation()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/jobs/
DAnimatedViewPortJob.java18 protected ObjectAnimator animator; field in AnimatedViewPortJob
29 animator = ObjectAnimator.ofFloat(this, "phase", 0f, 1f); in AnimatedViewPortJob()
30 animator.setDuration(duration); in AnimatedViewPortJob()
31 animator.addUpdateListener(this); in AnimatedViewPortJob()
32 animator.addListener(this); in AnimatedViewPortJob()
38 animator.start(); in run()
60 animator.removeAllListeners(); in resetAnimator()
61 animator.removeAllUpdateListeners(); in resetAnimator()
62 animator.reverse(); in resetAnimator()
63 animator.addUpdateListener(this); in resetAnimator()
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieDrawable.java78 private final LottieValueAnimator animator = new LottieValueAnimator(); field in LottieDrawable
92 compositionLayer.setProgress(animator.getAnimatedValueAbsolute());
169 animator.addUpdateListener(progressUpdateListener); in LottieDrawable()
299 animator.setComposition(composition); in setComposition()
300 setProgress(animator.getAnimatedFraction()); in setComposition()
441 if (animator.isRunning()) { in clearComposition()
442 animator.cancel(); in clearComposition()
450 animator.clearComposition(); in clearComposition()
585 animator.playAnimation(); in playAnimation()
593 animator.endAnimation(); in playAnimation()
[all …]
/external/skia/modules/skottie/src/animator/
DAnimator.cpp20 for (const auto& animator : fAnimators) { in onSeek() local
21 changed |= animator->seek(t); in onSeek()
93 sk_sp<KeyframeAnimator> animator; in bindImpl() local
96 animator = builder.makeFromKeyframes(abuilder, *jkfs); in bindImpl()
99 if (!animator) { in bindImpl()
104 if (animator->isConstant()) { in bindImpl()
107 animator->seek(0); in bindImpl()
109 fAnimators.push_back(std::move(animator)); in bindImpl()
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/
DViewPropertyAnimationFactory.java9 private final ViewPropertyAnimation.Animator animator; field in ViewPropertyAnimationFactory
12 public ViewPropertyAnimationFactory(ViewPropertyAnimation.Animator animator) { in ViewPropertyAnimationFactory() argument
13 this.animator = animator; in ViewPropertyAnimationFactory()
29 animation = new ViewPropertyAnimation<R>(animator); in build()
DViewPropertyAnimation.java14 private final Animator animator; field in ViewPropertyAnimation
23 public ViewPropertyAnimation(Animator animator) { in ViewPropertyAnimation() argument
24 this.animator = animator; in ViewPropertyAnimation()
40 animator.animate(adapter.getView()); in animate()
/external/skia/tools/skottie_ios_app/
DBUILD.gn37 "../../resources/skottie/skottie-text-animator-1.json",
38 "../../resources/skottie/skottie-text-animator-2.json",
39 "../../resources/skottie/skottie-text-animator-3.json",
40 "../../resources/skottie/skottie-text-animator-4.json",
41 "../../resources/skottie/skottie-text-animator-5.json",
42 "../../resources/skottie/skottie-text-animator-8.json",
/external/skia/modules/skottie/
Dskottie.gni7 # //modules/skottie/src/animator/BUILD.bazel
26 # //modules/skottie/src/animator:srcs
49 "$_modules/skottie/src/animator/Animator.cpp",
50 "$_modules/skottie/src/animator/Animator.h",
51 "$_modules/skottie/src/animator/KeyframeAnimator.cpp",
52 "$_modules/skottie/src/animator/KeyframeAnimator.h",
53 "$_modules/skottie/src/animator/ScalarKeyframeAnimator.cpp",
54 "$_modules/skottie/src/animator/ShapeKeyframeAnimator.cpp",
55 "$_modules/skottie/src/animator/TextKeyframeAnimator.cpp",
56 "$_modules/skottie/src/animator/Vec2KeyframeAnimator.cpp",
[all …]
/external/clang/test/ARCMT/
Dobjcmt-protocol-conformance.m.result89 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
90 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
100 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
102 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
Dobjcmt-protocol-conformance.m89 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
90 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
100 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
102 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DDrawableResourceLoaderTest.java97 Animator animator = AnimatorInflater.loadAnimator(application, R.animator.spinning); in shouldCreateAnimators() local
98 assertThat(animator).isInstanceOf((Class<? extends Animator>) Animator.class); in shouldCreateAnimators()
/external/skia/modules/skottie/src/effects/
DMotionBlurEffect.h21 static sk_sp<MotionBlurEffect> Make(sk_sp<Animator> animator,
41 MotionBlurEffect(sk_sp<Animator> animator,
DMotionBlurEffect.cpp37 sk_sp<MotionBlurEffect> MotionBlurEffect::Make(sk_sp<Animator> animator, in Make() argument
51 return sk_sp<MotionBlurEffect>(new MotionBlurEffect(std::move(animator), in Make()
57 MotionBlurEffect::MotionBlurEffect(sk_sp<Animator> animator, in MotionBlurEffect() argument
61 , fAnimator(std::move(animator))
/external/robolectric/robolectric/src/test/java/org/robolectric/android/
DDrawableResourceLoaderTest.java97 Animator animator = in shouldCreateAnimators() local
98 AnimatorInflater.loadAnimator(RuntimeEnvironment.getApplication(), R.animator.spinning); in shouldCreateAnimators()
99 assertThat(animator).isInstanceOf((Class<? extends Animator>) Animator.class); in shouldCreateAnimators()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DLineScatterCandleRadarRenderer.java20 public LineScatterCandleRadarRenderer(ChartAnimator animator, ViewPortHandler viewPortHandler) { in LineScatterCandleRadarRenderer() argument
21 super(animator, viewPortHandler); in LineScatterCandleRadarRenderer()
DLineRadarRenderer.java17 public LineRadarRenderer(ChartAnimator animator, ViewPortHandler viewPortHandler) { in LineRadarRenderer() argument
18 super(animator, viewPortHandler); in LineRadarRenderer()
DBarLineScatterCandleBubbleRenderer.java21 …public BarLineScatterCandleBubbleRenderer(ChartAnimator animator, ViewPortHandler viewPortHandler)… in BarLineScatterCandleBubbleRenderer() argument
22 super(animator, viewPortHandler); in BarLineScatterCandleBubbleRenderer()
/external/chromium-trace/catapult/systrace/systrace/test_data/
Ddecompressed_atrace_data.txt31 …<...>-18926 (-----) [004] ...1 683202.133158: tracing_mark_write: S|18926|animator:opacity|23751452
99 …<...>-18926 (-----) [004] ...1 683202.157004: tracing_mark_write: S|18926|animator:bottom|177885989
124 … <...>-18926 (-----) [004] ...1 683202.167058: tracing_mark_write: S|18926|animator|46267553
125 … <...>-18926 (-----) [004] ...1 683202.167297: tracing_mark_write: S|18926|animator|219664070
326 …<...>-18926 (-----) [004] ...1 683202.208892: tracing_mark_write: F|18926|animator:opacity|23751452
752 … <...>-18926 (-----) [004] ...1 683202.297739: tracing_mark_write: S|18926|animator|122130055
753 … <...>-18926 (-----) [004] ...1 683202.297847: tracing_mark_write: S|18926|animator|172949940
754 … <...>-18926 (-----) [004] ...1 683202.297932: tracing_mark_write: S|18926|animator|190890461
755 … <...>-18926 (-----) [004] ...1 683202.298010: tracing_mark_write: S|18926|animator|20058450
756 … <...>-18926 (-----) [004] ...1 683202.298087: tracing_mark_write: S|18926|animator|184847395
[all …]
/external/proguard/src/proguard/gui/splash/
DSplashPanel.java37 private final MyAnimator animator = new MyAnimator(); field in SplashPanel
99 animationThread = new Thread(animator); in start()

1234