HomeSort by relevance Sort by last modified time
    Searched refs:Contacts (Results 101 - 125 of 310) sorted by null

1 2 3 45 6 7 8 91011>>

  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ContactPhotoBinder.java 37 * bind contacts photos to their respective list item. This binder simply
56 // Cache used to avoid re-querying contacts photos every time
70 // If the photo wasn't in the cache, ask the contacts provider for
72 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id);
73 InputStream stream = ContactsContract.Contacts.openContactPhotoInputStream(
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactsIntentResolver.java 17 package com.android.contacts.list;
23 import android.provider.Contacts.ContactMethods;
24 import android.provider.Contacts.People;
25 import android.provider.Contacts.Phones;
30 import android.provider.ContactsContract.Contacts;
37 import com.android.contacts.group.GroupUtil;
38 import com.android.contacts.model.account.AccountWithDataSet;
41 * Parses a Contacts intent, extracting all relevant parts and packaging them
86 if (Contacts.CONTENT_TYPE.equals(resolvedType)) {
123 if (Contacts.CONTENT_ITEM_TYPE.equals(type))
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/util/
IntentUtil.java 34 return new Intent(Intent.ACTION_INSERT, ContactsContract.Contacts.CONTENT_URI);
50 intent.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE);
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
CapabilityPolling.java 472 List<Contacts.Item> list = null;
494 list = new ArrayList<Contacts.Item>();
499 long id = cursor.getLong(cursor.getColumnIndex(Contacts.Impl._ID));
501 Contacts.Impl.CONTACT_LAST_UPDATED_TIMESTAMP));
503 Contacts.Item item = new Contacts.Item(id);
506 cursor.getColumnIndex(Contacts.Impl.CONTACT_NUMBER)));
508 cursor.getColumnIndex(Contacts.Impl.CONTACT_NAME)));
510 cursor.getColumnIndex(Contacts.Impl.VOLTE_CALL_CAPABILITY_TIMESTAMP)));
512 cursor.getColumnIndex(Contacts.Impl.VIDEO_CALL_CAPABILITY_TIMESTAMP)))
    [all...]
PollingTask.java 54 public List<Contacts.Item> mContacts = new ArrayList<Contacts.Item>();
64 public PollingTask(int type, List<Contacts.Item> list) {
70 Contacts.Item item = list.get(i);
160 Contacts.Item item = mContacts.get(i);
248 Contacts.Item item = mContacts.get(i);
EABService.java 110 logger.debug("Contacts database created.");
146 case Contacts.ACTION_EAB_DATABASE_RESET: {
209 filter.addAction(Contacts.ACTION_EAB_DATABASE_RESET);
254 ContactsContract.Contacts.CONTENT_URI, true,
358 // multiple content change notifys from contacts observer.
367 // multiple content change notify from contacts observer.
378 logger.debug("EAB initialized already!!! Just Sync with Contacts db.");
384 // This API will sync the numbers from Contacts db to EAB db based on
387 // This API's will sync the profile numbers from Contacts db to EAB db based on
589 // Contacts Provider DB
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ExportDialogFragment.java 17 package com.android.contacts.interactions;
31 import android.provider.ContactsContract.Contacts;
41 import com.android.contacts.R;
42 import com.android.contacts.util.ImplicitIntentsUtil;
43 import com.android.contacts.vcard.ExportVCardActivity;
44 import com.android.contacts.vcard.ShareVCardActivity;
45 import com.android.contacts.vcard.VCardCommonArguments;
48 * An dialog invoked to import/export contacts.
60 Contacts.LOOKUP_KEY
118 // share favorite and frequently contacted contacts from Favorites ta
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ContactUtil.java 28 import android.provider.ContactsContract.Contacts;
73 // Lookup key column index specific to frequent contacts query.
118 Contacts._ID, // 0
119 Contacts.DISPLAY_NAME, // 1
120 Contacts.PHOTO_URI, // 2
188 * Shows a contact card or add to contacts dialog for the given contact info
190 * @param contactId The id of the contact in the android contacts DB
191 * @param contactLookupKey The lookup key from contacts DB
201 ContactsContract.Contacts.getLookupUri(contactId, contactLookupKey);
231 // The AOSP Contacts provider allows adding a ContactsContract.REMOVE_DUPLICATE_ENTRIE
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
ContactUtilTest.java 24 import android.provider.ContactsContract.Contacts;
46 // TODO: This test will actually mess with contacts on your phone.
50 // add test contacts.
111 values.put(Contacts.STARRED, 1);
112 getContext().getContentResolver().update(Contacts.CONTENT_URI, values,
113 Contacts.DISPLAY_NAME + "= ?", new String[] { TEST_NAME_PREFIX + name });
118 * Remove test contacts added during test setup.
121 final Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_FILTER_URI,
128 final String lookupKey = cur.getString(cur.getColumnIndex(Contacts.LOOKUP_KEY));
129 final Uri uri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/list/
PhoneFavoritesTileAdapter.java 29 import android.provider.ContactsContract.Contacts;
38 import com.android.contacts.common.ContactPhotoManager;
39 import com.android.contacts.common.ContactTileLoaderFactory;
40 import com.android.contacts.common.list.ContactEntry;
41 import com.android.contacts.common.list.ContactTileView;
42 import com.android.contacts.common.preference.ContactsPreferences;
52 /** Also allows for a configurable number of columns as well as a maximum row of tiled contacts. */
55 // Pinned positions start from 1, so there are a total of 20 maximum pinned contacts
61 * number of starred contacts to show, rather 1. If the count of starred contacts is less tha
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/preference/
DisplayOptionsPreferenceFragment.java 17 package com.android.contacts.preference;
35 import android.provider.ContactsContract.Contacts;
46 import com.android.contacts.ContactsUtils;
47 import com.android.contacts.R;
48 import com.android.contacts.SimImportService;
49 import com.android.contacts.compat.TelecomManagerUtil;
50 import com.android.contacts.compat.TelephonyManagerCompat;
51 import com.android.contacts.interactions.ExportDialogFragment;
52 import com.android.contacts.interactions.ImportDialogFragment;
53 import com.android.contacts.list.ContactListFilter
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 17 package com.android.providers.contacts;
86 import android.provider.ContactsContract.Contacts;
87 import android.provider.ContactsContract.Contacts.AggregationSuggestions;
120 import com.android.providers.contacts.ContactLookupKey.LookupKeySegment;
121 import com.android.providers.contacts.ContactsDatabaseHelper.AccountsColumns;
122 import com.android.providers.contacts.ContactsDatabaseHelper.AggregatedPresenceColumns;
123 import com.android.providers.contacts.ContactsDatabaseHelper.AggregationExceptionColumns;
124 import com.android.providers.contacts.ContactsDatabaseHelper.Clauses;
125 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns;
126 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsStatusUpdatesColumns
    [all...]
FastScrollingIndexCache.java 17 package com.android.providers.contacts;
26 import android.provider.ContactsContract.Contacts;
169 bundle.putStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, titles);
170 bundle.putIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts);
243 bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES),
244 bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)));
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
64 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";
109 * Restart the Loader to query the Contacts content provider to display the first contact.
120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
64 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";
109 * Restart the Loader to query the Contacts content provider to display the first contact.
120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]
  /development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
