Loading src/com/android/contacts/list/ContactListItemView.java +2 −1 Original line number Diff line number Diff line Loading @@ -588,7 +588,8 @@ public class ContactListItemView extends ViewGroup // Calculate height including padding. int height = (mNameTextViewHeight + mPhoneticNameTextViewHeight + mLabelAndDataViewMaxHeight + mSnippetTextViewHeight + mStatusTextViewHeight); mSnippetTextViewHeight + mStatusTextViewHeight + getPaddingBottom() + getPaddingTop()); // Make sure the height is at least as high as the photo height = Math.max(height, mPhotoViewHeight + getPaddingBottom() + getPaddingTop()); Loading src/com/android/contacts/quickcontact/QuickContactActivity.java +4 −0 Original line number Diff line number Diff line Loading @@ -1170,6 +1170,8 @@ public class QuickContactActivity extends ContactsActivity { final List<DataItem> sipCallDataItems = dataItemsMap.get(SipAddress.CONTENT_ITEM_TYPE); if (phoneDataItems != null && phoneDataItems.size() == 1) { mOnlyOnePhoneNumber = true; } else { mOnlyOnePhoneNumber = false; } String[] phoneNumbers = null; if (phoneDataItems != null) { Loading Loading @@ -1208,6 +1210,8 @@ public class QuickContactActivity extends ContactsActivity { final List<DataItem> emailDataItems = dataItemsMap.get(Email.CONTENT_ITEM_TYPE); if (emailDataItems != null && emailDataItems.size() == 1) { mOnlyOneEmail = true; } else { mOnlyOneEmail = false; } String[] emailAddresses = null; if (emailDataItems != null) { Loading Loading
src/com/android/contacts/list/ContactListItemView.java +2 −1 Original line number Diff line number Diff line Loading @@ -588,7 +588,8 @@ public class ContactListItemView extends ViewGroup // Calculate height including padding. int height = (mNameTextViewHeight + mPhoneticNameTextViewHeight + mLabelAndDataViewMaxHeight + mSnippetTextViewHeight + mStatusTextViewHeight); mSnippetTextViewHeight + mStatusTextViewHeight + getPaddingBottom() + getPaddingTop()); // Make sure the height is at least as high as the photo height = Math.max(height, mPhotoViewHeight + getPaddingBottom() + getPaddingTop()); Loading
src/com/android/contacts/quickcontact/QuickContactActivity.java +4 −0 Original line number Diff line number Diff line Loading @@ -1170,6 +1170,8 @@ public class QuickContactActivity extends ContactsActivity { final List<DataItem> sipCallDataItems = dataItemsMap.get(SipAddress.CONTENT_ITEM_TYPE); if (phoneDataItems != null && phoneDataItems.size() == 1) { mOnlyOnePhoneNumber = true; } else { mOnlyOnePhoneNumber = false; } String[] phoneNumbers = null; if (phoneDataItems != null) { Loading Loading @@ -1208,6 +1210,8 @@ public class QuickContactActivity extends ContactsActivity { final List<DataItem> emailDataItems = dataItemsMap.get(Email.CONTENT_ITEM_TYPE); if (emailDataItems != null && emailDataItems.size() == 1) { mOnlyOneEmail = true; } else { mOnlyOneEmail = false; } String[] emailAddresses = null; if (emailDataItems != null) { Loading