diff options
author | Yorke Lee <yorkelee@google.com> | 2014-08-05 18:20:17 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-08-05 18:20:17 -0700 |
commit | 7cde80445d5e237ed4b1b6795f68b9f5b7eadeb8 (patch) | |
tree | 9268938d2b414502ae44a0c1bf69be006360f4ce | |
parent | 164075975ba3ccabb9fcc3d78c6c5f5c1d281e10 (diff) |
Set correct interpolator for dialpad animation
Bug: 16659277
Change-Id: Ia8c61220b9278105a59894d326f55fcd309eb5db
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index 184a01023..b650e7beb 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -36,6 +36,7 @@ import android.view.Window; import android.view.WindowManager; import android.view.accessibility.AccessibilityEvent; +import com.android.phone.common.animation.AnimUtils; import com.android.phone.common.animation.AnimationListenerAdapter; import com.android.incallui.Call.State; @@ -118,6 +119,9 @@ public class InCallActivity extends Activity { mSlideOut = AnimationUtils.loadAnimation(this, mIsLandscape ? R.anim.dialpad_slide_out_right : R.anim.dialpad_slide_out_bottom); + mSlideIn.setInterpolator(AnimUtils.EASE_IN); + mSlideOut.setInterpolator(AnimUtils.EASE_OUT); + mSlideOut.setAnimationListener(mSlideOutListener); if (icicle != null) { if (icicle.getBoolean(SHOW_DIALPAD_EXTRA)) { |