From fd723cae1dc2de0f83ec14639d4431674dd3b82e Mon Sep 17 00:00:00 2001 From: Sai Cheemalapati Date: Thu, 19 Jun 2014 12:30:07 -0700 Subject: Update Emergency Dialer to match Dialer (3/7). Emergency dialer style updated to match style in Dialer and InCallUI. Moved all dialpad resources to PhoneCommon. Change-Id: I86747a58b196209a4543448ab939236eace7c52a --- src/com/android/dialer/DialtactsActivity.java | 2 +- src/com/android/dialer/dialpad/DialpadFragment.java | 4 ++-- src/com/android/dialer/list/SearchFragment.java | 2 +- src/com/android/dialer/widget/ActionBarController.java | 6 +++--- src/com/android/dialer/widget/SearchEditTextLayout.java | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/com/android/dialer') diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 9fe636fad..8e873c876 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -65,7 +65,6 @@ import android.widget.Toast; import com.android.contacts.common.CallUtil; import com.android.contacts.common.SubscriptionManager; import com.android.contacts.common.activity.TransactionSafeActivity; -import com.android.contacts.common.animation.AnimationListenerAdapter; import com.android.contacts.common.dialog.ClearFrequentsDialog; import com.android.contacts.common.dialog.SelectSubscriptionDialogFragment; import com.android.contacts.common.interactions.ImportExportDialogFragment; @@ -91,6 +90,7 @@ import com.android.dialer.widget.ActionBarController; import com.android.dialer.widget.SearchEditTextLayout; import com.android.dialer.widget.SearchEditTextLayout.OnBackButtonClickedListener; import com.android.dialerbind.DatabaseHelperManager; +import com.android.phone.common.animation.AnimationListenerAdapter; import java.util.ArrayList; import java.util.List; diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 509bd528b..f54aa6c39 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -73,8 +73,6 @@ import com.android.contacts.common.CallUtil; import com.android.contacts.common.GeoUtil; import com.android.contacts.common.SubscriptionManager; import com.android.contacts.common.dialog.SelectSubscriptionDialogFragment; -import com.android.contacts.common.dialpad.DialpadKeyButton; -import com.android.contacts.common.dialpad.DialpadView; import com.android.contacts.common.util.PhoneNumberFormatter; import com.android.contacts.common.util.StopWatch; import com.android.dialer.NeededForReflection; @@ -84,6 +82,8 @@ import com.android.dialer.SpecialCharSequenceMgr; import com.android.dialer.util.DialerUtils; import com.android.phone.common.CallLogAsync; import com.android.phone.common.HapticFeedback; +import com.android.phone.common.dialpad.DialpadKeyButton; +import com.android.phone.common.dialpad.DialpadView; import com.google.common.annotations.VisibleForTesting; diff --git a/src/com/android/dialer/list/SearchFragment.java b/src/com/android/dialer/list/SearchFragment.java index 093d7c753..03d22429c 100644 --- a/src/com/android/dialer/list/SearchFragment.java +++ b/src/com/android/dialer/list/SearchFragment.java @@ -26,7 +26,6 @@ import android.widget.AbsListView; import android.widget.AbsListView.OnScrollListener; import android.widget.ListView; -import com.android.contacts.common.animation.AnimUtils; import com.android.contacts.common.list.ContactEntryListAdapter; import com.android.contacts.common.list.ContactListItemView; import com.android.contacts.common.list.OnPhoneNumberPickerActionListener; @@ -35,6 +34,7 @@ import com.android.contacts.common.util.ViewUtil; import com.android.dialer.DialtactsActivity; import com.android.dialer.R; import com.android.dialer.util.DialerUtils; +import com.android.phone.common.animation.AnimUtils; public class SearchFragment extends PhoneNumberPickerFragment { diff --git a/src/com/android/dialer/widget/ActionBarController.java b/src/com/android/dialer/widget/ActionBarController.java index 0e94df498..4f1e2e600 100644 --- a/src/com/android/dialer/widget/ActionBarController.java +++ b/src/com/android/dialer/widget/ActionBarController.java @@ -7,9 +7,9 @@ import android.animation.ValueAnimator.AnimatorUpdateListener; import android.os.Bundle; import android.util.Log; -import com.android.contacts.common.animation.AnimUtils; -import com.android.contacts.common.animation.AnimUtils.AnimationCallback; import com.android.dialer.DialtactsActivity; +import com.android.phone.common.animation.AnimUtils; +import com.android.phone.common.animation.AnimUtils.AnimationCallback; /** * Controls the various animated properties of the actionBar: showing/hiding, fading/revealing, @@ -234,4 +234,4 @@ public class ActionBarController { public boolean getIsActionBarSlidUp() { return mIsActionBarSlidUp; } -} \ No newline at end of file +} diff --git a/src/com/android/dialer/widget/SearchEditTextLayout.java b/src/com/android/dialer/widget/SearchEditTextLayout.java index 3dcbc4bb1..36e578953 100644 --- a/src/com/android/dialer/widget/SearchEditTextLayout.java +++ b/src/com/android/dialer/widget/SearchEditTextLayout.java @@ -27,8 +27,8 @@ import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import android.widget.FrameLayout; -import com.android.contacts.common.animation.AnimUtils; import com.android.dialer.R; +import com.android.phone.common.animation.AnimUtils; public class SearchEditTextLayout extends FrameLayout { private static final float EXPAND_MARGIN_FRACTION_START = 0.8f; -- cgit v1.2.3