mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 02:16:49 +00:00
Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user