am 6e27f585: Rename RGBEvaluator to ArgbEvaluator

* commit '6e27f5856a9096a475039966106aec6546e6e277':
  Rename RGBEvaluator to ArgbEvaluator
This commit is contained in:
Chet Haase
2011-01-11 07:07:35 -08:00
committed by Android Git Automerger

View File

@@ -69,7 +69,7 @@ public class BouncingBalls extends Activity {
// every frame of the animation. // every frame of the animation.
ValueAnimator colorAnim = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE); ValueAnimator colorAnim = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE);
colorAnim.setDuration(3000); colorAnim.setDuration(3000);
colorAnim.setEvaluator(new RGBEvaluator()); colorAnim.setEvaluator(new ArgbEvaluator());
colorAnim.setRepeatCount(ValueAnimator.INFINITE); colorAnim.setRepeatCount(ValueAnimator.INFINITE);
colorAnim.setRepeatMode(ValueAnimator.REVERSE); colorAnim.setRepeatMode(ValueAnimator.REVERSE);
colorAnim.start(); colorAnim.start();