Home
last modified time | relevance | path

Searched refs:contactId (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java83 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
92 mContactId = contactId; in RecipientEntry()
162 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
167 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey); in constructTopLevelEntry()
171 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
176 contactId, directoryId, dataId, (thumbnailUriAsString != null in constructTopLevelEntry()
182 String destinationLabel, long contactId, Long directoryId, long dataId, in constructSecondLevelEntry() argument
186 contactId, directoryId, dataId, (thumbnailUriAsString != null in constructSecondLevelEntry()
DBaseRecipientAdapter.java132 public final long contactId; field in BaseRecipientAdapter.TemporaryEntry
144 long contactId, in TemporaryEntry() argument
154 this.contactId = contactId; in TemporaryEntry()
167 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); in TemporaryEntry()
736 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
738 } else if (entryMap.containsKey(entry.contactId)) { in putOneEntry()
740 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); in putOneEntry()
745 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
753 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
755 entryMap.put(entry.contactId, entryList); in putOneEntry()
DRecipientAlternatesAdapter.java361 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument
364 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener, in RecipientAlternatesAdapter()
368 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument
372 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode), 0); in RecipientAlternatesAdapter()
381 private static Cursor getCursorForConstruction(Context context, long contactId, in getCursorForConstruction() argument
395 final Uri.Builder builder = Contacts.getLookupUri(contactId, lookupKey).buildUpon(); in getCursorForConstruction()
406 String.valueOf(contactId) in getCursorForConstruction()
418 final Uri.Builder builder = Contacts.getLookupUri(contactId, lookupKey).buildUpon(); in getCursorForConstruction()
429 String.valueOf(contactId) in getCursorForConstruction()
DRecipientEditTextView.java526 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink() local
527 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT in shrink()
528 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { in shrink()
730 long contactId = contact.getContactId(); in loadAvatarIcon() local
732 contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
733 : (contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
734 && contactId != RecipientEntry.GENERATED_CONTACT); in loadAvatarIcon()
2206 long contactId = currentChip.getContactId(); in shouldShowEditableText() local
2207 return contactId == RecipientEntry.INVALID_CONTACT in shouldShowEditableText()
2208 || (!isPhoneQuery() && contactId == RecipientEntry.GENERATED_CONTACT); in shouldShowEditableText()
[all …]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java82 long contactId, in addRow() argument
88 contactId, dataId, photoUri, displayNameSource}); in addRow()
97 long contactId, in assertRow() argument
107 assertEquals(contactId, c.getLong(4)); in assertRow()
/frameworks/base/core/java/android/provider/
DContactsContract.java1502 final long contactId = c.getLong(1); in getLookupUri() local
1503 return getLookupUri(contactId, lookupKey); in getLookupUri()
1515 public static Uri getLookupUri(long contactId, String lookupKey) { in getLookupUri() argument
1517 lookupKey), contactId); in getLookupUri()
1537 long contactId = c.getLong(0); in lookupContact() local
1538 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1559 public static void markAsContacted(ContentResolver resolver, long contactId) { in markAsContacted() argument
1560 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId); in markAsContacted()
1634 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() argument
1635 return (contactId >= ENTERPRISE_CONTACT_ID_BASE) && (contactId < Profile.MIN_ID); in isEnterpriseContactId()
[all …]
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java349 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); in onQueryComplete() local
351 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
364 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); in onQueryComplete() local
366 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java220 final long contactId = cursor.getLong(columnIndex); in getCallerInfo() local
221 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
222 info.contactIdOrZero = contactId; in getCallerInfo()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java458 private String createOneEntryInternal(final String contactId, in createOneEntryInternal() argument
469 final String[] selectionArgs = new String[] {contactId}; in createOneEntryInternal()
496 Log.w(LOG_TAG, "Data does not exist. contactId: " + contactId); in createOneEntryInternal()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java233 for (long contactId : contactIds) { in update()
234 whereArgs.add(String.valueOf(contactId)); in update()