/packages/apps/Contacts/src/com/android/contacts/ |
DynamicShortcuts.java | 16 package com.android.contacts; 47 import android.provider.ContactsContract.Contacts; 53 import com.android.contacts.activities.RequestPermissionsActivity; 54 import com.android.contacts.compat.CompatUtils; 55 import com.android.contacts.lettertiles.LetterTileDrawable; 56 import com.android.contacts.util.BitmapUtil; 57 import com.android.contacts.util.ImplicitIntentsUtil; 58 import com.android.contacts.util.PermissionsUtil; 69 * Contacts app. 71 * Currently it adds shortcuts for the top 3 contacts in the {@link Contacts#CONTENT_STREQUENT_URI [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ContactsSelectInstrumentation.java | 48 // First start the activity we are instrumenting -- the contacts 61 Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_ITEM_TYPE), null, true);
|
AlertDialogSamples.java | 288 ContactsContract.Contacts._ID, 289 ContactsContract.Contacts.DISPLAY_NAME, 290 ContactsContract.Contacts.SEND_TO_VOICEMAIL 292 Cursor cursor = managedQuery(ContactsContract.Contacts.CONTENT_URI, 297 ContactsContract.Contacts.SEND_TO_VOICEMAIL, 298 ContactsContract.Contacts.DISPLAY_NAME,
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursor.java | 24 import android.provider.Contacts.People;
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
ContactListFragment.java | 89 ContactsContract.Contacts.DISPLAY_NAME + " ASC " 103 ContactsContract.Contacts.DISPLAY_NAME); 107 ContactsContract.Contacts.LOOKUP_KEY); 130 final Uri uri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
ContactsAdapter.java | 22 import android.provider.ContactsContract.Contacts; 38 /** List adapter for the union of all contacts associated with every account on the device. */ 57 // Number of contacts that correspond to each header in {@code headers}. 59 // Cursor with list of contacts 71 headers = cursor.getExtras().getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES); 72 counts = cursor.getExtras().getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); 131 context.getString(com.android.contacts.common.R.string.description_quick_contact_for, name); 197 return Contacts.getLookupUri(contactId, lookupKey);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
EnterpriseDefaultApps.java | 35 CONTACTS(new Intent[] { 36 buildIntent(Intent.ACTION_PICK, null, null, ContactsContract.Contacts.CONTENT_TYPE)}),
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
SenderInfoLoader.java | 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Contacts.Photo; 68 * 99 since the contacts provider may wrap our query in its own and insert more params. 137 // Contacts that are designed to be visible outside of search will be returned last. 138 // Therefore, these contacts will be given precedence below, if possible. 157 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 245 return Contacts.IN_DEFAULT_DIRECTORY + " ASC, " + Data._ID;
|
/packages/experimental/PermissionApp/src/foo/bar/permission/ |
PermissionActivity.java | 63 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY 71 ContactsContract.Contacts._ID, 72 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY 129 ContactsContract.Contacts.CONTENT_URI,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2TransactionTest.java | 17 package com.android.providers.contacts; 19 import static com.android.providers.contacts.TestUtils.cv; 27 import android.provider.ContactsContract.Contacts; 38 * the profile db and the contacts db. 69 // Make sure we only COMMIT on the contacts DB, but there was no transaction on the 80 // on the contacts db. AbstractContactsProvider does that to avoid deadlocks. 99 // Update all raw contacts. 103 // Make sure we only COMMIT on the contacts DB, but there was no transaction on the 109 // Update all profile raw contacts. 114 // on the contacts db. AbstractContactsProvider does that to avoid deadlocks [all...] |
FastScrollingIndexCacheTest.java | 17 package com.android.providers.contacts; 21 import android.provider.ContactsContract.Contacts; 27 import com.android.providers.contacts.util.MockSharedPreferences; 48 private static final Uri URI_A = Contacts.CONTENT_URI; 62 actual.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); 64 actual.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS));
|
LegacyContactsProviderTest.java | 17 package com.android.providers.contacts; 19 import static com.android.providers.contacts.TestUtils.dumpTable; 20 import static com.android.providers.contacts.TestUtils.dumpUri; 28 import android.provider.Contacts; 29 import android.provider.Contacts.ContactMethods; 30 import android.provider.Contacts.Extensions; 31 import android.provider.Contacts.GroupMembership; 32 import android.provider.Contacts.Groups; 33 import android.provider.Contacts.Organizations; 34 import android.provider.Contacts.People [all...] |
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactDetailFragment.java | 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Contacts.Photo; 61 * This fragment displays details of a specific contact from the contacts provider. It shows the 130 * is null. This will re-initialize all the views and start the queries to the system contacts 146 // Contacts.Data.CONTENT_DIRECTORY to map to the provided contact. It's done 147 // differently for these earlier versions because Contacts.Data.CONTENT_DIRECTORY works 149 mContactUri = Contacts.lookupContact(getActivity().getContentResolver(), 167 // Starts two queries to to retrieve contact information from the Contacts Provider. 174 // in the contacts list. This should only happen in a two-pane layout when the user 330 final Uri uri = Uri.withAppendedPath(mContactUri, Contacts.Data.CONTENT_DIRECTORY) [all...] |
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
DirectoryProvider.java | 34 import android.provider.ContactsContract.Contacts; 91 mURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER); 92 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT); 93 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID); 164 if (column.equals(Contacts._ID)) { 166 } else if (column.equals(Contacts.DISPLAY_NAME)) { 169 } else if (column.equals(Contacts.PHOTO_THUMBNAIL_URI)) { 172 } else if (column.equals(Contacts.PHOTO_URI)) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PickRawContactLoader.java | 1 package com.android.contacts.editor; 11 import android.provider.ContactsContract.Contacts; 16 import com.android.contacts.model.AccountTypeManager; 17 import com.android.contacts.model.account.AccountType; 65 mContactUri, new String[] {Contacts._ID, Contacts.IS_USER_PROFILE}, null, 80 result.contactId = contactCursor.getLong(/* Contacts._ID */ 0); 81 result.isUserProfile = contactCursor.getInt(/* Contacts.IS_USER_PROFILE */ 1) == 1; 138 new String[] {Data.RAW_CONTACT_ID, Contacts.Photo._ID}, 182 if (!uri.toString().startsWith(Contacts.CONTENT_URI.toString()) & [all...] |
AggregationSuggestionEngine.java | 17 package com.android.contacts.editor; 34 import android.provider.ContactsContract.Contacts; 35 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 36 import android.provider.ContactsContract.Contacts.AggregationSuggestions.Builder; 41 import com.android.contacts.compat.AggregationSuggestionsCompat; 42 import com.android.contacts.model.ValuesDelta; 43 import com.android.contacts.model.account.AccountWithDataSet; 179 Contacts.CONTENT_URI, true, mContentObserver); 287 Contacts.Photo._ID 304 Cursor cursor = contentResolver.query(uri, new String[]{Contacts._ID}, null, null, null) [all...] |
EditorIntents.java | 16 package com.android.contacts.editor; 23 import android.provider.ContactsContract.Contacts; 26 import com.android.contacts.activities.ContactEditorActivity; 27 import com.android.contacts.activities.ContactEditorSpringBoardActivity; 28 import com.android.contacts.model.RawContactDeltaList; 29 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette; 34 * Creates Intents to edit contacts. 83 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI,
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 16 package com.android.contacts.list; 32 import android.provider.ContactsContract.Contacts; 38 import com.android.contacts.util.ContactLoaderUtils; 112 new String[] { Contacts._ID, Contacts.LOOKUP_KEY }, null, null, null); 118 return Contacts.getLookupUri(contactId, lookupKey); 148 // contacts). 356 if (mSelectedContactUri.toString().startsWith(Contacts.CONTENT_LOOKUP_URI.toString())) { 362 } else if (mSelectedContactUri.toString().startsWith(Contacts.CONTENT_URI.toString()) &&
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PollingAction.java | 124 List<Contacts.Item> contacts = mPollingTask.mContacts; local 125 for (int i = 0; i < contacts.size(); i++) { 126 Contacts.Item item = contacts.get(i); 131 logger.debug("No contacts in polling task, no action.");
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
AccountImageChangeObserver.java | 27 import android.provider.ContactsContract.Contacts; 147 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 162 // Look up this account in the contacts database.
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 17 package com.android.contacts.tests.quickcontact; 25 import android.provider.ContactsContract.Contacts; 34 import com.android.contacts.tests.R; 81 final Intent intent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
NearbyPlaceViewHolder.java | 22 import android.provider.ContactsContract.Contacts; 27 import com.android.contacts.common.util.Constants; 85 return Contacts.CONTENT_LOOKUP_URI
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
FavoritesViewHolder.java | 24 import android.provider.ContactsContract.Contacts; 37 /** ViewHolder for starred/favorite contacts in {@link SpeedDialFragment}. */ 73 Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
SuggestionViewHolder.java | 24 import android.provider.ContactsContract.Contacts; 36 /** ViewHolder for displaying suggested contacts in {@link SpeedDialFragment}. */ 67 com.android.contacts.common.R.string.call_subject_type_and_number, label, number); 74 Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactsListFragment.java | 30 import android.provider.ContactsContract.Contacts; 130 * Build the {@link Contacts#CONTENT_LOOKUP_URI} for the given 146 return Contacts.getLookupUri(contactId, lookupKey);
|