Address LAUNCHER_APP_LAUNCH_FROM_ICON jank.

- Delay app launch animations by a frame, and skip logic to skip the first frame.
- Note the icon pressed state animation still occurs, so there is still some
  visual feedback for the user that something is happening.

Bug: 181901105
Test: ensure animation still looks smooth (using window animation scale & record in slow mo)
Change-Id: Ia904b8b96301042c900e0589f33fc625c1c1148b
Merged-In: Ia904b8b96301042c900e0589f33fc625c1c1148b
This commit is contained in:
Jon Miranda authored and Jonathan Miranda committed 2021-06-14 23:29:29 +00:00
1 parent 2f346b8666
commit 0750f03c96
8 files changed
+59 -25

No files matched your search

@@ -280,7 +280,7 @@ public class RectFSpringAnim2 extends RectFSpringAnim {
}
@Override
public void onUpdate(float percent) {}
public void onUpdate(float percent, boolean initOnly) {}
};
}