/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
H A D | RecipientAlternatesAdapterTest.java | 72 long contactId, 78 contactId, dataId, photoUri, displayNameSource}); 87 long contactId, 97 assertEquals(contactId, c.getLong(4)); 67 addRow(MatrixCursor c, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument 82 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 D | RecipientAlternatesAdapter.java | 134 public RecipientAlternatesAdapter(Context context, long contactId, long currentId, int viewId, argument 136 this(context, contactId, currentId, viewId, QUERY_TYPE_EMAIL, listener); 139 public RecipientAlternatesAdapter(Context context, long contactId, long currentId, int viewId, argument 141 super(context, getCursorForConstruction(context, contactId, queryMode), 0); 156 private static Cursor getCursorForConstruction(Context context, long contactId, int queryType) { argument 163 String.valueOf(contactId) 170 String.valueOf(contactId)
|
H A D | RecipientEntry.java | 90 long contactId, long dataId, Uri photoThumbnailUri, boolean isFirstLevel) { 97 mContactId = contactId; 147 String destinationLabel, long contactId, long dataId, Uri photoThumbnailUri) { 151 contactId, dataId, 157 String destinationLabel, long contactId, long dataId, 162 contactId, dataId, 168 String destinationLabel, long contactId, long dataId, String thumbnailUriAsString) { 172 contactId, dataId, 87 RecipientEntry( int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, Uri photoThumbnailUri, boolean isFirstLevel) argument 145 constructTopLevelEntry( String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, long dataId, Uri photoThumbnailUri) argument 155 constructTopLevelEntry( String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String thumbnailUriAsString) argument 166 constructSecondLevelEntry( String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String thumbnailUriAsString) argument
|
H A D | BaseRecipientAdapter.java | 148 public final long contactId; field in class:BaseRecipientAdapter.TemporaryEntry 158 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); 444 * First, each destination (an email address or a phone number) with a valid contactId is 445 * inserted into {@link #mEntryMap} and grouped by the contactId. Destinations without valid 446 * contactId (possible if they aren't in local storage) are stored in 651 entry.contactId, entry.dataId, entry.thumbnailUriString)); 652 } else if (entryMap.containsKey(entry.contactId)) { 654 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); 659 entry.contactId, entry.dataId, entry.thumbnailUriString)); 666 entry.contactId, entr [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 292 * 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 D | ContactsContract.java | 1489 final long contactId = c.getLong(1); 1490 return getLookupUri(contactId, lookupKey); 1502 public static Uri getLookupUri(long contactId, String lookupKey) { argument 1504 lookupKey), contactId); 1524 long contactId = c.getLong(0); 1525 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 1540 * @param contactId the person who was contacted 1546 public static void markAsContacted(ContentResolver resolver, long contactId) { argument 1547 Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId); 1721 * .appendEncodedPath(String.valueOf(contactId)) 1798 setContactId(long contactId) argument [all...] |