HomeSort by relevance Sort by last modified time
    Searched refs:ContactDisplayUtils (Results 1 - 6 of 6) sorted by null

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
ContactDisplayUtilTests.java 27 * Unit tests for (@link ContactDisplayUtils}
33 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM));
34 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT));
38 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME));
39 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK));
40 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE));
41 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER));
45 final CharSequence smsResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM,
46 "expected sms label", ContactDisplayUtils.INTERACTION_SMS, getContext());
49 final CharSequence callResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/interactions/
PhoneNumberInteractionTest.java 36 import com.android.contacts.common.util.ContactDisplayUtils;
97 mContext, ContactDisplayUtils.INTERACTION_SMS, null);
116 mContext, ContactDisplayUtils.INTERACTION_SMS, null);
137 mContext, ContactDisplayUtils.INTERACTION_SMS, null);
178 mContext, ContactDisplayUtils.INTERACTION_CALL, null);
196 mContext, ContactDisplayUtils.INTERACTION_CALL, null);
217 mContext, ContactDisplayUtils.INTERACTION_CALL, null);
  /packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java 55 import com.android.contacts.common.util.ContactDisplayUtils;
167 CharSequence value = ContactDisplayUtils.getLabelForCallOrSms((int) item.type,
222 .setTitle(mInteractionType == ContactDisplayUtils.INTERACTION_SMS
320 case ContactDisplayUtils.INTERACTION_SMS:
458 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_CALL, null))
479 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_CALL, null))
493 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_CALL, null, callOrigin))
510 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_SMS, null))
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactDisplayUtils.java 30 public class ContactDisplayUtils {
32 private static final String TAG = ContactDisplayUtils.class.getSimpleName();
72 ". Defaulting to ContactDisplayUtils.INTERACTION_CALL.");
  /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/detail/
ContactDetailFragment.java 93 import com.android.contacts.common.util.ContactDisplayUtils;
585 ContactDisplayUtils.getSmsLabelResourceId(entry.type);
    [all...]

Completed in 70 milliseconds