Remove use of private ValueAnimator api

Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
This commit is contained in:
Michael Jurka
2012-06-18 12:52:28 -07:00
parent 629758ff08
commit 2ecf995e0d
15 changed files with 141 additions and 56 deletions

View File

@@ -21,7 +21,6 @@
package com.android.launcher2;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.TimeAnimator;
import android.content.ComponentName;
import android.content.Context;
@@ -150,11 +149,11 @@ public class RocketLauncher extends BasicDream {
}
}, LAUNCH_ZOOM_TIME);
endscale = 0;
AnimatorSet s = new AnimatorSet();
AnimatorSet s = LauncherAnimUtils.createAnimatorSet();
s.playTogether(
ObjectAnimator.ofFloat(this, "scaleX", 15f),
ObjectAnimator.ofFloat(this, "scaleY", 15f),
ObjectAnimator.ofFloat(this, "alpha", 0f)
LauncherAnimUtils.ofFloat(this, "scaleX", 15f),
LauncherAnimUtils.ofFloat(this, "scaleY", 15f),
LauncherAnimUtils.ofFloat(this, "alpha", 0f)
);
// make sure things are still moving until the very last instant the