HomeSort by relevance Sort by last modified time
    Searched refs:Contacts (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactsListLoader.java 22 import android.provider.ContactsContract.Contacts;
29 Contacts._ID, // 0
30 Contacts.DISPLAY_NAME_PRIMARY, // 1
31 Contacts.DISPLAY_NAME_ALTERNATIVE, // 2
32 Contacts.SORT_KEY_PRIMARY, // 3
33 Contacts.STARRED, // 4
34 Contacts.TIMES_CONTACTED, // 5
35 Contacts.CONTACT_PRESENCE, // 6
36 Contacts.PHOTO_ID, // 7
37 Contacts.LOOKUP_KEY, //
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactTileLoaderFactory.java 16 package com.android.contacts;
18 import com.android.contacts.list.ContactTileView;
25 import android.provider.ContactsContract.Contacts;
46 Contacts._ID, // ..........................................0
47 Contacts.DISPLAY_NAME, // .................................1
48 Contacts.STARRED, // ......................................2
49 Contacts.PHOTO_URI, // ....................................3
50 Contacts.LOOKUP_KEY, // ...................................4
51 Contacts.CONTACT_PRESENCE, // .............................5
52 Contacts.CONTACT_STATUS, // ...............................
    [all...]
CallContactActivity.java 17 package com.android.contacts;
19 import com.android.contacts.interactions.PhoneNumberInteraction;
27 import android.provider.ContactsContract.Contacts;
50 if (Contacts.CONTENT_ITEM_TYPE.equals(getContentResolver().getType(contactUri))) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
QuickContactsDemo.java 26 import android.provider.ContactsContract.Contacts;
35 Contacts._ID, // 0
36 Contacts.DISPLAY_NAME, // 1
37 Contacts.STARRED, // 2
38 Contacts.TIMES_CONTACTED, // 3
39 Contacts.CONTACT_PRESENCE, // 4
40 Contacts.PHOTO_ID, // 5
41 Contacts.LOOKUP_KEY, // 6
42 Contacts.HAS_PHONE_NUMBER, // 7
58 String select = "((" + Contacts.DISPLAY_NAME + " NOTNULL) AND (
    [all...]
LoaderCursor.java 28 import android.provider.ContactsContract.Contacts;
41 * Demonstration of the use of a CursorLoader to load and display contacts
82 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS },
123 // These are the Contacts rows that we will retrieve.
125 Contacts._ID,
126 Contacts.DISPLAY_NAME,
127 Contacts.CONTACT_STATUS,
128 Contacts.CONTACT_PRESENCE,
129 Contacts.PHOTO_ID
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List2.java 21 import android.provider.ContactsContract.Contacts;
37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI,
47 new String[] {Contacts.DISPLAY_NAME},
54 Contacts._ID,
55 Contacts.DISPLAY_NAME
Gallery2.java 21 import android.provider.ContactsContract.Contacts;
39 Cursor c = getContentResolver().query(Contacts.CONTENT_URI,
49 new String[] {Contacts.DISPLAY_NAME},
58 Contacts._ID,
59 Contacts.DISPLAY_NAME
ExpandableList2.java 27 import android.provider.ContactsContract.Contacts;
37 Contacts._ID,
38 Contacts.DISPLAY_NAME
90 Uri.Builder builder = Contacts.CONTENT_URI.buildUpon();
92 builder.appendEncodedPath(Contacts.Data.CONTENT_DIRECTORY);
115 new String[] { Contacts.DISPLAY_NAME }, // Name for group layouts
125 mQueryHandler.startQuery(TOKEN_GROUP, null, Contacts.CONTENT_URI, CONTACTS_PROJECTION,
126 Contacts.HAS_PHONE_NUMBER + "=1", null, null);
AutoComplete5.java 25 import android.provider.ContactsContract.Contacts;
35 Cursor cursor = content.query(Contacts.CONTENT_URI,
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 17 package com.android.providers.contacts;
19 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment;
24 import android.provider.ContactsContract.Contacts;
35 * adb shell am instrument -e class com.android.providers.contacts.ContactLookupKeyTest -w \
36 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
54 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId),
55 Contacts.LOOKUP_KEY, expectedLookupKey);
58 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey);
59 assertStoredValue(lookupUri, Contacts._ID, contactId);
63 Contacts._ID, contactId)
    [all...]
