diff options
| author | 2019-06-12 20:18:17 +0000 | |
|---|---|---|
| committer | 2019-06-12 20:18:17 +0000 | |
| commit | 0972aa6a608f8752b629b72e744ef954155aee29 (patch) | |
| tree | 2ca16b3b6e2bc483cd8a4c92d1e3c9c7817ba321 | |
| parent | 0963cc2418d7ae09e73a71b542b61bc66a7c7d20 (diff) | |
| parent | 4f706c2260fb9cd32ab6598e97c6dd8c760f0c4f (diff) | |
Merge "Reduces Assist Handle fade out duration" into qt-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/ScreenDecorations.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java index 7d36469bb905..eff705415957 100644 --- a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java +++ b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java @@ -64,6 +64,7 @@ import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.view.ViewTreeObserver; import android.view.WindowManager; +import android.view.animation.AccelerateInterpolator; import android.view.animation.Interpolator; import android.view.animation.PathInterpolator; import android.widget.FrameLayout; @@ -231,7 +232,10 @@ public class ScreenDecorations extends SystemUI implements Tunable, anim.start(); } else { view.animate().cancel(); - view.animate().setDuration(400).alpha(0f); + view.animate() + .setInterpolator(new AccelerateInterpolator(1.5f)) + .setDuration(250) + .alpha(0f); } } |