Launcher state management cleanup

> Removing Widgets and related states
> Fixing different durations being used when opening/closing all-apps
> Removing some unnecessary object allocations when changing state without animation
> Differentiating widget bootm sheel and full sheet in logs

Bug: 67678570
Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
This commit is contained in:
Sunny Goyal committed 2017-10-17 12:42:08 -07:00
1 parent 1797af41d1
commit aeb1643ec6
24 files changed
+520 -636

No files matched your search

@@ -1,5 +1,7 @@
package com.android.launcher3.util;
import static com.android.launcher3.LauncherAnimUtils.SPRING_LOADED_EXIT_NEXT_FRAME;
import android.animation.TimeInterpolator;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
@@ -95,7 +97,7 @@ public class FlingAnimation implements AnimatorUpdateListener, Runnable {
Runnable onAnimationEndRunnable = new Runnable() {
@Override
public void run() {
mLauncher.exitSpringLoadedDragMode(false, 0);
mLauncher.exitSpringLoadedDragMode(SPRING_LOADED_EXIT_NEXT_FRAME);
mDropTarget.completeDrop(mDragObject);
}
};