From ca0d53b5b855c7678912d66ae79800c67999c713 Mon Sep 17 00:00:00 2001 From: Sai Cheemalapati Date: Mon, 9 Jun 2014 09:58:09 -0700 Subject: Updating Dialpad animation in InCallUI. Dialpad now saves orientation state. Animation now matches duration and direction in Dialtacts. Bug: 15386162 Change-Id: I57fd6797b2bf7a5bff86f5175e18a70e16ca522b --- res/anim/slide_in.xml | 20 -------------------- res/anim/slide_in_right.xml | 21 --------------------- res/anim/slide_out.xml | 20 -------------------- res/anim/slide_out_right.xml | 21 --------------------- res/values/animation_constants.xml | 2 -- src/com/android/dialer/DialtactsActivity.java | 4 ++-- 6 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 res/anim/slide_in.xml delete mode 100644 res/anim/slide_in_right.xml delete mode 100644 res/anim/slide_out.xml delete mode 100644 res/anim/slide_out_right.xml diff --git a/res/anim/slide_in.xml b/res/anim/slide_in.xml deleted file mode 100644 index fa0bda02a..000000000 --- a/res/anim/slide_in.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/res/anim/slide_in_right.xml b/res/anim/slide_in_right.xml deleted file mode 100644 index 11b764a36..000000000 --- a/res/anim/slide_in_right.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/res/anim/slide_out.xml b/res/anim/slide_out.xml deleted file mode 100644 index e5d7ed4b9..000000000 --- a/res/anim/slide_out.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/res/anim/slide_out_right.xml b/res/anim/slide_out_right.xml deleted file mode 100644 index 72304a4b2..000000000 --- a/res/anim/slide_out_right.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/res/values/animation_constants.xml b/res/values/animation_constants.xml index 05b8e218d..786306092 100644 --- a/res/values/animation_constants.xml +++ b/res/values/animation_constants.xml @@ -16,8 +16,6 @@ --> 300 - 532 - 257 100 diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 53e438d6d..7a94700c5 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -427,9 +427,9 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O } mSlideIn = AnimationUtils.loadAnimation(this, - mIsLandscape ? R.anim.slide_in_right : R.anim.slide_in); + mIsLandscape ? R.anim.dialpad_slide_in_right : R.anim.dialpad_slide_in_bottom); mSlideOut = AnimationUtils.loadAnimation(this, - mIsLandscape ? R.anim.slide_out_right : R.anim.slide_out); + mIsLandscape ? R.anim.dialpad_slide_out_right : R.anim.dialpad_slide_out_bottom); mSlideOut.setAnimationListener(mSlideOutListener); -- cgit v1.2.3