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:
1 parent
d761f5c3bd
commit
23fcbf2f73
22 files changed
+1409
-266
No files matched your search
@@ -106,6 +106,7 @@ import com.android.launcher3.Workspace;
|
||||
import com.android.launcher3.accessibility.LauncherAccessibilityDelegate;
|
||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
||||
import com.android.launcher3.anim.PendingAnimation;
|
||||
import com.android.launcher3.apppairs.AppPairIcon;
|
||||
import com.android.launcher3.appprediction.PredictionRowView;
|
||||
import com.android.launcher3.config.FeatureFlags;
|
||||
import com.android.launcher3.desktop.DesktopRecentsTransitionController;
|
||||
@@ -116,7 +117,6 @@ import com.android.launcher3.logging.StatsLogManager.StatsLogger;
|
||||
import com.android.launcher3.model.BgDataModel.FixedContainerItems;
|
||||
import com.android.launcher3.model.WellbeingModel;
|
||||
import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.popup.SystemShortcut;
|
||||
import com.android.launcher3.proxy.ProxyActivityStarter;
|
||||
import com.android.launcher3.statehandlers.DepthController;
|
||||
@@ -1284,8 +1284,8 @@ public class QuickstepLauncher extends Launcher {
|
||||
/**
|
||||
* Launches two apps as an app pair.
|
||||
*/
|
||||
public void launchAppPair(WorkspaceItemInfo app1, WorkspaceItemInfo app2) {
|
||||
mSplitSelectStateController.getAppPairsController().launchAppPair(app1, app2);
|
||||
public void launchAppPair(AppPairIcon appPairIcon) {
|
||||
mSplitSelectStateController.getAppPairsController().launchAppPair(appPairIcon);
|
||||
}
|
||||
|
||||
public boolean canStartHomeSafely() {
|
||||
|
||||
Reference in new issue
Block a user