/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
D | ContactDisplayUtilTests.java | 49 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM)); in testIsCustomPhoneTypeReturnsTrue() 50 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT)); in testIsCustomPhoneTypeReturnsTrue() 54 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME)); in testIsCustomPhoneTypeReturnsFalse() 55 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK)); in testIsCustomPhoneTypeReturnsFalse() 56 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE)); in testIsCustomPhoneTypeReturnsFalse() 57 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER)); in testIsCustomPhoneTypeReturnsFalse() 61 final CharSequence smsResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM, in testGetLabelForCallOrSmsReturnsCustomLabel() 62 "expected sms label", ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsCustomLabel() 65 final CharSequence callResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM, in testGetLabelForCallOrSmsReturnsCustomLabel() 66 "expected call label", ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCustomLabel() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
D | PhoneNumberInteractionTest.java | 36 import com.android.contacts.common.util.ContactDisplayUtils; 99 mContext, ContactDisplayUtils.INTERACTION_SMS, null); in testSendSmsWhenOnlyOneNumberAvailable() 118 mContext, ContactDisplayUtils.INTERACTION_SMS, null); in testSendSmsWhenDataIdIsProvided() 139 mContext, ContactDisplayUtils.INTERACTION_SMS, null); in testSendSmsWhenThereIsPrimaryNumber() 180 mContext, ContactDisplayUtils.INTERACTION_CALL, null); in testCallNumberWhenThereAreDuplicates() 198 mContext, ContactDisplayUtils.INTERACTION_CALL, null); in testCallWithSip() 219 mContext, ContactDisplayUtils.INTERACTION_CALL, null); in testShowDisambigDialogForCalling()
|
/packages/apps/Dialer/src/com/android/dialer/filterednumber/ |
D | BlockNumberDialogFragment.java | 33 import com.android.contacts.common.util.ContactDisplayUtils; 158 message = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), in onCreateDialog() 162 title = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), in onCreateDialog() 198 ContactDisplayUtils.getTtsSpannedPhoneNumber( in onActivityCreated() 218 return ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), in getBlockedMessage() 223 return ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), in getUnblockedMessage()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | AlphaTouchInterceptorOverlay.java | 23 import com.android.contacts.detail.ContactDisplayUtils; 69 if (mAlphaLayer == this) ContactDisplayUtils.setAlphaOnViewBackground(this, 0.0f); in setAlphaLayer() 79 ContactDisplayUtils.setAlphaOnViewBackground(mAlphaLayer, mAlpha); in setAlphaLayerValue()
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsTest.java | 12 import com.android.contacts.common.util.ContactDisplayUtils; 39 CharSequence accountNumberLabel = ContactDisplayUtils.getTelephoneTtsSpannable(msg, in testCreateAccountLabelDescription_ViaNumberAccountLabel() 48 CharSequence viaNumberLabel = ContactDisplayUtils.getTtsSpannedPhoneNumber(mResources, in testCreateAccountLabelDescription_ViaNumber()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | PhoneCallDetails.java | 21 import com.android.contacts.common.util.ContactDisplayUtils; 171 CharSequence accountNumberLabel = ContactDisplayUtils.getTelephoneTtsSpannable(msg, in createAccountLabelDescription() 175 CharSequence viaNumberLabel = ContactDisplayUtils.getTtsSpannedPhoneNumber(resources, in createAccountLabelDescription()
|
D | SpecialCharSequenceMgr.java | 47 import com.android.contacts.common.util.ContactDisplayUtils; 483 CharSequence msg = ContactDisplayUtils.getTtsSpannedPhoneNumber( in onNotNullableQueryComplete()
|
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
D | PhoneNumberInteraction.java | 51 import com.android.contacts.common.util.ContactDisplayUtils; 169 CharSequence value = ContactDisplayUtils.getLabelForCallOrSms((int) item.type, in getView() 231 .setTitle(mInteractionType == ContactDisplayUtils.INTERACTION_SMS in onCreateDialog() 334 case ContactDisplayUtils.INTERACTION_SMS: in performAction() 475 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_CALL, null, in startInteractionForPhoneCall() 492 (new PhoneNumberInteraction(activity, ContactDisplayUtils.INTERACTION_SMS, null)) in startInteractionForTextMessage()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | BlockedListSearchFragment.java | 35 import com.android.contacts.common.util.ContactDisplayUtils; 186 ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), in blockNumber() 196 ContactDisplayUtils.getTtsSpannedPhoneNumber( in blockNumber() 229 Toast.makeText(getContext(), ContactDisplayUtils.getTtsSpannedPhoneNumber( in blockContactNumber()
|
D | DialerPhoneNumberListAdapter.java | 17 import com.android.contacts.common.util.ContactDisplayUtils; 167 text = ContactDisplayUtils.getTtsSpannedPhoneNumber(resources, in assignShortcutToView()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 40 public class ContactDisplayUtils { class 42 private static final String TAG = ContactDisplayUtils.class.getSimpleName(); 240 return ContactDisplayUtils.getTelephoneTtsSpannable(msg, number); in getTtsSpannedPhoneNumber()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | ConferenceParticipantListAdapter.java | 39 import com.android.contacts.common.util.ContactDisplayUtils; 365 ContactDisplayUtils.getPreferredDisplayName(contactCache.namePrimary, in getView() 515 ContactDisplayUtils.getPreferredSortName( in sortParticipantList() 523 ContactDisplayUtils.getPreferredSortName( in sortParticipantList()
|
D | CallCardPresenter.java | 47 import com.android.contacts.common.util.ContactDisplayUtils; 967 String preferredName = ContactDisplayUtils.getPreferredDisplayName( in getNameForCall() 984 String preferredName = ContactDisplayUtils.getPreferredDisplayName( in getNumberForCall()
|
D | StatusBarNotifier.java | 53 import com.android.contacts.common.util.ContactDisplayUtils; 432 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo.namePrimary, in getContentTitle()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | SmsInteraction.java | 19 import com.android.contacts.common.util.ContactDisplayUtils; 169 return ContactDisplayUtils.getTelephoneTtsSpannable(contentDescription, phoneNumber); in getContentDescription()
|
D | CallLogInteraction.java | 20 import com.android.contacts.common.util.ContactDisplayUtils; 189 return ContactDisplayUtils.getTelephoneTtsSpannable(contentDescription, phoneNumber); in getContentDescription()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | DefaultVoicemailNotifier.java | 41 import com.android.contacts.common.util.ContactDisplayUtils; 199 CharSequence msg = ContactDisplayUtils.getTtsSpannedPhoneNumber( in updateNotification()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | BaseAccountType.java | 45 import com.android.contacts.common.util.ContactDisplayUtils; 543 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom() 548 return ContactDisplayUtils.getPhoneLabelResourceId(type); in getTypeLabelResource() 555 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom() 560 return ContactDisplayUtils.getSmsLabelResourceId(type); in getTypeLabelResource()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 151 import com.android.contacts.detail.ContactDisplayUtils; 1240 final String displayName = ContactDisplayUtils.getDisplayName(this, data).toString(); in bindContactData() 1243 final String phoneticName = ContactDisplayUtils.getPhoneticName(this, data); in bindContactData() 1861 phoneContentDescription = com.android.contacts.common.util.ContactDisplayUtils in dataItemToEntry() 1873 smsContentDescription = com.android.contacts.common.util.ContactDisplayUtils in dataItemToEntry() 2669 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in toggleStar() 2758 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in onPrepareOptionsMenu()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListItemView.java | 58 import com.android.contacts.common.util.ContactDisplayUtils; 1277 if (ContactDisplayUtils.isPossiblePhoneNumber(text)) { in setSnippet() 1414 if (ContactDisplayUtils.isPossiblePhoneNumber(name)) { in setDisplayName()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 55 public class ContactDisplayUtils { class
|