/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 42 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/ |
D | DirectoryCompat.java | 22 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()
|
D | CallableCompat.java | 22 import com.android.contacts.ContactsUtils; 31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
|
D | PhoneCompat.java | 22 import com.android.contacts.ContactsUtils; 31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
|
D | ContactsCompat.java | 23 import com.android.contacts.ContactsUtils; 43 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 32 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/ |
D | CallerInfo.java | 32 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()
|
D | StatusBarNotifier.java | 65 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()
|
D | ExternalCallNotifier.java | 39 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/ |
D | GroupUtil.java | 31 import com.android.contacts.ContactsUtils; 108 final String select = (ContactsUtils.SCHEME_MAILTO.equals(scheme) in getSendToDataForIds() 115 ContactsUtils.SCHEME_MAILTO.equals(scheme) in getSendToDataForIds() 154 intent.setType(ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in createSendToSelectionPickerIntent()
|
D | GroupMembersFragment.java | 51 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/ |
D | PhoneCapabilityTester.java | 30 import com.android.contacts.ContactsUtils; 87 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, "", null)); in getSmsComponent()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
D | ContactInfoHelper.java | 33 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()
|
D | ContactInfo.java | 22 import com.android.contacts.common.ContactsUtils.UserType;
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactsUtils.java | 37 public class ContactsUtils { class 170 host = ContactsUtils.lookupProviderNameFromId(protocol); in getCustomImIntent()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 49 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/activities/ |
D | ShowOrCreateActivity.java | 38 import com.android.contacts.ContactsUtils; 129 if (ContactsUtils.SCHEME_MAILTO.equals(scheme)) { in onCreate()
|
D | AttachPhotoActivity.java | 42 import com.android.contacts.ContactsUtils; 302 final int size = ContactsUtils.getThumbnailSize(this); in saveToContact()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | MissedCallNotifier.java | 44 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/ |
D | PhoneNumberListAdapter.java | 38 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()
|
D | ContactEntryListAdapter.java | 39 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()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorUiUtils.java | 50 import com.android.contacts.ContactsUtils; 281 final int size = ContactsUtils.getThumbnailSize(context); in getCompressedThumbnailBitmapBytes()
|
D | TextFieldsEditorView.java | 44 import com.android.contacts.ContactsUtils; 390 final boolean couldHide = (!ContactsUtils.isGraphic(value) && field.optional); in setValues()
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | ContactsUtils.java | 25 public class ContactsUtils { class
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | DisplayOptionsPreferenceFragment.java | 49 import com.android.contacts.ContactsUtils; 299 final boolean showBlockedNumbers = isPhone && ContactsUtils.FLAG_N_FEATURE in removeUnsupportedPreferences()
|