summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/anim/slide_out.xml4
-rw-r--r--src/com/android/dialer/dialpad/DialpadFragment.java5
2 files changed, 6 insertions, 3 deletions
diff --git a/res/anim/slide_out.xml b/res/anim/slide_out.xml
index e037009f7..6b180c518 100644
--- a/res/anim/slide_out.xml
+++ b/res/anim/slide_out.xml
@@ -17,7 +17,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator"
android:valueFrom="0"
- android:valueTo="0.67"
+ android:valueTo="0.8"
android:valueType="floatType"
android:propertyName="yFraction"
- android:duration="200" /> \ No newline at end of file
+ android:duration="429" /> \ No newline at end of file
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java
index 245629474..ba4ae7b36 100644
--- a/src/com/android/dialer/dialpad/DialpadFragment.java
+++ b/src/com/android/dialer/dialpad/DialpadFragment.java
@@ -1608,12 +1608,15 @@ public class DialpadFragment extends Fragment
public void onHiddenChanged(boolean hidden) {
super.onHiddenChanged(hidden);
final DialtactsActivity activity = (DialtactsActivity) getActivity();
+ final DialpadView dialpadView = (DialpadView) getView().findViewById(R.id.dialpad_view);
if (activity == null) return;
if (hidden) {
+ if (mAnimate) {
+ dialpadView.animateHide();
+ }
activity.onDialpadHidden();
} else {
if (mAnimate) {
- DialpadView dialpadView = (DialpadView) getView().findViewById(R.id.dialpad_view);
dialpadView.animateShow();
}
activity.onDialpadShown();