Home
last modified time | relevance | path

Searched refs:colorAnimator (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java92 final ObjectAnimator colorAnimator = ObjectAnimator.ofInt(object, property, in testOfInt() local
94 colorAnimator.setDuration(1000); in testOfInt()
95 colorAnimator.setEvaluator(new ArgbEvaluator()); in testOfInt()
96 colorAnimator.setRepeatCount(1); in testOfInt()
97 colorAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfInt()
100 colorAnimator.start(); in testOfInt()
104 startAnimation(mObjectAnimator, colorAnimator); in testOfInt()
106 Integer i = (Integer) colorAnimator.getAnimatedValue(); in testOfInt()
119 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject() local
121 colorAnimator.setDuration(1000); in testOfObject()
[all …]
DAnimationActivity.java171 public void startAnimation(ObjectAnimator bounceAnimator, ObjectAnimator colorAnimator) { in startAnimation() argument
173 view.startColorAnimator(colorAnimator); in startAnimation()
182 public void startColorAnimation(ValueAnimator colorAnimator){ in startColorAnimation() argument
183 view.startColorAnimator(colorAnimator); in startColorAnimation()
194 public ValueAnimator colorAnimator; field in AnimationActivity.AnimationView
202 colorAnimator = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE); in startColorAnimator()
203 colorAnimator.setDuration(1000); in startColorAnimator()
204 colorAnimator.setEvaluator(new ArgbEvaluator()); in startColorAnimator()
205 colorAnimator.setRepeatCount(ValueAnimator.INFINITE); in startColorAnimator()
206 colorAnimator.setRepeatMode(ValueAnimator.REVERSE); in startColorAnimator()
[all …]
DPropertyValuesHolderTest.java265 ObjectAnimator colorAnimator = ObjectAnimator.ofPropertyValuesHolder(object,pVHolder); in testOfInt_Property() local
266 colorAnimator.setDuration(1000); in testOfInt_Property()
267 colorAnimator.setEvaluator(new ArgbEvaluator()); in testOfInt_Property()
268 colorAnimator.setRepeatCount(ValueAnimator.INFINITE); in testOfInt_Property()
269 colorAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfInt_Property()
273 startAnimation(objectAnimator, colorAnimator); in testOfInt_Property()
275 Integer i = (Integer) colorAnimator.getAnimatedValue(); in testOfInt_Property()
420 final ObjectAnimator colorAnimator) throws Throwable { in startAnimation() argument
423 mActivity.startAnimation(mObjectAnimator, colorAnimator); in startAnimation()