/frameworks/opt/chips/src/com/android/ex/chips/ |
BaseRecipientAdapter.java | 132 public final long contactId; 144 long contactId, 154 this.contactId = contactId; 167 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); 456 * First, each destination (an email address or a phone number) with a valid contactId is 457 * inserted into {@link #mEntryMap} and grouped by the contactId. Destinations without valid 458 * contactId (possible if they aren't in local storage) are stored in 736 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, 738 } else if (entryMap.containsKey(entry.contactId)) { [all...] |
RecipientAlternatesAdapter.java | 361 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, 364 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener, 368 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, 372 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode), 0); 381 private static Cursor getCursorForConstruction(Context context, long contactId, 395 final Uri.Builder builder = Contacts.getLookupUri(contactId, lookupKey).buildUpon(); 406 String.valueOf(contactId) 418 final Uri.Builder builder = Contacts.getLookupUri(contactId, lookupKey).buildUpon(); 429 String.valueOf(contactId)
|
RecipientEditTextView.java | 526 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; 527 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT 528 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { 730 long contactId = contact.getContactId(); 732 contactId != RecipientEntry.INVALID_CONTACT 733 : (contactId != RecipientEntry.INVALID_CONTACT 734 && contactId != RecipientEntry.GENERATED_CONTACT); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 524 public long createName(long contactId, String name) { 527 values.put(Data.RAW_CONTACT_ID, contactId); 533 contactId), RawContacts.Data.CONTENT_DIRECTORY); 538 public long createPhone(long contactId, String phoneNumber) { 541 values.put(Data.RAW_CONTACT_ID, contactId); 549 contactId), RawContacts.Data.CONTENT_DIRECTORY); 554 public long createEmail(long contactId, String address) { 557 values.put(Data.RAW_CONTACT_ID, contactId); 564 contactId), RawContacts.Data.CONTENT_DIRECTORY); 596 public int getDataCountForContact(long contactId) { [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 227 long contactId = 0; 240 contactId = cursor.getLong(COLUMN_INDEX_CONTACT_ID); 263 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/development/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 199 long contactId) { 200 if (contactId != -1) { 202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 212 Log.e(TAG, "Cannot decode profile picture for contact " + contactId);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 220 final long contactId = cursor.getLong(columnIndex); 221 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { 222 info.contactIdOrZero = contactId;
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupEditorFragment.java | 492 public void loadMemberToAddToGroup(long rawContactId, String contactId) { 495 args.putString(MEMBER_LOOKUP_URI_KEY, contactId); 784 long contactId = data.getLong(GroupEditorQuery.CONTACT_ID); 789 listExistingMembers.add(new Member(rawContactId, lookupKey, contactId, [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 233 for (long contactId : contactIds) { 234 whereArgs.add(String.valueOf(contactId)); 242 Log.d(TAG, "contactId where: " + whereBuilder.toString()); 243 Log.d(TAG, "contactId selection: " + whereArgs);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactListAdapter.java | 206 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); 208 return Contacts.getLookupUri(contactId, lookupKey);
|
ContactBrowseListFragment.java | 120 final long contactId = cursor.getLong(0); 122 if (contactId != 0 && !TextUtils.isEmpty(lookupKey)) { 123 return Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 160 long contactId = phonesCursor.getLong(PhoneQuery.PERSON_ID); 163 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
SenderInfoLoader.java | 155 long contactId = cursor.getLong(DATA_CONTACT_ID_COLUMN); 156 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceContact.java | 61 * @param contactId ID in person table. 68 private VoiceContact(String name, long contactId, long primaryId, 71 mContactId = contactId;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactLoader.java | 116 final long contactId = ContentUris.parseId(contactUri); 118 + "=" + contactId, null, null);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 393 final long contactId = ContentUris.parseId(data); 394 selectionArg = String.valueOf(contactId); 398 final long contactId = queryForContactId(resolver, rawContactId); 399 selectionArg = String.valueOf(contactId); 417 long contactId = -1; 424 contactId = contactIdCursor.getLong(0); 431 return contactId; [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 257 * String[] selectionArgs = new String[] {contactId}; 292 * @param contentUri Uri for obtaining the list of contactId. Used with 301 * contactId. 314 * First we'll create {@link Cursor} for the list of contactId. 321 * After that, we'll obtain data for each contactId in the list. 326 * Data.CONTACT_ID + "=?", new String[] {contactId}, null) 332 * @param contentUri Uri for obtaining the list of contactId. Used with 343 * contactId. 444 // this doesn't work now, as resolver doesn't return any data with "-1" contactId. 458 private String createOneEntryInternal(final String contactId, [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 431 final long contactId = cursor.getLong(EMAIL_PROJECTION_CONTACT_ID_INDEX); 433 ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 437 item.mContactLookupUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactEntryListAdapter.java | 754 long contactId = cursor.getLong(idColumn); 755 view.setId((int) (contactId % Integer.MAX_VALUE)); 761 long contactId = cursor.getLong(contactIdColumn); 769 Uri uri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 281 long contactId = cursor.getLong(PHONE_LOOKUP_CONTACT_ID_COLUMN_INDEX); 284 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey), 297 long contactId = cursor.getLong(EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX); 300 bindFromContactUriInternal(Contacts.getLookupUri(contactId, lookupKey),
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_FrequentsStrequentsTest.java | 269 * Given a contact id, update the contact corresponding to that contactId so that it now shows 272 * @param contactId Contact ID corresponding to the contact to star 274 private void starContact(long contactId) { 277 mResolver.update(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), values,
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 94 long contactId = c.getLong(idIdx); 95 Uri lookupUri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 468 long contactId = 0; 475 contactId = contactCursor.getLong(CONTACTS_ID_COLUMN_INDEX); 476 if (V) Log.v(TAG, "Query startPointId = " + contactId); 492 contactId = contactCursor.getLong(CONTACTS_ID_COLUMN_INDEX); 493 if (V) Log.v(TAG, "Query startPointId = " + contactId); 507 selection = Contacts._ID + "=" + contactId; [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | [all...] |