App Pairs: Launch animation

[App Pairs 7/?]

This patch implements the app pair launch animation from icon. Adds a new function, composeFadeInSplitLaunchAnimator(), in SplitAnimationController, that builds the combined launcher + shell animation.

Bug: 309618233
Flag: ACONFIG com.android.wm.shell.enable_app_pairs DEVELOPMENT
Test: Manual
Change-Id: I8e95f629ae2a71f1bd6cbb356f5e33233e5c2906
This commit is contained in:
Jeremy Sim
2023-11-29 17:41:17 -08:00
parent d761f5c3bd
commit 23fcbf2f73
22 changed files with 1409 additions and 266 deletions

View File

@@ -145,8 +145,8 @@ public class ItemClickHandler {
*/
private static void onClickAppPairIcon(View v) {
Launcher launcher = Launcher.getLauncher(v.getContext());
FolderInfo folderInfo = ((AppPairIcon) v).getInfo();
launcher.launchAppPair(folderInfo.contents.get(0), folderInfo.contents.get(1));
AppPairIcon appPairIcon = (AppPairIcon) v;
launcher.launchAppPair(appPairIcon);
}
/**