Home
last modified time | relevance | path

Searched refs:ContactsUtils (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java42 assertFalse(ContactsUtils.isGraphic(null)); in testIsGraphicNull()
46 assertFalse(ContactsUtils.isGraphic("")); in testIsGraphicEmpty()
50 assertFalse(ContactsUtils.isGraphic(" ")); in testIsGraphicSpaces()
54 assertTrue(ContactsUtils.isGraphic(".")); in testIsGraphicPunctuation()
58 assertTrue("null:null", ContactsUtils.areObjectsEqual(null, null)); in testAreObjectsEqual()
59 assertTrue("1:1", ContactsUtils.areObjectsEqual(1, 1)); in testAreObjectsEqual()
61 assertFalse("null:1", ContactsUtils.areObjectsEqual(null, 1)); in testAreObjectsEqual()
62 assertFalse("1:null", ContactsUtils.areObjectsEqual(1, null)); in testAreObjectsEqual()
63 assertFalse("1:2", ContactsUtils.areObjectsEqual(1, 2)); in testAreObjectsEqual()
67 assertTrue("1", ContactsUtils.areIntentActionEqual(null, null)); in testAreIntentActionEqual()
[all …]
/packages/apps/Contacts/src/com/android/contacts/compat/
DDirectoryCompat.java22 import com.android.contacts.ContactsUtils;
27 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri()
34 if (ContactsUtils.FLAG_N_FEATURE) { in isInvisibleDirectory()
42 if (ContactsUtils.FLAG_N_FEATURE) { in isRemoteDirectoryId()
49 return ContactsUtils.FLAG_N_FEATURE in isEnterpriseDirectoryId()
DPhoneCompat.java22 import com.android.contacts.ContactsUtils;
31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
DCallableCompat.java22 import com.android.contacts.ContactsUtils;
31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
DContactsCompat.java23 import com.android.contacts.ContactsUtils;
43 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java32 import com.android.contacts.ContactsUtils;
123 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, number, null)); in DataAction()
159 final Uri mailUri = Uri.fromParts(ContactsUtils.SCHEME_MAILTO, address, null); in DataAction()
193 host = ContactsUtils.lookupProviderNameFromId(protocol); in DataAction()
198 final Uri imUri = new Uri.Builder().scheme(ContactsUtils.SCHEME_IMTO).authority( in DataAction()
331 || !ContactsUtils.areIntentActionEqual(mIntent, that.mIntent)) { in shouldCollapseWith()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java32 import com.android.contacts.common.ContactsUtils;
33 import com.android.contacts.common.ContactsUtils.UserType;
156 userType = ContactsUtils.USER_TYPE_CURRENT; in CallerInfo()
184 info.userType = ContactsUtils.USER_TYPE_CURRENT; in getCallerInfo()
304 info.userType = ContactsUtils.determineUserType(directoryId, contactId); in getCallerInfo()
DStatusBarNotifier.java65 import com.android.contacts.common.ContactsUtils;
66 import com.android.contacts.common.ContactsUtils.UserType;
341 .setContentTitle(getContentString(call, ContactsUtils.USER_TYPE_CURRENT)); in buildAndSendNotification()
582 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in addPersonReference()
726 if (userType == ContactsUtils.USER_TYPE_WORK || isWorkCall) { in getContentString()
DExternalCallNotifier.java39 import com.android.contacts.common.ContactsUtils;
382 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in getPersonReference()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java31 import com.android.contacts.ContactsUtils;
110 final String select = (ContactsUtils.SCHEME_MAILTO.equals(scheme) in getSendToDataForIds()
117 ContactsUtils.SCHEME_MAILTO.equals(scheme) in getSendToDataForIds()
156 intent.setType(ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in createSendToSelectionPickerIntent()
DGroupMembersFragment.java51 import com.android.contacts.ContactsUtils;
372 final String select = (ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in sendToGroup()
378 ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in sendToGroup()
429 Toast.makeText(getContext(), ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in sendToGroup()
465 sendToGroup(ids, ContactsUtils.SCHEME_MAILTO, in onOptionsItemSelected()
471 sendToGroup(ids, ContactsUtils.SCHEME_SMSTO, in onOptionsItemSelected()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneCapabilityTester.java30 import com.android.contacts.ContactsUtils;
87 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, "", null)); in getSmsComponent()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java33 import com.android.contacts.common.ContactsUtils;
34 import com.android.contacts.common.ContactsUtils.UserType;
103 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) { in lookUpDisplayNameAlternative()
370 ContactsUtils.determineUserType(null, phoneLookupCursor.getLong(PhoneQuery.PERSON_ID)); in createPhoneLookupContactInfo()
DContactInfo.java22 import com.android.contacts.common.ContactsUtils.UserType;
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java49 import com.android.contacts.ContactsUtils;
487 if (ContactsUtils.isGraphic(value)) { in isEmpty()
562 if (ContactsUtils.isGraphic(company)) { in parseExtras()
567 if (ContactsUtils.isGraphic(title)) { in parseExtras()
579 if (ContactsUtils.isGraphic(notes)) { in parseExtras()
598 if (ContactsUtils.isGraphic(name)) { in parseStructuredNameExtra()
643 if (ContactsUtils.isGraphic(phoneticName)) { in parseStructuredNameExtra()
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java37 public class ContactsUtils { class
170 host = ContactsUtils.lookupProviderNameFromId(protocol); in getCustomImIntent()
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java38 import com.android.contacts.ContactsUtils;
129 if (ContactsUtils.SCHEME_MAILTO.equals(scheme)) { in onCreate()
DAttachPhotoActivity.java42 import com.android.contacts.ContactsUtils;
302 final int size = ContactsUtils.getThumbnailSize(this); in saveToContact()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DMissedCallNotifier.java44 import com.android.contacts.common.ContactsUtils;
172 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in updateMissedCallNotification()
332 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in getNotificationForCall()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListAdapter.java39 import com.android.contacts.ContactsUtils;
624 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon()
625 view.setWorkProfileIconEnabled(userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
DPhoneNumberListAdapter.java38 import com.android.contacts.ContactsUtils;
525 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon()
530 !isExtendedDirectory(directoryId) && userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java50 import com.android.contacts.ContactsUtils;
281 final int size = ContactsUtils.getThumbnailSize(context); in getCompressedThumbnailBitmapBytes()
DTextFieldsEditorView.java44 import com.android.contacts.ContactsUtils;
390 final boolean couldHide = (!ContactsUtils.isGraphic(value) && field.optional); in setValues()
/packages/apps/Dialer/java/com/android/contacts/common/
DContactsUtils.java25 public class ContactsUtils { class
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java49 import com.android.contacts.ContactsUtils;
299 final boolean showBlockedNumbers = isPhone && ContactsUtils.FLAG_N_FEATURE in removeUnsupportedPreferences()

12