Remove unused View parameter from ofFloat method.

Change-Id: I5fabd5c78de52ba68b67e0b1bd7208f4d1f7cbea
This commit is contained in:
Jon Miranda
2017-02-06 15:54:41 -08:00
parent e1fa0145d3
commit cda3bfb2e1
5 changed files with 8 additions and 8 deletions

View File

@@ -661,7 +661,7 @@ public class FolderIcon extends FrameLayout implements FolderListener {
mScaleAnimator.cancel();
}
mScaleAnimator = LauncherAnimUtils.ofFloat(null, 0f, 1.0f);
mScaleAnimator = LauncherAnimUtils.ofFloat(0f, 1.0f);
mScaleAnimator.addUpdateListener(new AnimatorUpdateListener() {
@Override
@@ -807,7 +807,7 @@ public class FolderIcon extends FrameLayout implements FolderListener {
final float transX0 = mTmpParams.transX;
final float transY0 = mTmpParams.transY;
mValueAnimator = LauncherAnimUtils.ofFloat(FolderIcon.this, 0f, 1.0f);
mValueAnimator = LauncherAnimUtils.ofFloat(0f, 1.0f);
mValueAnimator.addUpdateListener(new AnimatorUpdateListener(){
public void onAnimationUpdate(ValueAnimator animation) {
float progress = animation.getAnimatedFraction();