Home
last modified time | relevance | path

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

123

/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/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieDrawable.java63 private final LottieValueAnimator animator = new LottieValueAnimator(); field in LottieDrawable
74 compositionLayer.setProgress(animator.getAnimatedValueAbsolute());
128 animator.addUpdateListener(progressUpdateListener); in LottieDrawable()
217 animator.setComposition(composition); in setComposition()
218 setProgress(animator.getAnimatedFraction()); in setComposition()
294 if (animator.isRunning()) { in clearComposition()
295 animator.cancel(); in clearComposition()
300 animator.clearComposition(); in clearComposition()
412 animator.playAnimation(); in playAnimation()
416 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()
80 sk_sp<KeyframeAnimator> animator; in bindImpl() local
83 animator = builder.make(abuilder, *jkfs); in bindImpl()
86 if (!animator) { in bindImpl()
91 if (animator->isConstant()) { in bindImpl()
94 animator->seek(0); in bindImpl()
96 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/modules/skottie/
Dskottie.gni33 "$_src/animator/Animator.cpp",
34 "$_src/animator/Animator.h",
35 "$_src/animator/KeyframeAnimator.cpp",
36 "$_src/animator/KeyframeAnimator.h",
37 "$_src/animator/ScalarKeyframeAnimator.cpp",
38 "$_src/animator/ShapeKeyframeAnimator.cpp",
39 "$_src/animator/TextKeyframeAnimator.cpp",
40 "$_src/animator/Vec2KeyframeAnimator.cpp",
41 "$_src/animator/VectorKeyframeAnimator.cpp",
42 "$_src/animator/VectorKeyframeAnimator.h",
/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/skqp/modules/skottie/src/
DSkottieAnimator.cpp185 std::unique_ptr<KeyframeAnimator> animator( in Make() local
187 if (!animator->count()) in Make()
190 return animator; in Make()
293 auto animator = KeyframeAnimator<T>::Make(jpropK, abuilder, std::move(apply)); in BindPropertyImpl() local
295 if (!animator) { in BindPropertyImpl()
300 ascope->push_back(std::move(animator)); in BindPropertyImpl()
338 for (const auto& animator : fAnimators) { in onTick() local
339 animator->tick(t); in onTick()
/external/llvm-project/clang/test/ARCMT/
Dobjcmt-protocol-conformance.m89 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
90 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
100 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
102 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
Dobjcmt-protocol-conformance.m.result89 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
90 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
100 - (void)dynamicAnimatorWillResume:(UIDynamicAnimator*)animator;
102 - (void)dynamicAnimatorDidPause:(UIDynamicAnimator*)animator;
/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/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java119 ValueAnimator animator; field in HelloCanvasAR
178 animator = new ValueAnimator(); in onCreate()
179 animator.setValues(propertyRadius); in onCreate()
180 animator.setDuration(1000); in onCreate()
181 animator.setRepeatCount(ValueAnimator.INFINITE); in onCreate()
182 animator.setRepeatMode(ValueAnimator.REVERSE); in onCreate()
183 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in onCreate()
189 animator.start(); in onCreate()
/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/skia/modules/skottie/src/text/
DTextAdapter.cpp95 if (auto animator = TextAnimator::Make(janimator, abuilder, adapter.get())) { in Make() local
96 adapter->fHasBlurAnimator |= animator->hasBlur(); in Make()
97 adapter->fRequiresAnchorPoint |= animator->requiresAnchorPoint(); in Make()
99 adapter->fAnimators.push_back(std::move(animator)); in Make()
353 for (const auto& animator : fAnimators) { in onSync() local
354 animator->modulateProps(fMaps, buf); in onSync()
/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()
/external/glide/library/src/main/java/com/bumptech/glide/
DGifRequestBuilder.java299 public GifRequestBuilder<ModelType> animate(ViewPropertyAnimation.Animator animator) { in animate() argument
300 super.animate(animator); in animate()
DDrawableRequestBuilder.java289 public DrawableRequestBuilder<ModelType> animate(ViewPropertyAnimation.Animator animator) { in animate() argument
290 super.animate(animator); in animate()
DBitmapRequestBuilder.java349 …c BitmapRequestBuilder<ModelType, TranscodeType> animate(ViewPropertyAnimation.Animator animator) { in animate() argument
350 super.animate(animator); in animate()

123