Home
last modified time | relevance | path

Searched refs:Animator (Results 1 – 25 of 49) sorted by relevance

12

/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DAnimatorListenerAdapter.kt3 import android.animation.Animator
6 val onStart: ((Animator) -> Unit)? = null,
7 val onRepeat: ((Animator) -> Unit)? = null,
8 val onEnd: ((Animator) -> Unit)? = null,
9 val onCancel: ((Animator) -> Unit)? = null
10 ): Animator.AnimatorListener {
12 override fun onAnimationStart(animation: Animator) = onStart?.invoke(animation) ?: Unit
13 override fun onAnimationRepeat(animation: Animator) = onRepeat?.invoke(animation) ?: Unit
14 override fun onAnimationEnd(animation: Animator) = onEnd?.invoke(animation) ?: Unit
15 override fun onAnimationCancel(animation: Animator) = onCancel?.invoke(animation) ?: Unit
/external/skqp/modules/sksg/include/
DSkSGScene.h27 class Animator {
29 virtual ~Animator();
30 Animator(const Animator&) = delete;
31 Animator& operator=(const Animator&) = delete;
36 Animator();
41 using AnimatorList = std::vector<std::unique_ptr<Animator>>;
43 class GroupAnimator : public Animator {
52 using INHERITED = Animator;
/external/skia/modules/skottie/src/animator/
DAnimator.h29 class Animator : public SkRefCnt {
35 Animator() = default;
40 Animator(const Animator&) = delete;
41 Animator& operator=(const Animator&) = delete;
44 class AnimatablePropertyContainer : public Animator {
77 std::vector<sk_sp<Animator>> fAnimators;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DTestAnimatorListener.java3 import android.animation.Animator;
5 class TestAnimatorListener implements Animator.AnimatorListener {
10 public void onAnimationStart(Animator animation) { in onAnimationStart()
15 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
20 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
24 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
DShadowRenderNodeAnimatorTest.java6 import android.animation.Animator;
36 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in normal()
46 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in canceled()
60 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in delayed()
72 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in neverStartedCanceled()
91 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in neverStartedEnded()
109 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in doubleCanceled()
124 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in doubleEnded()
138 Animator animator = ViewAnimationUtils.createCircularReveal(view, 10, 10, 10f, 100f); in delayedAndCanceled()
165 public void onAnimationStart(Animator animation) { in onAnimationStart()
[all …]
DShadowObjectAnimatorTest.java5 import android.animation.Animator;
19 private final Animator.AnimatorListener listener = new Animator.AnimatorListener() {
21 public void onAnimationStart(Animator animation) {
26 public void onAnimationEnd(Animator animation) {
31 public void onAnimationCancel(Animator animation) {
36 public void onAnimationRepeat(Animator animation) {
/external/skqp/modules/sksg/src/
DSkSGScene.cpp18 Animator::Animator() = default;
19 Animator::~Animator() = default;
21 void Animator::tick(float t) { in tick()
/external/libchrome/base/android/java/src/org/chromium/base/
DAnimationFrameTimeHistogram.java7 import android.animation.Animator;
8 import android.animation.Animator.AnimatorListener;
37 public void onAnimationStart(Animator animation) { in getAnimatorRecorder()
42 public void onAnimationEnd(Animator animation) { in getAnimatorRecorder()
47 public void onAnimationCancel(Animator animation) { in getAnimatorRecorder()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DBaseLottieAnimator.java3 import android.animation.Animator;
55 for (Animator.AnimatorListener listener : listeners) { in notifyStart()
65 for (Animator.AnimatorListener listener : listeners) { in notifyRepeat()
71 for (Animator.AnimatorListener listener : listeners) { in notifyEnd()
81 for (Animator.AnimatorListener listener : listeners) { in notifyCancel()
/external/skia/modules/skottie/src/effects/
DMotionBlurEffect.h17 class Animator; variable
21 static sk_sp<MotionBlurEffect> Make(sk_sp<Animator> animator,
41 MotionBlurEffect(sk_sp<Animator> animator,
45 const sk_sp<Animator> fAnimator;
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/
DViewPropertyAnimation.java14 private final Animator animator;
23 public ViewPropertyAnimation(Animator animator) { in ViewPropertyAnimation()
48 public interface Animator { interface in ViewPropertyAnimation
DViewPropertyAnimationFactory.java9 private final ViewPropertyAnimation.Animator animator;
12 public ViewPropertyAnimationFactory(ViewPropertyAnimation.Animator animator) { in ViewPropertyAnimationFactory()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DLottieIdlingAnimationResource.kt3 import android.animation.Animator
12 override fun onAnimationStart(animation: Animator) { in onAnimationStart()
16 override fun onAnimationEnd(animation: Animator) { in onAnimationEnd()
/external/skia/tools/viewer/
DSlideDir.cpp28 class SlideDir::Animator : public SkRefCnt { class in SlideDir
30 Animator(const Animator&) = delete;
31 Animator& operator=(const Animator&) = delete;
36 Animator() = default;
63 sk_sp<SlideDir::Animator> makeForwardingAnimator() { in makeForwardingAnimator()
65 class ForwardingAnimator final : public SlideDir::Animator { in makeForwardingAnimator()
124 class SlideDir::FocusController final : public Animator {
262 using INHERITED = Animator;
DSlideDir.h32 class Animator; variable
60 std::vector<sk_sp<Animator>> fSceneAnimators;
/external/lottie/lottie/src/test/java/com/airbnb/lottie/
DLottieDrawableTest.java3 import android.animation.Animator;
29 @Mock Animator.AnimatorListener animatorListener;
92 verify(animatorListener, atLeastOnce()).onAnimationEnd(any(Animator.class), eq(false)); in testPlayWhenSystemAnimationDisabled()
104 verify(animatorListener, atLeastOnce()).onAnimationEnd(any(Animator.class), eq(false)); in testResumeWhenSystemAnimationDisabled()
DLottieValueAnimatorUnitTest.java3 import android.animation.Animator;
34 private Animator.AnimatorListener spyListener;
44 spyListener = Mockito.mock(Animator.AnimatorListener.class); in setup()
378 @Override public void onAnimationEnd(Animator animation) {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DDrawableResourceLoaderTest.java12 import android.animation.Animator;
97 Animator animator = AnimatorInflater.loadAnimator(application, R.animator.spinning); in shouldCreateAnimators()
98 assertThat(animator).isInstanceOf((Class<? extends Animator>) Animator.class); in shouldCreateAnimators()
/external/skia/demos.skia.org/demos/path_performance/
Dworker.js7 const path2dAnimator = new Animator();
8 const canvasKitAnimator = new Animator();
/external/skia/modules/skottie/include/
DSkottie.h38 namespace internal { class Animator; } variable
243 std::vector<sk_sp<internal::Animator>>&&,
248 const std::vector<sk_sp<internal::Animator>> fAnimators;
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
DSkottieView.java10 import android.animation.Animator;
167 public void removeListener(Animator.AnimatorListener listener) { in removeListener()
171 public void addListener(Animator.AnimatorListener listener) { in addListener()
/external/skqp/modules/skottie/src/
DSkottieAnimator.cpp23 class KeyframeAnimatorBase : public sksg::Animator {
174 using INHERITED = sksg::Animator;
305 class SplitPointAnimator final : public sksg::Animator {
359 using INHERITED = sksg::Animator;
368 ascope->push_back(std::unique_ptr<sksg::Animator>(split_animator.release())); in BindSplitPositionProperty()
/external/setupdesign/lottie_loading_layout/src/com/google/android/setupdesign/
DGlifLoadingLayout.java21 import android.animation.Animator;
22 import android.animation.Animator.AnimatorListener;
562 public void addAnimatorListener(Animator.AnimatorListener listener) { in addAnimatorListener()
770 public void onAnimationStart(Animator animation) {
775 public void onAnimationEnd(Animator animation) {
780 public void onAnimationCancel(Animator animation) {
785 public void onAnimationRepeat(Animator animation) {
/external/skia/modules/skottie/src/layers/
DPrecompLayer.cpp46 class CompTimeMapper final : public Animator {
140 class AnimatorAdapter final : public Animator { in attachExternalPrecompLayer()
/external/skqp/tools/viewer/
DSlideDir.cpp50 std::unique_ptr<sksg::Animator> makeForwardingAnimator() { in makeForwardingAnimator()
52 class ForwardingAnimator final : public sksg::Animator { in makeForwardingAnimator()
110 class SlideDir::FocusController final : public sksg::Animator {
250 using INHERITED = sksg::Animator;

12