DirectoryTest.java 17 package com.android.providers.contacts;
26 import android.provider.ContactsContract.Contacts;
37 * adb shell am instrument -e class com.android.providers.contacts.DirectoryTest -w \
38 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
79 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter(
83 new String[]{Contacts._ID, Contacts.DISPLAY_NAME}, null, null, null);
103 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter(
108 new String[]{Contacts._ID, Contacts.DISPLAY_NAME}, null, null, null)
    [all...]
ContactsProvider2Test.java 17 package com.android.providers.contacts;
20 import com.android.providers.contacts.ContactsDatabaseHelper.AggregationExceptionColumns;
21 import com.android.providers.contacts.ContactsDatabaseHelper.DataUsageStatColumns;
22 import com.android.providers.contacts.ContactsDatabaseHelper.PresenceColumns;
23 import com.android.providers.contacts.tests.R;
49 import android.provider.ContactsContract.Contacts;
89 * adb shell am instrument -e class com.android.providers.contacts.ContactsProvider2Test -w \
90 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
100 assertProjection(Contacts.CONTENT_URI, new String[]{
101 Contacts._ID
5652 final VCardTestUriCreator contacts = createVCardTestContacts(); local
5687 final VCardTestUriCreator contacts = createVCardTestContacts(); local
5702 final VCardTestUriCreator contacts = createVCardTestContacts(); local
    [all...]
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
CursorFragment.java 26 import android.provider.ContactsContract.Contacts;
61 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS },
102 // These are the Contacts rows that we will retrieve.
104 Contacts._ID,
105 Contacts.DISPLAY_NAME,
106 Contacts.CONTACT_STATUS,
107 Contacts.CONTACT_PRESENCE,
108 Contacts.PHOTO_ID,
109 Contacts.LOOKUP_KEY
    [all...]
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCursorSupport.java 30 import android.provider.ContactsContract.Contacts;
39 * Demonstration of the use of a CursorLoader to load and display contacts
80 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS },
116 // These are the Contacts rows that we will retrieve.
118 Contacts._ID,
119 Contacts.DISPLAY_NAME,
120 Contacts.CONTACT_STATUS,
121 Contacts.CONTACT_PRESENCE,
122 Contacts.PHOTO_ID
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListAdapter.java 16 package com.android.contacts.list;
18 import com.android.contacts.R;
25 import android.provider.ContactsContract.Contacts;
35 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type.
42 Contacts._ID, // 0
43 Contacts.DISPLAY_NAME_PRIMARY, // 1
44 Contacts.DISPLAY_NAME_ALTERNATIVE, // 2
45 Contacts.SORT_KEY_PRIMARY, // 3
46 Contacts.STARRED, // 4
47 Contacts.CONTACT_PRESENCE, //
    [all...]
