Fixed ellipse not showing in search mode.

Fixed dimmensions for list items so ellipse shows
when in search mode.

Test: Manual test, verified that list items now
all show ellipse and that the fix does not change
the behavior of other list views.

Bug: 31070853
Change-Id: I46c418407b62987820858b21f756877f51815487
diff --git a/src/com/android/contacts/common/list/ContactListItemView.java b/src/com/android/contacts/common/list/ContactListItemView.java
index 67f6d35..f74c671 100644
--- a/src/com/android/contacts/common/list/ContactListItemView.java
+++ b/src/com/android/contacts/common/list/ContactListItemView.java
@@ -450,13 +450,13 @@
         // All the other Views will honor the photo, so available width for them may be shrunk.
         if (mPhotoViewWidth > 0 || mKeepHorizontalPaddingForPhotoView) {
             effectiveWidth = specWidth - getPaddingLeft() - getPaddingRight()
-                    - (mPhotoViewWidth + mGapBetweenImageAndText);
+                    - (mPhotoViewWidth + mGapBetweenImageAndText + mGapBetweenIndexerAndImage);
         } else {
             effectiveWidth = specWidth - getPaddingLeft() - getPaddingRight();
         }
 
         if (mIsSectionHeaderEnabled) {
-            effectiveWidth -= mHeaderWidth + mGapBetweenIndexerAndImage;
+            effectiveWidth -= mHeaderWidth;
         }
 
         if (mSupportVideoCallIcon) {