Loading quickstep/src/com/android/quickstep/views/RecentsView.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -31,6 +31,7 @@ import static com.android.app.animation.Interpolators.FINAL_FRAME; import static com.android.app.animation.Interpolators.LINEAR; import static com.android.app.animation.Interpolators.LINEAR; import static com.android.app.animation.Interpolators.OVERSHOOT_0_75; import static com.android.app.animation.Interpolators.OVERSHOOT_0_75; import static com.android.app.animation.Interpolators.clampToProgress; import static com.android.app.animation.Interpolators.clampToProgress; import static com.android.launcher3.AbstractFloatingView.TYPE_REBIND_SAFE; import static com.android.launcher3.AbstractFloatingView.TYPE_TASK_MENU; import static com.android.launcher3.AbstractFloatingView.TYPE_TASK_MENU; import static com.android.launcher3.AbstractFloatingView.getTopOpenViewWithType; import static com.android.launcher3.AbstractFloatingView.getTopOpenViewWithType; import static com.android.launcher3.BaseActivity.STATE_HANDLER_INVISIBILITY_FLAGS; import static com.android.launcher3.BaseActivity.STATE_HANDLER_INVISIBILITY_FLAGS; Loading Loading @@ -131,6 +132,7 @@ import androidx.annotation.UiThread; import androidx.core.graphics.ColorUtils; import androidx.core.graphics.ColorUtils; import com.android.internal.jank.Cuj; import com.android.internal.jank.Cuj; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.BaseActivity.MultiWindowModeChangedListener; import com.android.launcher3.BaseActivity.MultiWindowModeChangedListener; import com.android.launcher3.DeviceProfile; import com.android.launcher3.DeviceProfile; import com.android.launcher3.Flags; import com.android.launcher3.Flags; Loading Loading @@ -2689,6 +2691,7 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo } } private void animateRotation(int newRotation) { private void animateRotation(int newRotation) { AbstractFloatingView.closeAllOpenViewsExcept(mContainer, false, TYPE_REBIND_SAFE); AnimatorSet pa = setRecentsChangedOrientation(true); AnimatorSet pa = setRecentsChangedOrientation(true); pa.addListener(AnimatorListeners.forSuccessCallback(() -> { pa.addListener(AnimatorListeners.forSuccessCallback(() -> { setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); Loading Loading
quickstep/src/com/android/quickstep/views/RecentsView.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -31,6 +31,7 @@ import static com.android.app.animation.Interpolators.FINAL_FRAME; import static com.android.app.animation.Interpolators.LINEAR; import static com.android.app.animation.Interpolators.LINEAR; import static com.android.app.animation.Interpolators.OVERSHOOT_0_75; import static com.android.app.animation.Interpolators.OVERSHOOT_0_75; import static com.android.app.animation.Interpolators.clampToProgress; import static com.android.app.animation.Interpolators.clampToProgress; import static com.android.launcher3.AbstractFloatingView.TYPE_REBIND_SAFE; import static com.android.launcher3.AbstractFloatingView.TYPE_TASK_MENU; import static com.android.launcher3.AbstractFloatingView.TYPE_TASK_MENU; import static com.android.launcher3.AbstractFloatingView.getTopOpenViewWithType; import static com.android.launcher3.AbstractFloatingView.getTopOpenViewWithType; import static com.android.launcher3.BaseActivity.STATE_HANDLER_INVISIBILITY_FLAGS; import static com.android.launcher3.BaseActivity.STATE_HANDLER_INVISIBILITY_FLAGS; Loading Loading @@ -131,6 +132,7 @@ import androidx.annotation.UiThread; import androidx.core.graphics.ColorUtils; import androidx.core.graphics.ColorUtils; import com.android.internal.jank.Cuj; import com.android.internal.jank.Cuj; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.BaseActivity.MultiWindowModeChangedListener; import com.android.launcher3.BaseActivity.MultiWindowModeChangedListener; import com.android.launcher3.DeviceProfile; import com.android.launcher3.DeviceProfile; import com.android.launcher3.Flags; import com.android.launcher3.Flags; Loading Loading @@ -2689,6 +2691,7 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo } } private void animateRotation(int newRotation) { private void animateRotation(int newRotation) { AbstractFloatingView.closeAllOpenViewsExcept(mContainer, false, TYPE_REBIND_SAFE); AnimatorSet pa = setRecentsChangedOrientation(true); AnimatorSet pa = setRecentsChangedOrientation(true); pa.addListener(AnimatorListeners.forSuccessCallback(() -> { pa.addListener(AnimatorListeners.forSuccessCallback(() -> { setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); setLayoutRotation(newRotation, mOrientationState.getDisplayRotation()); Loading