Searched defs:contactId (Results 1 - 6 of 6) sorted by relevance

/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java77 long contactId,
83 contactId, dataId, photoUri, displayNameSource});
92 long contactId,
102 assertEquals(contactId, c.getLong(4));
72 addRow(MatrixCursor c, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument
87 assertRow(Cursor c, int position, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java330 public RecipientAlternatesAdapter(Context context, long contactId, long currentId, argument
332 this(context, contactId, currentId, QUERY_TYPE_EMAIL, listener);
335 public RecipientAlternatesAdapter(Context context, long contactId, long currentId, argument
337 super(context, getCursorForConstruction(context, contactId, queryMode), 0);
352 private static Cursor getCursorForConstruction(Context context, long contactId, int queryType) { argument
359 String.valueOf(contactId)
366 String.valueOf(contactId)
H A DRecipientEntry.java80 int destinationType, String destinationLabel, long contactId, long dataId,
88 mContactId = contactId;
157 String destination, int destinationType, String destinationLabel, long contactId,
161 contactId, dataId, photoThumbnailUri, true, isValid, isGalContact);
165 String destination, int destinationType, String destinationLabel, long contactId,
169 contactId, dataId, (thumbnailUriAsString != null ? Uri.parse(thumbnailUriAsString)
175 String destinationLabel, long contactId, long dataId, String thumbnailUriAsString,
179 contactId, dataId, (thumbnailUriAsString != null ? Uri.parse(thumbnailUriAsString)
79 RecipientEntry(int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, boolean isGalContact) argument
156 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, long dataId, Uri photoThumbnailUri, boolean isValid, boolean isGalContact) argument
164 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String thumbnailUriAsString, boolean isValid, boolean isGalContact) argument
173 constructSecondLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String thumbnailUriAsString, boolean isValid, boolean isGalContact) argument
H A DBaseRecipientAdapter.java151 public final long contactId; field in class:BaseRecipientAdapter.TemporaryEntry
162 long contactId,
171 this.contactId = contactId;
183 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID);
470 * First, each destination (an email address or a phone number) with a valid contactId is
471 * inserted into {@link #mEntryMap} and grouped by the contactId. Destinations without valid
472 * contactId (possible if they aren't in local storage) are stored in
691 entry.contactId, entry.dataId, entry.thumbnailUriString, true,
693 } else if (entryMap.containsKey(entry.contactId)) {
157 TemporaryEntry( String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String thumbnailUriString, int displayNameSource, boolean isGalContact) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java292 * String[] selectionArgs = new String[] {contactId};
327 * @param contentUri Uri for obtaining the list of contactId. Used with
336 * contactId.
349 * First we'll create {@link Cursor} for the list of contactId.
356 * After that, we'll obtain data for each contactId in the list.
361 * Data.CONTACT_ID + "=?", new String[] {contactId}, null)
367 * @param contentUri Uri for obtaining the list of contactId. Used with
378 * contactId.
479 // this doesn't work now, as resolver doesn't return any data with "-1" contactId.
493 private String createOneEntryInternal(final String contactId, argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContactsContract.java1506 final long contactId = c.getLong(1);
1507 return getLookupUri(contactId, lookupKey);
1519 public static Uri getLookupUri(long contactId, String lookupKey) { argument
1521 lookupKey), contactId);
1541 long contactId = c.getLong(0);
1542 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
1557 * @param contactId the person who was contacted
1563 public static void markAsContacted(ContentResolver resolver, long contactId) { argument
1564 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId);
1738 * .appendEncodedPath(String.valueOf(contactId))
1815 setContactId(long contactId) argument
[all...]

Completed in 155 milliseconds