From 043bfe40b226819a0497c928dc3f40444731be3c Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Fri, 8 Aug 2014 14:39:01 -0700 Subject: Reveal InCallUI starting from the user's touch point InCallUI expanding circle should start where the UI made the call. Bug: 16396523 Change-Id: I1c7775fcbe684a51376f5a1b744bdd06f26e7bbf --- .../src/com/android/incallui/CallCardFragment.java | 20 ++++++++++++++------ .../src/com/android/incallui/InCallActivity.java | 13 ++++++++++++- 2 files changed, 26 insertions(+), 7 deletions(-) (limited to 'InCallUI') diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index e17b9dff6..6127a1d99 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -32,6 +32,7 @@ import android.telephony.PhoneNumberUtils; import android.text.TextUtils; import android.view.Display; import android.view.LayoutInflater; +import android.view.MotionEvent; import android.view.View; import android.view.ViewAnimationUtils; import android.view.ViewGroup; @@ -55,7 +56,6 @@ import java.util.List; */ public class CallCardFragment extends BaseFragment implements CallCardPresenter.CallCardUi { - private int mRevealAnimationDuration; private int mShrinkAnimationDuration; private boolean mIsLandscape; @@ -814,8 +814,9 @@ public class CallCardFragment extends BaseFragment