Home
last modified time | relevance | path

Searched refs:contactId (Results 1 – 12 of 12) 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()
740 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
742 } else if (entryMap.containsKey(entry.contactId)) { in putOneEntry()
744 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); in putOneEntry()
749 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
757 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
759 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.java587 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink() local
588 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT in shrink()
589 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { in shrink()
780 long contactId = contact.getContactId(); in loadAvatarIcon() local
782 contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
783 : (contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
784 && contactId != RecipientEntry.GENERATED_CONTACT); in loadAvatarIcon()
2235 long contactId = currentChip.getContactId(); in shouldShowEditableText() local
2236 return contactId == RecipientEntry.INVALID_CONTACT in shouldShowEditableText()
2237 || (!isPhoneQuery() && contactId == RecipientEntry.GENERATED_CONTACT); in shouldShowEditableText()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java481 public final long contactId; field in VCardComposer.RawContactEntitlesInfo
482 public RawContactEntitlesInfo(Uri rawContactEntitlesUri, long contactId) { in RawContactEntitlesInfo() argument
484 this.contactId = contactId; in RawContactEntitlesInfo()
498 RawContactEntitlesInfo getRawContactEntitlesInfo(long contactId); in getRawContactEntitlesInfo() argument
501 private String createOneEntryInternal(long contactId, in createOneEntryInternal() argument
513 mRawContactEntitlesInfoCallback.getRawContactEntitlesInfo(contactId); in createOneEntryInternal()
515 contactId = rawContactEntitlesInfo.contactId; in createOneEntryInternal()
518 final String[] selectionArgs = new String[] {String.valueOf(contactId)}; in createOneEntryInternal()
545 Log.w(LOG_TAG, "Data does not exist. contactId: " + contactId); in createOneEntryInternal()
/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.java1510 final long contactId = c.getLong(1); in getLookupUri() local
1511 return getLookupUri(contactId, lookupKey); in getLookupUri()
1526 public static Uri getLookupUri(long contactId, String lookupKey) { in getLookupUri() argument
1531 lookupKey), contactId); in getLookupUri()
1551 long contactId = c.getLong(0); in lookupContact() local
1552 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1573 public static void markAsContacted(ContentResolver resolver, long contactId) { in markAsContacted() argument
1574 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId); in markAsContacted()
1655 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() argument
1656 return (contactId >= ENTERPRISE_CONTACT_ID_BASE) && (contactId < Profile.MIN_ID); in isEnterpriseContactId()
[all …]
DContactsInternal.java92 final long contactId = ContentUris.parseId(uri); in maybeStartManagedQuickContact() local
107 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java350 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); in onQueryComplete() local
352 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
365 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); in onQueryComplete() local
367 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java221 final long contactId = cursor.getLong(columnIndex); in getCallerInfo() local
222 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
223 info.contactIdOrZero = contactId; in getCallerInfo()
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java233 for (long contactId : contactIds) { in update()
234 whereArgs.add(String.valueOf(contactId)); in update()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl194 void startManagedQuickContact(String lookupKey, long contactId, in Intent originalIntent); in startManagedQuickContact() argument