Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +9 −2 Original line number Diff line number Diff line Loading @@ -34,10 +34,9 @@ import android.view.animation.Interpolator; import android.widget.FrameLayout; import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.keyguard.LatencyTracker; import com.android.systemui.DejankUtils; import com.android.systemui.EventLogTags; import com.android.systemui.Interpolators; import com.android.keyguard.LatencyTracker; import com.android.systemui.R; import com.android.systemui.classifier.FalsingManager; import com.android.systemui.doze.DozeLog; Loading Loading @@ -833,6 +832,14 @@ public abstract class PanelView extends FrameLayout { } } // If we are closing the panel and we are almost there due to a slow decelerating // interpolator, abort the animation. if (mExpandedHeight < 1f && mExpandedHeight != 0f && mClosing) { mExpandedHeight = 0f; if (mHeightAnimator != null) { mHeightAnimator.end(); } } mExpandedFraction = Math.min(1f, fhWithoutOverExpansion == 0 ? 0 : mExpandedHeight / fhWithoutOverExpansion); onHeightUpdated(mExpandedHeight); Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java +2 −2 Original line number Diff line number Diff line Loading @@ -121,12 +121,12 @@ public class PhoneStatusBarView extends PanelBar { public void onPanelCollapsed() { super.onPanelCollapsed(); // Close the status bar in the next frame so we can show the end of the animation. DejankUtils.postAfterTraversal(mHideExpandedRunnable); post(mHideExpandedRunnable); mIsFullyOpenedPanel = false; } public void removePendingHideExpandedRunnables() { DejankUtils.removeCallbacks(mHideExpandedRunnable); removeCallbacks(mHideExpandedRunnable); } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +9 −2 Original line number Diff line number Diff line Loading @@ -34,10 +34,9 @@ import android.view.animation.Interpolator; import android.widget.FrameLayout; import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.keyguard.LatencyTracker; import com.android.systemui.DejankUtils; import com.android.systemui.EventLogTags; import com.android.systemui.Interpolators; import com.android.keyguard.LatencyTracker; import com.android.systemui.R; import com.android.systemui.classifier.FalsingManager; import com.android.systemui.doze.DozeLog; Loading Loading @@ -833,6 +832,14 @@ public abstract class PanelView extends FrameLayout { } } // If we are closing the panel and we are almost there due to a slow decelerating // interpolator, abort the animation. if (mExpandedHeight < 1f && mExpandedHeight != 0f && mClosing) { mExpandedHeight = 0f; if (mHeightAnimator != null) { mHeightAnimator.end(); } } mExpandedFraction = Math.min(1f, fhWithoutOverExpansion == 0 ? 0 : mExpandedHeight / fhWithoutOverExpansion); onHeightUpdated(mExpandedHeight); Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java +2 −2 Original line number Diff line number Diff line Loading @@ -121,12 +121,12 @@ public class PhoneStatusBarView extends PanelBar { public void onPanelCollapsed() { super.onPanelCollapsed(); // Close the status bar in the next frame so we can show the end of the animation. DejankUtils.postAfterTraversal(mHideExpandedRunnable); post(mHideExpandedRunnable); mIsFullyOpenedPanel = false; } public void removePendingHideExpandedRunnables() { DejankUtils.removeCallbacks(mHideExpandedRunnable); removeCallbacks(mHideExpandedRunnable); } @Override Loading