HomeSort by relevance Sort by last modified time
    Searched refs:animator (Results 1 - 25 of 267) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/ui/views/animation/
bounds_animator_observer.h 17 virtual void OnBoundsAnimatorProgressed(BoundsAnimator* animator) = 0;
20 virtual void OnBoundsAnimatorDone(BoundsAnimator* animator) = 0;
bounds_animator_unittest.cc 100 TestBoundsAnimator* animator() { return &animator_; } function in class:views::BoundsAnimatorTest
116 animator()->AnimateViewTo(child(), target_bounds);
117 animator()->SetAnimationDelegate(
120 // The animator should be animating now.
121 EXPECT_TRUE(animator()->IsAnimating());
138 animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10));
139 animator()->SetAnimationDelegate(
142 animator()->Cancel();
144 // The animator should no longer be animating.
145 EXPECT_FALSE(animator()->IsAnimating())
    [all...]
  /external/chromium_org/third_party/skia/include/effects/
SkDrawExtraPathEffect.h 13 void InitializeSkExtraPathEffects(SkAnimator* animator);
  /external/skia/include/effects/
SkDrawExtraPathEffect.h 13 void InitializeSkExtraPathEffects(SkAnimator* animator);
  /external/glide/library/src/main/java/com/bumptech/glide/request/
ViewPropertyAnimation.java 9 public interface Animator {
14 private Animator animator; field in class:ViewPropertyAnimation.ViewPropertyAnimationFactory
17 public ViewPropertyAnimationFactory(Animator animator) {
18 this.animator = animator;
27 animation = new ViewPropertyAnimation(animator);
34 private Animator animator; field in class:ViewPropertyAnimation
    [all...]
  /external/chromium_org/ui/compositor/
layer_animator_unittest.cc 100 DeletingLayerAnimationObserver(LayerAnimator* animator)
101 : animator_(animator) {
195 // Checks that setting a property on an implicit animator causes an animation to
198 scoped_refptr<LayerAnimator> animator(
200 animator->set_disable_timer_for_test(true);
202 animator->SetDelegate(&delegate);
204 animator->SetBrightness(0.5);
205 EXPECT_TRUE(animator->is_animating());
206 animator->Step(now + base::TimeDelta::FromSeconds(1));
210 // Checks that if the animator is a default animator, that implicit animation
326 LayerAnimator* animator = test_controller.animator(); local
427 LayerAnimator* animator = test_controller.animator(); local
715 LayerAnimator* animator = test_controller.animator(); local
846 LayerAnimator* animator = test_controller.animator(); local
1177 LayerAnimator* animator = test_controller.animator(); local
1466 LayerAnimator* animator = test_controller.animator(); local
1665 TestLayerAnimator* animator = new TestLayerAnimator(); local
2236 LayerAnimator* animator() { return animator_.get(); } function in class:ui::AnimatorOwner
2260 LayerAnimator* animator() { return animator_owner_->animator(); } function in class:ui::DeletingObserver
2317 LayerAnimator* animator = observer->animator(); local
2350 LayerAnimator* animator = observer->animator(); local
2382 LayerAnimator* animator = observer->animator(); local
2413 LayerAnimator* animator = observer->animator(); local
2521 LayerAnimator* animator = layer.GetAnimator(); local
2542 LayerAnimator* animator = test_controller.animator(); local
2563 scoped_refptr<LayerAnimator> animator = test_controller.animator(); local
2607 LayerAnimator* animator = layer.GetAnimator(); local
    [all...]
layer_animator_collection.cc 26 scoped_refptr<LayerAnimator> animator) {
27 DCHECK_EQ(0U, animators_.count(animator));
30 animators_.insert(animator);
36 scoped_refptr<LayerAnimator> animator) {
37 DCHECK_GT(animators_.count(animator), 0U);
38 animators_.erase(animator);
53 // Make sure the animator is still valid.
layer_animator_collection.h 29 void StartAnimator(scoped_refptr<LayerAnimator> animator);
30 void StopAnimator(scoped_refptr<LayerAnimator> animator);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
TransitionUtils.java 31 * Creates an object animator that use implements the alpha fade-in for an
41 ObjectAnimator animator = new ObjectAnimator(); local
42 animator.setPropertyName("alpha");
44 animator.setFloatValues(startAlpha.getFloat(), endAlpha.getFloat());
46 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(),
49 animator.setDuration(res.getInteger(R.integer.alpha_activity_in_bkg_duration));
50 animator.setStartDelay(res.getInteger(R.integer.alpha_activity_in_bkg_delay));
51 return animator;
61 ObjectAnimator animator = new ObjectAnimator(); local
62 animator.setPropertyName("alpha")
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ViewAnimatorTest.java 16 protected ViewAnimator animator; field in class:ViewAnimatorTest
20 animator = new ViewAnimator(new Activity());
26 animator.addView(v);
28 assertEquals(0, animator.getDisplayedChild());
29 assertEquals(v, animator.getCurrentView());
37 animator.addView(v1);
38 animator.addView(v2);
40 animator.showNext();
42 assertEquals(1, animator.getDisplayedChild());
43 assertEquals(v2, animator.getCurrentView())
    [all...]
  /frameworks/base/libs/hwui/
AnimatorManager.cpp 28 static void unref(BaseRenderNodeAnimator* animator) {
29 animator->detach();
30 animator->decStrong(0);
43 void AnimatorManager::addAnimator(const sp<BaseRenderNodeAnimator>& animator) {
44 animator->incStrong(0);
45 animator->attach(&mParent);
46 mNewAnimators.push_back(animator.get());
84 bool operator() (BaseRenderNodeAnimator* animator) {
85 dirtyMask |= animator->dirtyMask();
86 bool remove = animator->animate(mContext)
    [all...]
  /frameworks/base/core/jni/
android_view_RenderNodeAnimator.cpp 24 #include <Animator.h>
50 virtual void onAnimationFinished(BaseRenderNodeAnimator* animator) {
51 LOG_ALWAYS_FATAL("Lifecycle failure, nStart(%p) wasn't called", animator);
111 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue); local
112 animator->setListener(&sLifecycleChecker);
113 return reinterpret_cast<jlong>( animator );
119 BaseRenderNodeAnimator* animator = new CanvasPropertyPrimitiveAnimator(canvasProperty, finalValue); local
120 animator->setListener(&sLifecycleChecker);
121 return reinterpret_cast<jlong>( animator );
129 BaseRenderNodeAnimator* animator = new CanvasPropertyPaintAnimator local
137 BaseRenderNodeAnimator* animator = new RevealAnimator(centerX, centerY, startRadius, endRadius); local
143 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
154 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
165 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
170 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
176 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
181 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
186 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
191 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
    [all...]
  /external/chromium_org/ui/compositor/test/
layer_animator_test_controller.h 12 // Allows tests to access sequences owned by the animator.
15 LayerAnimatorTestController(scoped_refptr<LayerAnimator> animator);
19 LayerAnimator* animator() { return animator_.get(); } function in class:ui::LayerAnimatorTestController
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
ViewPropertyAnimatorCompatSet.java 47 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) {
49 mAnimators.add(animator);
56 for (ViewPropertyAnimatorCompat animator : mAnimators) {
58 animator.setDuration(mDuration);
61 animator.setInterpolator(mInterpolator);
64 animator.setListener(mProxyListener);
66 animator.start();
80 for (ViewPropertyAnimatorCompat animator : mAnimators) {
81 animator.cancel();
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
SimpleScrollAdapterTransform.java 19 import android.animation.Animator;
31 * by ScrollAdapterView. It uses two Animator objects to transform views.
35 /** Animator for transform views on the right/down side of mScrollCenter */
36 private Animator mHighItemTransform;
39 private Animator mLowItemTransform;
61 int distanceFromCenter, Animator animator, View child) {
62 if (animator instanceof AnimatorSet) {
63 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations()
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
AnimatedCircleDrawable.java 86 final ValueAnimator animator = local
88 animator.setDuration(CIRCLE_ANIM_DURATION_MS);
89 animator.setInterpolator(Gusterpolator.INSTANCE);
90 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
96 animator.start();
100 final ValueAnimator animator = local
102 animator.setDuration(CIRCLE_ANIM_DURATION_MS);
103 animator.setInterpolator(Gusterpolator.INSTANCE);
104 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
110 animator.start()
    [all...]
  /packages/apps/PhoneCommon/src/com/android/phone/common/animation/
AnimUtils.java 19 import android.animation.Animator;
54 final ViewPropertyAnimator animator = fadeOut.animate(); local
55 animator.cancel();
56 animator.alpha(0).withLayer().setListener(new AnimatorListenerAdapter() {
58 public void onAnimationEnd(Animator animation) {
66 public void onAnimationCancel(Animator animation) {
75 animator.setDuration(durationMs);
77 animator.start();
87 final ViewPropertyAnimator animator = fadeIn.animate(); local
88 animator.cancel()
172 final ViewPropertyAnimator animator = view.animate(); local
196 ValueAnimator animator = ValueAnimator.ofFloat(0f, 1f); local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Animated3dActivity.java 45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f); local
46 animator.setDuration(4000);
47 animator.setRepeatCount(ObjectAnimator.INFINITE);
48 animator.setRepeatMode(ObjectAnimator.REVERSE);
49 animator.start();
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
DefaultCardStreamAnimator.java 35 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local
41 animator.setDuration((long) (200 * mSpeedFactor));
42 return animator;
53 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local
58 animator.setDuration((long) (200 * mSpeedFactor));
59 return animator;
66 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local
70 animator.setDuration((long) (200 * mSpeedFactor));
71 return animator;
85 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(view local
    [all...]
  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DefaultCardStreamAnimator.java 35 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local
41 animator.setDuration((long) (200 * mSpeedFactor));
42 return animator;
53 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local
58 animator.setDuration((long) (200 * mSpeedFactor));
59 return animator;
66 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local
70 animator.setDuration((long) (200 * mSpeedFactor));
71 return animator;
85 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(view local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
AnimationManager.java 19 import android.animation.Animator;
66 translateY.addListener(new Animator.AnimatorListener() {
68 public void onAnimationStart(Animator animator) {
73 public void onAnimationEnd(Animator animator) {
78 public void onAnimationCancel(Animator animator) {
83 public void onAnimationRepeat(Animator animator) {
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AnimatorUtils.java 85 for (ValueAnimator animator : animators) {
86 final float fraction = animator.getAnimatedFraction();
88 animator.start();
94 for (ValueAnimator animator : animators) {
95 final float fraction = animator.getAnimatedFraction();
97 animator.reverse();
103 for (ValueAnimator animator : animators) {
104 animator.cancel();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
FlingAnimationUtils.java 19 import android.animation.Animator;
68 * Applies the interpolator and length to the animator, such that the fling animation is
71 * @param animator the animator to apply
73 * @param endValue the end value of the animator
76 public void apply(Animator animator, float currValue, float endValue, float velocity) {
77 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
81 * Applies the interpolator and length to the animator, such that the fling animation is
84 * @param animator the animator to appl
    [all...]
  /frameworks/base/core/java/android/view/
ViewPropertyAnimatorRT.java 84 RenderNodeAnimator animator = new RenderNodeAnimator(property, finalValue); local
85 animator.setStartDelay(startDelay);
86 animator.setDuration(duration);
87 animator.setInterpolator(interpolator);
88 animator.setTarget(mView);
89 animator.start();
91 mAnimators[property] = animator;
106 // animator subsystem instead of multiple.
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ViewInvertHelper.java 19 import android.animation.Animator;
53 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); local
54 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
61 animator.addListener(new AnimatorListenerAdapter() {
63 public void onAnimationEnd(Animator animation) {
69 animator.setDuration(mFadeDuration);
70 animator.setInterpolator(mLinearOutSlowInInterpolator);
71 animator.setStartDelay(delay);
72 animator.start();

Completed in 834 milliseconds

1 2 3 4 5 6 7 8 91011