Remove unused View parameter from ofFloat method.
Change-Id: I5fabd5c78de52ba68b67e0b1bd7208f4d1f7cbea
This commit is contained in:
1 parent
e1fa0145d3
commit
cda3bfb2e1
5 files changed
+8
-8
No files matched your search
@@ -99,7 +99,7 @@ public class DragView extends View {
|
||||
setScaleY(initialScale);
|
||||
|
||||
// Animate the view into the correct position
|
||||
mAnim = LauncherAnimUtils.ofFloat(this, 0f, 1f);
|
||||
mAnim = LauncherAnimUtils.ofFloat(0f, 1f);
|
||||
mAnim.setDuration(VIEW_ZOOM_DURATION);
|
||||
mAnim.addUpdateListener(new AnimatorUpdateListener() {
|
||||
@Override
|
||||
@@ -237,7 +237,7 @@ public class DragView extends View {
|
||||
}
|
||||
|
||||
public void crossFade(int duration) {
|
||||
ValueAnimator va = LauncherAnimUtils.ofFloat(this, 0f, 1f);
|
||||
ValueAnimator va = LauncherAnimUtils.ofFloat(0f, 1f);
|
||||
va.setDuration(duration);
|
||||
va.setInterpolator(new DecelerateInterpolator(1.5f));
|
||||
va.addUpdateListener(new AnimatorUpdateListener() {
|
||||
|
||||
Reference in new issue
Block a user