Home
last modified time | relevance | path

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

12

/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/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DViewAnimatorTest.java16 protected ViewAnimator animator; field in ViewAnimatorTest
20 animator = new ViewAnimator(new Activity()); in setUp()
26 animator.addView(v); in testHappyPath()
28 assertEquals(0, animator.getDisplayedChild()); in testHappyPath()
29 assertEquals(v, animator.getCurrentView()); in testHappyPath()
37 animator.addView(v1); in testAnimatorHandlesCyclingViews()
38 animator.addView(v2); in testAnimatorHandlesCyclingViews()
40 animator.showNext(); in testAnimatorHandlesCyclingViews()
42 assertEquals(1, animator.getDisplayedChild()); in testAnimatorHandlesCyclingViews()
43 assertEquals(v2, animator.getCurrentView()); in testAnimatorHandlesCyclingViews()
/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/skqp/experimental/skottie/
DSkottieAnimator.cpp221 std::unique_ptr<KeyframeAnimator> animator(new KeyframeAnimator(jframes, std::move(apply))); in Make() local
222 if (!animator->count()) in Make()
225 return animator; in Make()
308 auto animator = KeyframeAnimator<T>::Make(jpropK, std::move(apply)); in BindPropertyImpl() local
310 if (!animator) { in BindPropertyImpl()
314 animators->push_back(std::move(animator)); in BindPropertyImpl()
351 for (const auto& animator : fAnimators) { in onTick() local
352 animator->tick(t); in onTick()
/external/skia/experimental/skottie/
DSkottieAnimator.cpp221 std::unique_ptr<KeyframeAnimator> animator(new KeyframeAnimator(jframes, std::move(apply))); in Make() local
222 if (!animator->count()) in Make()
225 return animator; in Make()
308 auto animator = KeyframeAnimator<T>::Make(jpropK, std::move(apply)); in BindPropertyImpl() local
310 if (!animator) { in BindPropertyImpl()
314 animators->push_back(std::move(animator)); in BindPropertyImpl()
351 for (const auto& animator : fAnimators) { in onTick() local
352 animator->tick(t); in onTick()
/external/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DDrawableResourceLoaderTest.java81 Animator animator = AnimatorInflater.loadAnimator(application, R.animator.spinning); in shouldCreateAnimators() local
82 assertThat(animator).isInstanceOf((Class<? extends Animator>) Animator.class); in shouldCreateAnimators()
/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()
DGenericRequestBuilder.java404 ViewPropertyAnimation.Animator animator) { in animate() argument
405 return animate(new ViewPropertyAnimationFactory<TranscodeType>(animator)); in animate()
/external/clang/test/SemaObjC/
Dproperty-9-impl-method.m29 - (id) animator; method
Dsuper-cat-prot.m13 @protocol NSAnimatablePropertyContainer - (id)animator; @end method
Dinterface-scope-2.m39 - (id)animator; method
Divar-access-tests.m95 - (id)animator; method
/external/clang/test/Analysis/
Drdar-6562655.m19 @end @protocol NSAnimatablePropertyContainer - (id)animator; method
DNSPanel.m45 - (id)animator; method
DNSWindow.m27 - (id)animator; method
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DR.java247 public static final class animator { class in R

12