Fixing stutter in AllApps transition

-> Tightened up the interpolator and decreased the duration of the
   AllApps-in animation. This removes many excess frames at the end
   of the transition, and frees up perf for swiping AllApps:
   (issue 5359751)
-> Changed when AllApps state gets reset -- now only after
   leaving home, and then pressing home, or when the screen
   turns off.

Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index dc7b77e..02f19ac 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -1209,7 +1209,7 @@
             }
 
             // Reset AllApps to its initial state
-            if (mAppsCustomizeTabHost != null) {
+            if (!alreadyOnHome && mAppsCustomizeTabHost != null) {
                 mAppsCustomizeTabHost.reset();
             }
         }
@@ -2187,7 +2187,6 @@
 
         // Shrink workspaces away if going to AppsCustomize from workspace
         mWorkspace.changeState(Workspace.State.SMALL, animated);
-        //hideHotseat(animated);
 
         if (animated) {
             final ValueAnimator scaleAnim = ValueAnimator.ofFloat(0f, 1f).setDuration(duration);