summaryrefslogtreecommitdiff
path: root/InCallUI/src/com
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-08-06 20:40:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-05 00:35:13 +0000
commitaafed14228405904e00cb187b52f8373ad6910ff (patch)
tree1bd2279b565c1b530ca456dbb930700b7466a7fa /InCallUI/src/com
parent624d9e3ea71b6777fa3bcfa03ea68c60b0e7e6cb (diff)
parent7cde80445d5e237ed4b1b6795f68b9f5b7eadeb8 (diff)
Merge "Set correct interpolator for dialpad animation" into lmp-dev
Diffstat (limited to 'InCallUI/src/com')
-rw-r--r--InCallUI/src/com/android/incallui/InCallActivity.java4
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)) {