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
This commit is contained in:
Chet Haase
2011-02-25 07:10:09 -08:00
parent 4aad8e131d
commit 806af22e17

View File

@@ -71,7 +71,7 @@ public class GameView extends View {
private final Runnable mAnimationRunnable = new Runnable() {
public void run() {
animate();
animateFrame();
}
};
@@ -322,7 +322,7 @@ public class GameView extends View {
mObstacles.clear();
}
void animate() {
void animateFrame() {
long currentStepTime = SystemClock.uptimeMillis();
step(currentStepTime);