commit | 806af22e17694ff758eee51f9f21e407a0274b54 | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Fri Feb 25 07:10:09 2011 -0800 |
committer | Chet Haase <chet@google.com> | Fri Feb 25 07:10:09 2011 -0800 |
tree | cace04754b21b9a0a4798cbb98bec62ef107a2ca | |
parent | 4aad8e131de976eed86433f4fef215ad93e599bc [diff] |
Add ViewPropertyAnimator for easy View animations A demo in ApiDemos conflicted with the new animate() API in View. The method was internal, so it was renamed to avoid the conflict. Change-Id: Id6dffc84fa0800677a0b67bee9c78f26da775d26
diff --git a/samples/ApiDemos/src/com/example/android/apis/view/GameView.java b/samples/ApiDemos/src/com/example/android/apis/view/GameView.java index 2bdec34..1791029 100644 --- a/samples/ApiDemos/src/com/example/android/apis/view/GameView.java +++ b/samples/ApiDemos/src/com/example/android/apis/view/GameView.java
@@ -71,7 +71,7 @@ private final Runnable mAnimationRunnable = new Runnable() { public void run() { - animate(); + animateFrame(); } }; @@ -322,7 +322,7 @@ mObstacles.clear(); } - void animate() { + void animateFrame() { long currentStepTime = SystemClock.uptimeMillis(); step(currentStepTime);