Home
last modified time | relevance | path

Searched refs:Contacts (Results 1 – 22 of 22) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DQuickContactsDemo.java26 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 (" in onCreate()
[all …]
DLoaderRetained.java31 import android.provider.ContactsContract.Contacts;
93 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS }, in onActivityCreated()
170 Contacts._ID,
171 Contacts.DISPLAY_NAME,
172 Contacts.CONTACT_STATUS,
173 Contacts.CONTACT_PRESENCE,
174 Contacts.PHOTO_ID,
175 Contacts.LOOKUP_KEY,
185 baseUri = Uri.withAppendedPath(Contacts.CONTENT_FILTER_URI, in onCreateLoader()
188 baseUri = Contacts.CONTENT_URI; in onCreateLoader()
[all …]
DLoaderCursor.java29 import android.provider.ContactsContract.Contacts;
88 new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS }, in onActivityCreated()
165 Contacts._ID,
166 Contacts.DISPLAY_NAME,
167 Contacts.CONTACT_STATUS,
168 Contacts.CONTACT_PRESENCE,
169 Contacts.PHOTO_ID,
170 Contacts.LOOKUP_KEY,
180 baseUri = Uri.withAppendedPath(Contacts.CONTENT_FILTER_URI, in onCreateLoader()
183 baseUri = Contacts.CONTENT_URI; in onCreateLoader()
[all …]
DAlertDialogSamples.java288 ContactsContract.Contacts._ID, in onCreateDialog()
289 ContactsContract.Contacts.DISPLAY_NAME, in onCreateDialog()
290 ContactsContract.Contacts.SEND_TO_VOICEMAIL in onCreateDialog()
292 Cursor cursor = managedQuery(ContactsContract.Contacts.CONTENT_URI, in onCreateDialog()
297 ContactsContract.Contacts.SEND_TO_VOICEMAIL, in onCreateDialog()
298 ContactsContract.Contacts.DISPLAY_NAME, in onCreateDialog()
DContactsSelectInstrumentation.java61 Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_ITEM_TYPE), null, true); in onStart()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList2.java21 import android.provider.ContactsContract.Contacts;
37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
47 new String[] {Contacts.DISPLAY_NAME}, in onCreate()
54 Contacts._ID,
55 Contacts.DISPLAY_NAME
DExpandableList2.java27 import android.provider.ContactsContract.Contacts;
37 Contacts._ID,
38 Contacts.DISPLAY_NAME
90 Uri.Builder builder = Contacts.CONTENT_URI.buildUpon(); in getChildrenCursor()
92 builder.appendEncodedPath(Contacts.Data.CONTENT_DIRECTORY); in getChildrenCursor()
115 new String[] { Contacts.DISPLAY_NAME }, // Name for group layouts in onCreate()
125 mQueryHandler.startQuery(TOKEN_GROUP, null, Contacts.CONTENT_URI, CONTACTS_PROJECTION, in onCreate()
126 Contacts.HAS_PHONE_NUMBER + "=1", null, null); in onCreate()
DAutoComplete4.java27 import android.provider.ContactsContract.Contacts;
44 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
89 Contacts.CONTENT_FILTER_URI, in runQueryOnBackgroundThread()
98 Contacts._ID,
99 Contacts.DISPLAY_NAME
DAutoComplete5.java25 import android.provider.ContactsContract.Contacts;
35 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessorSdk5.java23 import android.provider.ContactsContract.Contacts;
51 return new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); in getPickContactIntent()
64 new String[]{Contacts._ID, Contacts.DISPLAY_NAME}, null, null, null); in loadContact()
DContactAccessorSdk3_4.java24 import android.provider.Contacts.People;
25 import android.provider.Contacts.People.Phones;
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java31 import android.provider.ContactsContract.Contacts;
32 import android.provider.ContactsContract.Contacts.Photo;
276 final Uri uri = Contacts.getLookupUri( in onItemClick()
438 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); in onOptionsItemSelected()
507 Contacts.CONTENT_URI, String.valueOf(data.getLong(ContactsQuery.ID))); in onLoadFinished()
590 final Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_URI, photoData); in loadContactPhotoThumbnail()
771 final Uri contactUri = Contacts.getLookupUri( in bindView()
877 final static Uri CONTENT_URI = Contacts.CONTENT_URI;
880 final static Uri FILTER_URI = Contacts.CONTENT_FILTER_URI;
888 (Utils.hasHoneycomb() ? Contacts.DISPLAY_NAME_PRIMARY : Contacts.DISPLAY_NAME) +
[all …]
DContactDetailFragment.java31 import android.provider.ContactsContract.Contacts;
32 import android.provider.ContactsContract.Contacts.Photo;
149 mContactUri = Contacts.lookupContact(getActivity().getContentResolver(), in setContact()
330 final Uri uri = Uri.withAppendedPath(mContactUri, Contacts.Data.CONTENT_DIRECTORY); in onCreateLoader()
651 Contacts._ID,
652 Utils.hasHoneycomb() ? Contacts.DISPLAY_NAME_PRIMARY : Contacts.DISPLAY_NAME,
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactManager.java104 Uri uri = ContactsContract.Contacts.CONTENT_URI; in getContacts()
106 ContactsContract.Contacts._ID, in getContacts()
107 ContactsContract.Contacts.DISPLAY_NAME in getContacts()
109 String selection = ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '" + in getContacts()
112 String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC"; in getContacts()
/development/tools/repo_diff/service/repodiff/constants/
Dtechareas.go9 Contacts const
31 Contacts: "Contacts",
64 "bed383c5bed9017de63cb0e8d56833840306f81215aeddd51e90243da89d172c": Contacts,
125 "eebf06f40beb55a8e82559397ae370e3a45f25a80c75936eb235b904c3b89cba": Contacts,
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
DContactsFragment.java64 private static final String[] PROJECTION = {ContactsContract.Contacts._ID,
65 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY};
69 private static final String ORDER = ContactsContract.Contacts.DISPLAY_NAME_PRIMARY + " ASC";
120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION, in onCreateLoader()
136 .getString(cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME)); in onLoadFinished()
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DOtherMetadataFragment.java214 Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); in findContact()
232 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID); in loadBitmapFromContactUri()
234 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo in loadBitmapFromContactUri()
261 int idx = cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME); in updateContactEntryFromUri()
263 idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID); in updateContactEntryFromUri()
266 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo in updateContactEntryFromUri()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DContactPhotoBinder.java72 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id); in bind()
73 InputStream stream = ContactsContract.Contacts.openContactPhotoInputStream( in bind()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java46 import android.provider.ContactsContract.Contacts;
202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in getProfilePicture()
203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver, in getProfilePicture()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DPickContact.java75 ContactsContract.Contacts.CONTENT_ITEM_TYPE)); in onCreate()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java35 import android.provider.ContactsContract.Contacts;
802 new String[] {Contacts._ID, Contacts.DISPLAY_NAME};
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dproject.csv490 2018/03/02,platform/packages/apps/Contacts,platform/packages/apps/Contacts,Modified Projects,1144,1…