Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cc2bced authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #6444627: New status bar/action bar interaction a bit disjoint

Make sure action bar animations use same duration as system dock animations.

Change-Id: Ie294d134177207499a05cc93db8f4b859f07ed0c
parent b05b158b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -617,6 +617,8 @@ public class ActionBarImpl extends ActionBar {
            }
            anim.setInterpolator(AnimationUtils.loadInterpolator(mContext,
                    com.android.internal.R.interpolator.decelerate_quad));
            anim.setDuration(mContext.getResources().getInteger(
                    com.android.internal.R.integer.config_mediumAnimTime));
            anim.addListener(mShowListener);
            mCurrentShowAnim = anim;
            anim.start();
@@ -660,6 +662,8 @@ public class ActionBarImpl extends ActionBar {
            }
            anim.setInterpolator(AnimationUtils.loadInterpolator(mContext,
                    com.android.internal.R.interpolator.accelerate_quad));
            anim.setDuration(mContext.getResources().getInteger(
                    com.android.internal.R.integer.config_mediumAnimTime));
            anim.addListener(mHideListener);
            mCurrentShowAnim = anim;
            anim.start();