Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
This commit is contained in:
1 parent
629758ff08
commit
2ecf995e0d
15 files changed
+141
-56
No files matched your search
@@ -421,7 +421,7 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
|
||||
PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1.0f);
|
||||
PropertyValuesHolder scaleY = PropertyValuesHolder.ofFloat("scaleY", 1.0f);
|
||||
final ObjectAnimator oa = mOpenCloseAnimator =
|
||||
ObjectAnimator.ofPropertyValuesHolder(this, alpha, scaleX, scaleY);
|
||||
LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY);
|
||||
|
||||
oa.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
@@ -479,7 +479,7 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
|
||||
PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 0.9f);
|
||||
PropertyValuesHolder scaleY = PropertyValuesHolder.ofFloat("scaleY", 0.9f);
|
||||
final ObjectAnimator oa = mOpenCloseAnimator =
|
||||
ObjectAnimator.ofPropertyValuesHolder(this, alpha, scaleX, scaleY);
|
||||
LauncherAnimUtils.ofPropertyValuesHolder(this, alpha, scaleX, scaleY);
|
||||
|
||||
oa.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user