Loading quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/BackgroundAppState.java +8 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.launcher3.uioverrides.states; import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.Launcher; import com.android.launcher3.allapps.AllAppsTransitionController; import com.android.launcher3.userevent.nano.LauncherLogProto; Loading @@ -41,6 +42,13 @@ public class BackgroundAppState extends OverviewState { super(id, logContainer, OVERVIEW_TRANSITION_MS, STATE_FLAGS); } @Override public void onStateEnabled(Launcher launcher) { RecentsView rv = launcher.getOverviewPanel(); rv.setOverviewStateEnabled(true); AbstractFloatingView.closeAllOpenViews(launcher, false); } @Override public float getVerticalProgress(Launcher launcher) { if (launcher.getDeviceProfile().isVerticalBarLayout()) { Loading src/com/android/launcher3/folder/Folder.java +4 −0 Original line number Diff line number Diff line Loading @@ -593,6 +593,10 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo protected void handleClose(boolean animate) { mIsOpen = false; if (!animate && mCurrentAnimator != null && mCurrentAnimator.isRunning()) { mCurrentAnimator.cancel(); } if (isEditingName()) { mFolderName.dispatchBackKey(); } Loading Loading
quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/BackgroundAppState.java +8 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.launcher3.uioverrides.states; import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.Launcher; import com.android.launcher3.allapps.AllAppsTransitionController; import com.android.launcher3.userevent.nano.LauncherLogProto; Loading @@ -41,6 +42,13 @@ public class BackgroundAppState extends OverviewState { super(id, logContainer, OVERVIEW_TRANSITION_MS, STATE_FLAGS); } @Override public void onStateEnabled(Launcher launcher) { RecentsView rv = launcher.getOverviewPanel(); rv.setOverviewStateEnabled(true); AbstractFloatingView.closeAllOpenViews(launcher, false); } @Override public float getVerticalProgress(Launcher launcher) { if (launcher.getDeviceProfile().isVerticalBarLayout()) { Loading
src/com/android/launcher3/folder/Folder.java +4 −0 Original line number Diff line number Diff line Loading @@ -593,6 +593,10 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo protected void handleClose(boolean animate) { mIsOpen = false; if (!animate && mCurrentAnimator != null && mCurrentAnimator.isRunning()) { mCurrentAnimator.cancel(); } if (isEditingName()) { mFolderName.dispatchBackKey(); } Loading