/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
ContactDisplayUtilTests.java | 32 * Unit tests for (@link ContactDisplayUtils} 49 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM)); 50 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT)); 54 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME)); 55 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK)); 56 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE)); 57 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER)); 61 final CharSequence smsResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM, 62 "expected sms label", ContactDisplayUtils.INTERACTION_SMS, getContext()); 65 final CharSequence callResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
AlphaTouchInterceptorOverlay.java | 23 import com.android.contacts.detail.ContactDisplayUtils; 69 if (mAlphaLayer == this) ContactDisplayUtils.setAlphaOnViewBackground(this, 0.0f); 79 ContactDisplayUtils.setAlphaOnViewBackground(mAlphaLayer, mAlpha);
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
PhoneCallDetailsTest.java | 12 import com.android.contacts.common.util.ContactDisplayUtils; 39 CharSequence accountNumberLabel = ContactDisplayUtils.getTelephoneTtsSpannable(msg, 48 CharSequence viaNumberLabel = ContactDisplayUtils.getTtsSpannedPhoneNumber(mResources,
|
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetails.java | 21 import com.android.contacts.common.util.ContactDisplayUtils; 171 CharSequence accountNumberLabel = ContactDisplayUtils.getTelephoneTtsSpannable(msg, 175 CharSequence viaNumberLabel = ContactDisplayUtils.getTtsSpannedPhoneNumber(resources,
|
SpecialCharSequenceMgr.java | 47 import com.android.contacts.common.util.ContactDisplayUtils; 483 CharSequence msg = ContactDisplayUtils.getTtsSpannedPhoneNumber(
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 36 import com.android.contacts.common.util.ContactDisplayUtils; 99 mContext, ContactDisplayUtils.INTERACTION_SMS, null); 118 mContext, ContactDisplayUtils.INTERACTION_SMS, null); 139 mContext, ContactDisplayUtils.INTERACTION_SMS, null); 180 mContext, ContactDisplayUtils.INTERACTION_CALL, null); 198 mContext, ContactDisplayUtils.INTERACTION_CALL, null); 219 mContext, ContactDisplayUtils.INTERACTION_CALL, null);
|
/packages/apps/Dialer/src/com/android/dialer/filterednumber/ |
BlockNumberDialogFragment.java | 33 import com.android.contacts.common.util.ContactDisplayUtils; 158 message = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), 162 title = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), 198 ContactDisplayUtils.getTtsSpannedPhoneNumber( 218 return ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), 223 return ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(),
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
BlockedListSearchFragment.java | 35 import com.android.contacts.common.util.ContactDisplayUtils; 186 ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), 196 ContactDisplayUtils.getTtsSpannedPhoneNumber( 229 Toast.makeText(getContext(), ContactDisplayUtils.getTtsSpannedPhoneNumber(
|
DialerPhoneNumberListAdapter.java | 17 import com.android.contacts.common.util.ContactDisplayUtils; 167 text = ContactDisplayUtils.getTtsSpannedPhoneNumber(resources,
|
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 51 import com.android.contacts.common.util.ContactDisplayUtils; 169 CharSequence value = ContactDisplayUtils.getLabelForCallOrSms((int) item.type, 231 .setTitle(mInteractionType == ContactDisplayUtils.INTERACTION_SMS 334 case ContactDisplayUtils.INTERACTION_SMS: 475 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_CALL, null, 492 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_SMS, null))
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
SmsInteraction.java | 19 import com.android.contacts.common.util.ContactDisplayUtils; 169 return ContactDisplayUtils.getTelephoneTtsSpannable(contentDescription, phoneNumber);
|
CallLogInteraction.java | 20 import com.android.contacts.common.util.ContactDisplayUtils; 189 return ContactDisplayUtils.getTelephoneTtsSpannable(contentDescription, phoneNumber);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ContactDisplayUtils.java | 40 public class ContactDisplayUtils { 42 private static final String TAG = ContactDisplayUtils.class.getSimpleName(); 82 ". Defaulting to ContactDisplayUtils.INTERACTION_CALL."); 240 return ContactDisplayUtils.getTelephoneTtsSpannable(msg, number);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
ConferenceParticipantListAdapter.java | 39 import com.android.contacts.common.util.ContactDisplayUtils; 365 ContactDisplayUtils.getPreferredDisplayName(contactCache.namePrimary, 515 ContactDisplayUtils.getPreferredSortName( 523 ContactDisplayUtils.getPreferredSortName(
|
ExternalCallNotifier.java | 25 import com.android.contacts.common.util.ContactDisplayUtils; 375 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo.namePrimary,
|
CallCardPresenter.java | 47 import com.android.contacts.common.util.ContactDisplayUtils; [all...] |
StatusBarNotifier.java | 53 import com.android.contacts.common.util.ContactDisplayUtils; 433 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo.namePrimary, [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
DefaultVoicemailNotifier.java | 41 import com.android.contacts.common.util.ContactDisplayUtils; 199 CharSequence msg = ContactDisplayUtils.getTtsSpannedPhoneNumber(
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDisplayUtils.java | 55 public class ContactDisplayUtils { 56 private static final String TAG = "ContactDisplayUtils";
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
BaseAccountType.java | 45 import com.android.contacts.common.util.ContactDisplayUtils; 543 return ContactDisplayUtils.isCustomPhoneType(type); 548 return ContactDisplayUtils.getPhoneLabelResourceId(type); 555 return ContactDisplayUtils.isCustomPhoneType(type); 560 return ContactDisplayUtils.getSmsLabelResourceId(type); [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 153 import com.android.contacts.detail.ContactDisplayUtils; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListItemView.java | 58 import com.android.contacts.common.util.ContactDisplayUtils; [all...] |