/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 | 25 scoped_refptr<LayerAnimator> animator) { 26 DCHECK_EQ(0U, animators_.count(animator)); 29 animators_.insert(animator); 35 scoped_refptr<LayerAnimator> animator) { 36 DCHECK_GT(animators_.count(animator), 0U); 37 animators_.erase(animator); 50 // Make sure the animator is still valid.
|
layer_animator_collection.h | 37 void StartAnimator(scoped_refptr<LayerAnimator> animator); 38 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...] |
/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();
|
/frameworks/base/core/jni/ |
android_view_RenderNodeAnimator.cpp | 24 #include <Animator.h> 102 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue); local 103 return reinterpret_cast<jlong>( animator ); 109 BaseRenderNodeAnimator* animator = new CanvasPropertyPrimitiveAnimator(canvasProperty, finalValue); local 110 return reinterpret_cast<jlong>( animator ); 118 BaseRenderNodeAnimator* animator = new CanvasPropertyPaintAnimator( local 120 return reinterpret_cast<jlong>( animator ); 125 BaseRenderNodeAnimator* animator = new RevealAnimator(centerX, centerY, startRadius, endRadius); local 126 return reinterpret_cast<jlong>( animator ); 130 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr) local 141 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local 152 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local 157 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local 163 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local 168 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local 176 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local [all...] |
/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...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AnimatorUtils.java | 87 public static void setAnimatedFraction(ValueAnimator animator, float fraction) { 90 // internal animator scale or time (b/17938711) 98 sAnimateValue.invoke(animator, fraction); 108 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration())); 112 for (ValueAnimator animator : animators) { 113 final float fraction = animator.getAnimatedFraction(); 115 animator.start(); 116 setAnimatedFraction(animator, fraction); 122 for (ValueAnimator animator : animators) [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 | 38 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local 44 animator.setDuration((long) (200 * mSpeedFactor)); 45 return animator; 56 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local 61 animator.setDuration((long) (200 * mSpeedFactor)); 62 return animator; 69 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), local 73 animator.setDuration((long) (200 * mSpeedFactor)); 74 return animator; 88 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(view local [all...] |
/external/chromium_org/ui/keyboard/ |
keyboard_layout_manager.cc | 44 ui::LayerAnimator* animator = local 47 if (animator->is_animating()) 48 animator->StopAnimating();
|
/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...] |
/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.
|