Searched refs:rawContactId (Results 51 - 71 of 71) sorted by relevance

123

/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java340 final long rawContactId = entValues.getAsLong(RawContacts._ID);
346 if (!mRawContactIds.contains(rawContactId)) {
347 mRawContactIds.add(rawContactId);
355 mWritableRawContactIds.add(rawContactId);
361 entryValues.put(Data.RAW_CONTACT_ID, rawContactId);
372 rawContactId, dataId, entryValues);
414 imMime, imKind, rawContactId, dataId, entryValues);
440 final boolean isNameRawContact = (mNameRawContactId == rawContactId);
459 final boolean isNameRawContact = (mNameRawContactId == rawContactId);
551 long rawContactId, lon
550 fromValues(Context context, String mimeType, DataKind kind, long rawContactId, long dataId, ContentValues values) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java946 long rawContactId, long dataId, int lookupType, String name) {
950 mNameLookupInsert, rawContactId, dataId, lookupType, name);
3236 long rawContactId = cursor.getLong(StructName205Query.RAW_CONTACT_ID);
3249 upgradeNameToVersion205(dataId, rawContactId, displayNameSource, name,
3259 long rawContactId,
3297 updateRawContact205(rawContactUpdate, rawContactId, displayName,
3320 long rawContactId = cursor.getLong(Organization205Query.RAW_CONTACT_ID);
3332 updateRawContact205(rawContactUpdate, rawContactId, company,
3340 private void updateRawContact205(SQLiteStatement rawContactUpdate, long rawContactId, argument
3349 rawContactUpdate.bindLong(7, rawContactId);
945 insertNameLookup( long rawContactId, long dataId, int lookupType, String name) argument
3257 upgradeNameToVersion205( long dataId, long rawContactId, int displayNameSource, NameSplitter.Name name, SQLiteStatement structuredNameUpdate, SQLiteStatement rawContactUpdate, NameSplitter splitter) argument
3709 insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String name) argument
3723 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument
5402 getContactId(long rawContactId) argument
5417 getAggregationMode(long rawContactId) argument
5824 updateRawContactDisplayName(SQLiteDatabase db, long rawContactId) argument
6056 setIsPrimary(long rawContactId, long dataId, long mimeTypeId) argument
6074 clearSuperPrimary(long rawContactId, long mimeTypeId) argument
6093 setIsSuperPrimary(long rawContactId, long dataId, long mimeTypeId) argument
6116 insertNameLookup(long rawContactId, long dataId, int lookupType, String name) argument
6150 insertNameLookupForEmail(long rawContactId, long dataId, String email) argument
6168 insertNameLookupForNickname(long rawContactId, long dataId, String nickname) argument
6179 rawContactHasSuperPrimary(long rawContactId, long mimeTypeId) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DContactDeletionInteraction.java246 final long rawContactId = cursor.getLong(COLUMN_INDEX_RAW_CONTACT_ID);
254 writableRawContacts.add(rawContactId);
256 readOnlyRawContacts.add(rawContactId);
H A DContactMultiDeletionInteraction.java199 final long rawContactId = cursor.getLong(COLUMN_INDEX_RAW_CONTACT_ID);
207 writableRawContacts.add(rawContactId);
209 readOnlyRawContacts.add(rawContactId);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DGlobalSearchSupportTest.java53 long rawContactId = RawContactUtil.createRawContact(mResolver, account);
54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough");
57 mResolver.delete(Data.CONTENT_URI, Data.RAW_CONTACT_ID + "=" + rawContactId
H A DNameLookupBuilderTest.java70 protected void insertNameLookup(long rawContactId, long dataId, int lookupType, argument
H A DContactMetadataProviderTest.java177 long rawContactId = RawContactUtil.createRawContactWithAccountDataSet(
179 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
184 assertStoredValue(rawContactUri, RawContacts._ID, rawContactId);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DEditorIntents.java130 Uri rawContactUri, long rawContactId, boolean isReadOnly) {
135 rawContactId);
129 createEditContactIntentForRawContact(Context context, Uri rawContactUri, long rawContactId, boolean isReadOnly) argument
H A DAggregationSuggestionView.java152 rawContactIds.add(rawContact.rawContactId);
H A DContactEditorBaseFragment.java1165 long rawContactId = rawContact.getId();
1168 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId),
1540 long rawContactId, ValuesDelta valuesDelta) {
1541 if (mAggregationSuggestionsRawContactId != rawContactId
1548 mAggregationSuggestionsRawContactId = rawContactId;
1615 * Returns the raw contact editor view for the given rawContactId that should be used as the
1618 abstract protected View getAggregationAnchorView(long rawContactId); argument
1624 protected boolean isAggregationSuggestionRawContactId(long rawContactId) { argument
1625 return mAggregationSuggestionsRawContactId == rawContactId;
1539 acquireAggregationSuggestions(Context context, long rawContactId, ValuesDelta valuesDelta) argument
H A DCompactRawContactsEditorView.java97 * @param rawContactId The raw contact ID from the underlying {@link RawContactDelta}.
100 public void onNameFieldChanged(long rawContactId, ValuesDelta valuesDelta); argument
125 public void onRawContactSelected(Uri uri, long rawContactId, boolean isReadOnly); argument
917 final long rawContactId = adapter.getItemId(position);
919 ContactsContract.RawContacts.CONTENT_URI, rawContactId);
927 mListener.onRawContactSelected(rawContactUri, rawContactId, isReadOnly);
H A DCompactKindSectionView.java60 public StructuredNameEditorListener(ValuesDelta valuesDelta, long rawContactId, argument
63 mRawContactId = rawContactId;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
H A DDataItem.java101 public void setRawContactId(long rawContactId) { argument
102 mContentValues.put(Data.RAW_CONTACT_ID, rawContactId);
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DNotificationImportExportListener.java124 final long rawContactId = ContentUris.parseId(createdUri);
127 RawContacts.CONTENT_URI, rawContactId));
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DConfirmAddDetailActivity.java397 final long rawContactId = ContentUris.parseId(data);
398 final long contactId = queryForContactId(resolver, rawContactId);
403 final long rawContactId = ContentUris.parseId(data);
404 selectionArg = String.valueOf(rawContactId);
415 private static long queryForContactId(ContentResolver resolver, long rawContactId) { argument
421 RawContacts._ID + "=?", new String[] { String.valueOf(rawContactId) },
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java127 private static final String MEMBER_RAW_CONTACT_ID_KEY = "rawContactId";
492 public void loadMemberToAddToGroup(long rawContactId, String contactId) { argument
494 args.putLong(MEMBER_RAW_CONTACT_ID_KEY, rawContactId);
767 long rawContactId = data.getLong(GroupEditorQuery.RAW_CONTACT_ID);
771 listExistingMembers.add(new Member(rawContactId, lookupKey, contactId,
838 public Member(long rawContactId, String lookupKey, long contactId, String displayName, argument
840 mRawContactId = rawContactId;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContactLoader.java507 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
508 if (rawContactId != currentRawContactId) {
511 currentRawContactId = rawContactId;
953 final long rawContactId = rawContact.getId();
954 if (mNotifiedRawContactIds.contains(rawContactId)) {
957 mNotifiedRawContactIds.add(rawContactId);
962 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
H A DContactLoaderTest.java313 Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) {
363 rawContactId, 40,
370 rawContactId,
312 fetchAllData( Uri baseUri, long contactId, long rawContactId, long dataId, String encodedLookup) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
H A DContactAggregator2Test.java127 long rawContactId = RawContactUtil.createRawContact(mResolver);
129 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha");
134 long contactId = queryContactId(rawContactId);
1281 long rawContactId = RawContactUtil.createRawContact(mResolver);
1282 long contactId = queryContactId(rawContactId);
1286 insertEmail(rawContactId, "eclair@android.com");
1289 insertPhoneNumber(rawContactId, "800-555-5555");
1294 insertOrganization(rawContactId, values);
1297 insertNickname(rawContactId, "Dro");
1303 DataUtil.insertStructuredName(mResolver, rawContactId, value
1904 assertDisplayNameEquals(long contactId, long rawContactId) argument
[all...]
H A DContactAggregatorTest.java127 long rawContactId = RawContactUtil.createRawContact(mResolver);
129 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha");
134 long contactId = queryContactId(rawContactId);
1272 long rawContactId = RawContactUtil.createRawContact(mResolver);
1273 long contactId = queryContactId(rawContactId);
1277 insertEmail(rawContactId, "eclair@android.com");
1280 insertPhoneNumber(rawContactId, "800-555-5555");
1285 insertOrganization(rawContactId, values);
1288 insertNickname(rawContactId, "Dro");
1294 DataUtil.insertStructuredName(mResolver, rawContactId, value
1781 assertDisplayNameEquals(long contactId, long rawContactId) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java1154 final long rawContactId = ContentUris.parseId(lookupUri);
1156 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));

Completed in 563 milliseconds

123