Loading quickstep/src/com/android/quickstep/SystemUiProxy.java +1 −1 Original line number Diff line number Diff line Loading @@ -358,7 +358,7 @@ public class SystemUiProxy implements ISystemUiProxy, try { mSystemUiProxy.setSplitScreenMinimized(minimized); } catch (RemoteException e) { Log.w(TAG, "Failed call stopScreenPinning", e); Log.w(TAG, "Failed call setSplitScreenMinimized", e); } } } Loading quickstep/src/com/android/quickstep/views/RecentsView.java +3 −0 Original line number Diff line number Diff line Loading @@ -3090,6 +3090,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T splitController.getLayoutParamsForActivePosition(getResources(), mActivity.getDeviceProfile())); mSplitPlaceholderView.setIcon(taskView.getIconView()); if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { finishRecentsAnimation(true, null); } } public PendingAnimation createSplitSelectInitAnimation() { Loading quickstep/src/com/android/quickstep/views/TaskView.java +13 −7 Original line number Diff line number Diff line Loading @@ -531,6 +531,9 @@ public class TaskView extends FrameLayout implements Reusable { if (getTask() == null) { return; } if (confirmSecondSplitSelectApp()) { return; } if (ENABLE_QUICKSTEP_LIVE_TILE.get() && isRunningTask()) { if (!mIsClickableAsLiveTile) { return; Loading @@ -549,7 +552,7 @@ public class TaskView extends FrameLayout implements Reusable { if (targets == null) { // If the recents animation is cancelled somehow between the parent if block and // here, try to launch the task as a non live tile task. launcherNonLiveTileTask(); launchTaskAnimated(); return; } Loading @@ -567,19 +570,22 @@ public class TaskView extends FrameLayout implements Reusable { }); anim.start(); } else { launcherNonLiveTileTask(); launchTaskAnimated(); } mActivity.getStatsLogManager().logger().withItemInfo(getItemInfo()) .log(LAUNCHER_TASK_LAUNCH_TAP); } private void launcherNonLiveTileTask() { if (mActivity.isInState(OVERVIEW_SPLIT_SELECT)) { // User tapped to select second split screen app /** * @return {@code true} if user is already in split select mode and this tap was to choose the * second app. {@code false} otherwise */ private boolean confirmSecondSplitSelectApp() { boolean isSelectingSecondSplitApp = mActivity.isInState(OVERVIEW_SPLIT_SELECT); if (isSelectingSecondSplitApp) { getRecentsView().confirmSplitSelect(this); } else { launchTaskAnimated(); } return isSelectingSecondSplitApp; } /** Loading Loading
quickstep/src/com/android/quickstep/SystemUiProxy.java +1 −1 Original line number Diff line number Diff line Loading @@ -358,7 +358,7 @@ public class SystemUiProxy implements ISystemUiProxy, try { mSystemUiProxy.setSplitScreenMinimized(minimized); } catch (RemoteException e) { Log.w(TAG, "Failed call stopScreenPinning", e); Log.w(TAG, "Failed call setSplitScreenMinimized", e); } } } Loading
quickstep/src/com/android/quickstep/views/RecentsView.java +3 −0 Original line number Diff line number Diff line Loading @@ -3090,6 +3090,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T splitController.getLayoutParamsForActivePosition(getResources(), mActivity.getDeviceProfile())); mSplitPlaceholderView.setIcon(taskView.getIconView()); if (ENABLE_QUICKSTEP_LIVE_TILE.get()) { finishRecentsAnimation(true, null); } } public PendingAnimation createSplitSelectInitAnimation() { Loading
quickstep/src/com/android/quickstep/views/TaskView.java +13 −7 Original line number Diff line number Diff line Loading @@ -531,6 +531,9 @@ public class TaskView extends FrameLayout implements Reusable { if (getTask() == null) { return; } if (confirmSecondSplitSelectApp()) { return; } if (ENABLE_QUICKSTEP_LIVE_TILE.get() && isRunningTask()) { if (!mIsClickableAsLiveTile) { return; Loading @@ -549,7 +552,7 @@ public class TaskView extends FrameLayout implements Reusable { if (targets == null) { // If the recents animation is cancelled somehow between the parent if block and // here, try to launch the task as a non live tile task. launcherNonLiveTileTask(); launchTaskAnimated(); return; } Loading @@ -567,19 +570,22 @@ public class TaskView extends FrameLayout implements Reusable { }); anim.start(); } else { launcherNonLiveTileTask(); launchTaskAnimated(); } mActivity.getStatsLogManager().logger().withItemInfo(getItemInfo()) .log(LAUNCHER_TASK_LAUNCH_TAP); } private void launcherNonLiveTileTask() { if (mActivity.isInState(OVERVIEW_SPLIT_SELECT)) { // User tapped to select second split screen app /** * @return {@code true} if user is already in split select mode and this tap was to choose the * second app. {@code false} otherwise */ private boolean confirmSecondSplitSelectApp() { boolean isSelectingSecondSplitApp = mActivity.isInState(OVERVIEW_SPLIT_SELECT); if (isSelectingSecondSplitApp) { getRecentsView().confirmSplitSelect(this); } else { launchTaskAnimated(); } return isSelectingSecondSplitApp; } /** Loading