commit | 6e27f5856a9096a475039966106aec6546e6e277 | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Mon Jan 10 16:48:48 2011 -0800 |
committer | Chet Haase <chet@google.com> | Mon Jan 10 16:48:48 2011 -0800 |
tree | ac375172ca9d599dc0b1d7df7ba17fd73885d5ee | |
parent | 5cb35294ed4947bbc56ae89056074556159ca56a [diff] |
Rename RGBEvaluator to ArgbEvaluator Change-Id: I43cf6c9824b012424de1ef2a340ee9dde20af4a7
diff --git a/samples/ApiDemos/src/com/example/android/apis/animation/BouncingBalls.java b/samples/ApiDemos/src/com/example/android/apis/animation/BouncingBalls.java index ca22550..de28da3 100644 --- a/samples/ApiDemos/src/com/example/android/apis/animation/BouncingBalls.java +++ b/samples/ApiDemos/src/com/example/android/apis/animation/BouncingBalls.java
@@ -69,7 +69,7 @@ // every frame of the animation. ValueAnimator colorAnim = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE); colorAnim.setDuration(3000); - colorAnim.setEvaluator(new RGBEvaluator()); + colorAnim.setEvaluator(new ArgbEvaluator()); colorAnim.setRepeatCount(ValueAnimator.INFINITE); colorAnim.setRepeatMode(ValueAnimator.REVERSE); colorAnim.start();