Loading quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +7 −0 Original line number Diff line number Diff line Loading @@ -1305,6 +1305,13 @@ public class QuickstepLauncher extends Launcher { : groupTask.mSplitBounds.leftTaskPercent); } @Override public boolean isCommandQueueEmpty() { OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper(); return super.isCommandQueueEmpty() && (overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty()); } private static final class LauncherTaskViewController extends TaskViewTouchController<Launcher> { Loading quickstep/src/com/android/quickstep/OverviewCommandHelper.java +5 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,11 @@ public class OverviewCommandHelper { mPendingCommands.clear(); } @UiThread public boolean isCommandQueueEmpty() { return mPendingCommands.isEmpty(); } @Nullable private TaskView getNextTask(RecentsView view) { final TaskView runningTaskView = view.getRunningTaskView(); Loading quickstep/src/com/android/quickstep/RecentsActivity.java +7 −0 Original line number Diff line number Diff line Loading @@ -466,4 +466,11 @@ public final class RecentsActivity extends StatefulActivity<RecentsState> { } }; } @Override public boolean isCommandQueueEmpty() { OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper(); return super.isCommandQueueEmpty() && (overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty()); } } quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java +6 −1 Original line number Diff line number Diff line Loading @@ -80,11 +80,16 @@ public class FallbackRecentsView extends RecentsView<RecentsActivity, RecentsSta } @Override public void startHome(boolean animated) { protected void handleStartHome(boolean animated) { mActivity.startHome(); AbstractFloatingView.closeAllOpenViews(mActivity, mActivity.isStarted()); } @Override public boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); } /** * When starting gesture interaction from home, we add a temporary invisible tile corresponding * to the home task. This allows us to handle quick-switch similarly to a quick-switching Loading quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +6 −1 Original line number Diff line number Diff line Loading @@ -82,13 +82,18 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher } @Override public void startHome(boolean animated) { protected void handleStartHome(boolean animated) { StateManager stateManager = mActivity.getStateManager(); animated &= stateManager.shouldAnimateStateChange(); stateManager.goToState(NORMAL, animated); AbstractFloatingView.closeAllOpenViews(mActivity, animated); } @Override public boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); } @Override protected void onTaskLaunchAnimationEnd(boolean success) { if (success) { Loading Loading
quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +7 −0 Original line number Diff line number Diff line Loading @@ -1305,6 +1305,13 @@ public class QuickstepLauncher extends Launcher { : groupTask.mSplitBounds.leftTaskPercent); } @Override public boolean isCommandQueueEmpty() { OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper(); return super.isCommandQueueEmpty() && (overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty()); } private static final class LauncherTaskViewController extends TaskViewTouchController<Launcher> { Loading
quickstep/src/com/android/quickstep/OverviewCommandHelper.java +5 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,11 @@ public class OverviewCommandHelper { mPendingCommands.clear(); } @UiThread public boolean isCommandQueueEmpty() { return mPendingCommands.isEmpty(); } @Nullable private TaskView getNextTask(RecentsView view) { final TaskView runningTaskView = view.getRunningTaskView(); Loading
quickstep/src/com/android/quickstep/RecentsActivity.java +7 −0 Original line number Diff line number Diff line Loading @@ -466,4 +466,11 @@ public final class RecentsActivity extends StatefulActivity<RecentsState> { } }; } @Override public boolean isCommandQueueEmpty() { OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper(); return super.isCommandQueueEmpty() && (overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty()); } }
quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java +6 −1 Original line number Diff line number Diff line Loading @@ -80,11 +80,16 @@ public class FallbackRecentsView extends RecentsView<RecentsActivity, RecentsSta } @Override public void startHome(boolean animated) { protected void handleStartHome(boolean animated) { mActivity.startHome(); AbstractFloatingView.closeAllOpenViews(mActivity, mActivity.isStarted()); } @Override public boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); } /** * When starting gesture interaction from home, we add a temporary invisible tile corresponding * to the home task. This allows us to handle quick-switch similarly to a quick-switching Loading
quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +6 −1 Original line number Diff line number Diff line Loading @@ -82,13 +82,18 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher } @Override public void startHome(boolean animated) { protected void handleStartHome(boolean animated) { StateManager stateManager = mActivity.getStateManager(); animated &= stateManager.shouldAnimateStateChange(); stateManager.goToState(NORMAL, animated); AbstractFloatingView.closeAllOpenViews(mActivity, animated); } @Override public boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); } @Override protected void onTaskLaunchAnimationEnd(boolean success) { if (success) { Loading