Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java102 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
106 destinationLabel, contactId, directoryId, dataId, photoThumbnailUri, in RecipientEntry()
111 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
120 mContactId = contactId; in RecipientEntry()
134 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument
138 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, in RecipientEntry()
191 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
196 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey, in constructTopLevelEntry()
201 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
206 contactId, directoryId, dataId, (thumbnailUriAsString != null in constructTopLevelEntry()
[all …]
DBaseRecipientAdapter.java144 public final long contactId; field in BaseRecipientAdapter.TemporaryEntry
156 long contactId, in TemporaryEntry() argument
166 this.contactId = contactId; in TemporaryEntry()
179 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); in TemporaryEntry()
818 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
820 } else if (entryMap.containsKey(entry.contactId)) { in putOneEntry()
822 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); in putOneEntry()
827 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
835 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry()
837 entryMap.put(entry.contactId, entryList); in putOneEntry()
DRecipientAlternatesAdapter.java369 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument
373 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener, in RecipientAlternatesAdapter()
377 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument
382 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode, in RecipientAlternatesAdapter()
393 private static Cursor getCursorForConstruction(Context context, long contactId, in getCursorForConstruction() argument
407 uri = Contacts.getLookupUri(contactId, lookupKey) in getCursorForConstruction()
422 uri = Contacts.getLookupUri(contactId, lookupKey) in getCursorForConstruction()
439 uri, projection, selection, new String[] {String.valueOf(contactId)}, null); in getCursorForConstruction()
DRecipientEditTextView.java732 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink() local
733 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT in shrink()
734 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { in shrink()
1006 long contactId = contact.getContactId(); in loadAvatarIcon() local
1008 contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
1009 : (contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon()
1010 && contactId != RecipientEntry.GENERATED_CONTACT); in loadAvatarIcon()
2601 long contactId = currentChip.getContactId(); in shouldShowEditableText() local
2602 return contactId == RecipientEntry.INVALID_CONTACT in shouldShowEditableText()
2603 || (!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/base/core/java/android/provider/
DContactsInternal.java97 final long contactId = isContactIdIgnored in maybeStartManagedQuickContact()
113 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { in maybeStartManagedQuickContact()
114 throw new IllegalArgumentException("Invalid enterprise contact id: " + contactId); in maybeStartManagedQuickContact()
125 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact()
DContactsContract.java1639 final long contactId = c.getLong(1); in getLookupUri() local
1640 return getLookupUri(contactId, lookupKey); in getLookupUri()
1655 public static Uri getLookupUri(long contactId, String lookupKey) { in getLookupUri() argument
1660 lookupKey), contactId); in getLookupUri()
1680 long contactId = c.getLong(0); in lookupContact() local
1681 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact()
1708 public static void markAsContacted(ContentResolver resolver, long contactId) { in markAsContacted() argument
1814 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() argument
1815 return (contactId >= ENTERPRISE_CONTACT_ID_BASE) && (contactId < Profile.MIN_ID); in isEnterpriseContactId()
1996 public Builder setContactId(long contactId) { in setContactId() argument
[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/widget/
DQuickContactBadge.java360 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); in onQueryComplete() local
362 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
375 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); in onQueryComplete() local
377 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java262 final long contactId = cursor.getLong(columnIndex); in getCallerInfo() local
263 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
264 info.contactIdOrZero = contactId; in getCallerInfo()
269 if (Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl277 …void startManagedQuickContact(String lookupKey, long contactId, boolean isContactIdIgnored, long d… in startManagedQuickContact() argument