Loading quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java +7 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.launcher3.taskbar; import static com.android.app.animation.Interpolators.FINAL_FRAME; import static com.android.app.animation.Interpolators.LINEAR; import static com.android.launcher3.Flags.enableScalingRevealHomeAnimation; import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY; import static com.android.launcher3.LauncherAnimUtils.VIEW_ALPHA; import static com.android.launcher3.LauncherAnimUtils.VIEW_TRANSLATE_X; Loading Loading @@ -689,6 +690,12 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar && mIsStashed) { // Prevent All Apps icon from appearing when going from hotseat to nav handle. setter.setViewAlpha(child, 0, Interpolators.clampToProgress(LINEAR, 0f, 0f)); } else if (enableScalingRevealHomeAnimation()) { // Tighten clamp so that these icons do not linger as the spring settles. setter.setViewAlpha(child, 0, isToHome ? Interpolators.clampToProgress(LINEAR, 0f, 0.07f) : Interpolators.clampToProgress(LINEAR, 0.93f, 1f)); } else { setter.setViewAlpha(child, 0, isToHome Loading Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java +7 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.launcher3.taskbar; import static com.android.app.animation.Interpolators.FINAL_FRAME; import static com.android.app.animation.Interpolators.LINEAR; import static com.android.launcher3.Flags.enableScalingRevealHomeAnimation; import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY; import static com.android.launcher3.LauncherAnimUtils.VIEW_ALPHA; import static com.android.launcher3.LauncherAnimUtils.VIEW_TRANSLATE_X; Loading Loading @@ -689,6 +690,12 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar && mIsStashed) { // Prevent All Apps icon from appearing when going from hotseat to nav handle. setter.setViewAlpha(child, 0, Interpolators.clampToProgress(LINEAR, 0f, 0f)); } else if (enableScalingRevealHomeAnimation()) { // Tighten clamp so that these icons do not linger as the spring settles. setter.setViewAlpha(child, 0, isToHome ? Interpolators.clampToProgress(LINEAR, 0f, 0.07f) : Interpolators.clampToProgress(LINEAR, 0.93f, 1f)); } else { setter.setViewAlpha(child, 0, isToHome Loading