DefaultContactListAdapter.java 16 package com.android.contacts.list;
18 import com.android.contacts.preference.ContactsPreferences;
30 import android.provider.ContactsContract.Contacts;
42 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type.
74 loader.setUri(Contacts.CONTENT_URI);
78 Builder builder = Contacts.CONTENT_FILTER_URI.buildUpon();
100 sortOrder = Contacts.SORT_KEY_PRIMARY;
102 sortOrder = Contacts.SORT_KEY_ALTERNATIVE;
109 Uri uri = Contacts.CONTENT_URI;
116 uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
LegacyApiSupport.java 16 package com.android.providers.contacts;
18 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
19 import com.android.providers.contacts.ContactsDatabaseHelper.ExtensionsColumns;
20 import com.android.providers.contacts.ContactsDatabaseHelper.GroupsColumns;
21 import com.android.providers.contacts.ContactsDatabaseHelper.MimetypesColumns;
22 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
23 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupType;
24 import com.android.providers.contacts.ContactsDatabaseHelper.PhoneLookupColumns;
25 import com.android.providers.contacts.ContactsDatabaseHelper.PresenceColumns;
26 import com.android.providers.contacts.ContactsDatabaseHelper.RawContactsColumns
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactLoaderTest.java 17 package com.android.contacts;
19 import com.android.contacts.model.AccountType;
20 import com.android.contacts.model.AccountWithDataSet;
21 import com.android.contacts.model.BaseAccountType;
22 import com.android.contacts.test.InjectedServices;
23 import com.android.contacts.tests.mocks.ContactsMockContext;
24 import com.android.contacts.tests.mocks.MockAccountTypeManager;
25 import com.android.contacts.tests.mocks.MockContentProvider;
31 import android.provider.ContactsContract.Contacts;
104 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java 17 package com.android.contacts.activities;
19 import com.android.contacts.ContactPhotoManager;
20 import com.android.contacts.ContactsApplication;
21 import com.android.contacts.R;
22 import com.android.contacts.detail.ContactDetailFragment;
23 import com.android.contacts.interactions.TestLoaderManager;
24 import com.android.contacts.list.ContactBrowseListFragment;
25 import com.android.contacts.model.AccountType;
26 import com.android.contacts.model.AccountTypeManager;
27 import com.android.contacts.model.AccountWithDataSet
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_ContactsTest.java 31 import android.provider.ContactsContract.Contacts;
38 @TestTargetClass(ContactsContract.Contacts.class)
66 long oldLastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED);
68 Contacts.markAsContacted(mContentResolver, contact.getId());
71 long lastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED);
75 Contacts.markAsContacted(mContentResolver, contact.getId());
78 lastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED);
86 Intent intent = new Intent(Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_URI);
Contacts_ContactMethodsTest.java 20 import android.provider.Contacts;
21 import android.provider.Contacts.ContactMethods;
32 @TestTargetClass(android.provider.Contacts.ContactMethods.class)
96 String display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
102 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
106 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
110 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
115 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_IM,
119 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_ORGANIZATION,
123 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_PHONE
    [all...]
Contacts_SettingsTest.java 22 import android.provider.Contacts;
23 import android.provider.Contacts.Settings;
33 @TestTargetClass(android.provider.Contacts.Settings.class)
41 @ToBeFixed(explanation = "The URL: content://contacts/settings does not support" +
47 mProvider = mContentResolver.acquireProvider(Contacts.AUTHORITY);
70 // NOTE: because we cannot delete the URL: content://contacts/settings,
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk5.java 23 import android.provider.ContactsContract.Contacts;
27 * An implementation of {@link ContactAccessor} that uses current Contacts API.
33 * <li>It sees contacts from multiple accounts.
34 * <li>It works with aggregated contacts. So for example, if the contact is the result
35 * of aggregation of two raw contacts from different accounts, it may return the name from
47 * Returns a Pick Contact intent using the Eclair "contacts" URI.
51 return new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);
64 new String[]{Contacts._ID, Contacts.DISPLAY_NAME}, null, null, null);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 17 package com.android.contacts.tests.allintents;
19 import com.android.contacts.model.AccountWithDataSet;
20 import com.android.contacts.tests.R;
33 import android.provider.Contacts.ContactMethods;
34 import android.provider.Contacts.People;
35 import android.provider.Contacts.Phones;
40 import android.provider.ContactsContract.Contacts;
52 * An activity that provides access to various modes of the contacts application.
59 /** The name of the package of the contacts application. */
60 private static final String ANDROID_CONTACTS_PACKAGE = "com.android.contacts";
    [all...]
  /packages/apps/Contacts/tests/
Android.mk 15 LOCAL_INSTRUMENTATION_FOR := Contacts

Completed in 1236 milliseconds

1 2 3 4 5 6 7