mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Removing various reflection based animations, to allow for better proguarding
Change-Id: If9df24ea4170e8a3d336057d1c3dc800934fc1ac
This commit is contained in:
@@ -671,9 +671,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
private void fadeAndRemoveEmptyScreen(int delay, int duration, final Runnable onComplete,
|
||||
final boolean stripEmptyScreens) {
|
||||
// XXX: Do we need to update LM workspace screens below?
|
||||
PropertyValuesHolder alpha = PropertyValuesHolder.ofFloat("alpha", 0f);
|
||||
PropertyValuesHolder bgAlpha = PropertyValuesHolder.ofFloat("backgroundAlpha", 0f);
|
||||
|
||||
final CellLayout cl = mWorkspaceScreens.get(EXTRA_EMPTY_SCREEN_ID);
|
||||
|
||||
mRemoveEmptyScreenRunnable = new Runnable() {
|
||||
@@ -692,7 +689,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
}
|
||||
};
|
||||
|
||||
ObjectAnimator oa = ObjectAnimator.ofPropertyValuesHolder(cl, alpha, bgAlpha);
|
||||
ObjectAnimator oa = ObjectAnimator.ofFloat(cl, ALPHA, 0f);
|
||||
oa.setDuration(duration);
|
||||
oa.setStartDelay(delay);
|
||||
oa.addListener(new AnimatorListenerAdapter() {
|
||||
|
||||
Reference in New Issue
Block a user