HomeSort by relevance Sort by last modified time
    Searched refs:rawContacts (Results 1 - 11 of 11) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/editor/
PickRawContactLoader.java 14 import android.provider.ContactsContract.RawContacts;
33 RawContacts.ACCOUNT_NAME,
34 RawContacts.ACCOUNT_TYPE,
35 RawContacts.DATA_SET,
36 RawContacts._ID,
37 RawContacts.DISPLAY_NAME_PRIMARY,
38 RawContacts.DISPLAY_NAME_ALTERNATIVE
41 private static final String RAW_CONTACT_SELECTION = RawContacts.CONTACT_ID + "=?";
91 rawContactUri = RawContacts.CONTENT_URI;
120 result.rawContacts.add(rawContact)
    [all...]
PickRawContactDialogFragment.java 70 return mRawContactsMetadata.rawContacts.size();
75 return mRawContactsMetadata.rawContacts.get(position);
80 return mRawContactsMetadata.rawContacts.get(position).id;
99 final RawContact rawContact = mRawContactsMetadata.rawContacts.get(position);
ContactEditorFragment.java 43 import android.provider.ContactsContract.RawContacts;
140 private static final String KEY_RAW_CONTACTS = "rawContacts";
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorSpringBoardActivity.java 13 import android.provider.ContactsContract.RawContacts;
113 RawContacts.CONTENT_ITEM_TYPE.equals(type)) {
139 if (mShowReadOnly || (mResult.rawContacts.size() > 1 && mHasWritableAccount)) {
195 intent = getIntentForRawContact(mResult.rawContacts.get(mWritableAccountPosition).id);
286 final long[][] result = new long[mResult.rawContacts.size()][1];
287 for (int i = 0; i < mResult.rawContacts.size(); i++) {
288 result[i][0] = mResult.rawContacts.get(i).id;
  /packages/apps/Dialer/java/com/android/contacts/common/model/
Contact.java 301 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) {
302 mRawContacts = rawContacts;
ContactLoader.java 37 import android.provider.ContactsContract.RawContacts;
70 /** Loads a single Contact and all it constituent RawContacts. */
154 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null);
157 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE);
472 cv.put(RawContacts._ID, cursor.getLong(ContactQuery.RAW_CONTACT_ID));
662 final ImmutableList<RawContact> rawContacts = contactData.getRawContacts();
663 final int rawContactCount = rawContacts.size();
665 final RawContact rawContact = rawContacts.get(rawContactIndex);
729 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
733 intent.setDataAndType(uri, RawContacts.CONTENT_ITEM_TYPE)
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 38 import android.provider.ContactsContract.RawContacts;
100 * @param rawContacts The list of contacts to update
106 List<RawContact> rawContacts, long groupId, long lastSyncMarker) {
114 for (final RawContact rawContact : rawContacts) {
128 // row for this contact so that the RawContacts.SOURCE_ID value
226 * @param rawContacts The list of users we want to update
228 public static void updateStatusMessages(Context context, List<RawContact> rawContacts) {
231 for (RawContact rawContact : rawContacts) {
415 Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
442 values.put(RawContacts.ACCOUNT_NAME, account.name)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
Contact.java 485 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) {
486 mRawContacts = rawContacts;
ContactLoader.java 37 import android.provider.ContactsContract.RawContacts;
78 * Loads a single Contact and all it constituent RawContacts.
139 RawContacts.ACCOUNT_NAME,
140 RawContacts.ACCOUNT_TYPE,
141 RawContacts.DATA_SET,
142 RawContacts.DIRTY,
143 RawContacts.VERSION,
144 RawContacts.SOURCE_ID,
145 RawContacts.SYNC1,
146 RawContacts.SYNC2
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator2.java 32 import android.provider.ContactsContract.RawContacts;
106 int aggregationMode = RawContacts.AGGREGATION_MODE_DEFAULT;
115 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) {
124 } else if (aggregationMode == RawContacts.AGGREGATION_MODE_DISABLED) {
157 || aggregationMode == RawContacts.AGGREGATION_MODE_SUSPENDED)) {
192 final String sql = "SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS +
194 " AND " + RawContacts._ID + "=?";
402 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=? AND " +
403 RawContacts.DELETED + "=0";
427 final String rawContacts = TextUtils.join(",", component)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_DataTest.java 40 import android.provider.ContactsContract.RawContacts;
58 RawContacts.RAW_CONTACT_IS_USER_PROFILE,
92 RawContacts.ACCOUNT_NAME,
93 RawContacts.ACCOUNT_TYPE,
94 RawContacts.DATA_SET,
95 RawContacts.ACCOUNT_TYPE_AND_DATA_SET,
96 RawContacts.DIRTY,
97 RawContacts.SOURCE_ID,
98 RawContacts.VERSION,
208 .with(RawContacts.ACCOUNT_TYPE, "test_type"
    [all...]

Completed in 489 milliseconds