64 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";
109 * Restart the Loader to query the Contacts content provider to display the first contact.
120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupMembersAdapter.java 16 package com.android.contacts.group;
24 import android.provider.ContactsContract.Contacts;
30 import com.android.contacts.R;
31 import com.android.contacts.list.ContactListItemView;
32 import com.android.contacts.list.MultiSelectEntryContactListAdapter;
33 import com.android.contacts.preference.ContactsPreferences;
89 return Contacts.getLookupUri(contactId, lookupKey);
112 .appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true")
129 ? Contacts.SORT_KEY_PRIMARY : Contacts.SORT_KEY_ALTERNATIVE)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_DirectoryTest.java 16 package android.provider.cts.contacts;
26 import android.provider.ContactsContract.Contacts;
28 import android.provider.cts.contacts.DummyGalProvider;
35 * a churn in the contacts provider. So this class should have only one test method and do all
108 final Uri queryUri = Contacts.CONTENT_FILTER_URI.buildUpon()
128 final JSONObject result = new JSONObject(getString(c, Contacts.DISPLAY_NAME));
  /packages/apps/Contacts/src/com/android/contacts/model/
SimContact.java 16 package com.android.contacts.model;
29 import com.android.contacts.ContactPhotoManager;
30 import com.android.contacts.model.account.AccountWithDataSet;
43 * Holds data for contacts loaded from the SIM card.
120 cursor.newRow().add(ContactsContract.Contacts._ID, mId)
121 .add(ContactsContract.Contacts.DISPLAY_NAME_PRIMARY, mName)
122 .add(ContactsContract.Contacts.LOOKUP_KEY, getLookupKey());
212 * Convert a collection of SIM contacts to a Cursor matching a query from
213 * {@link android.provider.ContactsContract.Contacts#CONTENT_URI} with the provided projection.
215 * This allows a collection of SIM contacts to be displayed using the existing adapters fo
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/interactions/
ContactDeletionInteractionTest.java 17 package com.android.contacts.interactions;
21 import android.provider.ContactsContract.Contacts;
22 import android.provider.ContactsContract.Contacts.Entity;
26 import com.android.contacts.ContactsApplication;
27 import com.android.contacts.R;
28 import com.android.contacts.model.AccountTypeManager;
29 import com.android.contacts.model.account.AccountType;
30 import com.android.contacts.model.account.BaseAccountType;
31 import com.android.contacts.test.FragmentTestActivity;
32 import com.android.contacts.test.IntegrationTestUtils
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
ContactStatusLoader.java 28 import android.provider.ContactsContract.Contacts;
46 Contacts.PHOTO_ID,
47 Contacts.CONTACT_PRESENCE
  /packages/apps/EmergencyInfo/src/com/android/emergency/
EmergencyContactManager.java 32 * Provides methods to read name, phone number, photo, etc. from contacts.
47 ContactsContract.Contacts.getLookupUri(context.getContentResolver(),
51 new String[]{ContactsContract.Contacts.DISPLAY_NAME,
71 new String[]{ContactsContract.Contacts.Photo.PHOTO},
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactSectionIndexer.java 20 import android.provider.ContactsContract.Contacts;
103 Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES);
104 final int[] counts = cursorExtras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS);
141 // named "Bob" will go into section "B". The Contacts provider generally uses a
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ContactsBinaryDictionary.java 23 import android.provider.ContactsContract.Contacts;
42 private static final String NAME = "contacts";
86 loadDictionaryForUriLocked(Contacts.CONTENT_URI);
115 Log.i(TAG, "No permission to read contacts. Not loading the Dictionary.");
122 if (uri.equals(Contacts.CONTENT_URI)) {
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 214 Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
232 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
234 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
261 int idx = cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME);
263 idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
266 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo

Completed in 784 milliseconds

1 2 3 45 6 7 8 91011>>