HomeSort by relevance Sort by last modified time
    Searched defs:contactUri (Results 1 - 25 of 67) sorted by null

1 2 3

  /packages/apps/UnifiedEmail/src/com/android/mail/
ContactInfo.java 24 public final Uri contactUri;
28 public ContactInfo(Uri contactUri) {
29 this(contactUri, null, null);
32 public ContactInfo(Uri contactUri, byte[] photoBytes) {
33 this(contactUri, photoBytes, null);
36 public ContactInfo(Uri contactUri, Bitmap photo) {
37 this(contactUri, null, photo);
40 private ContactInfo(Uri contactUri, byte[] photoBytes, Bitmap photo) {
41 this.contactUri = contactUri;
    [all...]
SenderInfoLoader.java 157 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
159 ContactInfo result = new ContactInfo(contactUri);
223 results.put(email, new ContactInfo(prevResult.contactUri, photo));
226 results.put(email, new ContactInfo(prevResult.contactUri, photoBytes));
  /packages/apps/Dialer/src/com/android/dialer/interactions/
UndemoteOutgoingCallReceiver.java 85 final Uri contactUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI,
89 cursor = context.getContentResolver().query(contactUri, new String[] {
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/
ContactTestUtils.java 35 Uri contactUri = Uri.withAppendedPath(ContactsContract.PhoneLookup.CONTENT_FILTER_URI,
37 Cursor cursor = contentResolver.query(contactUri, null, null, null, null);
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListFragment.java 163 final Uri contactUri = getAdapter().getContactUri(position);
164 if (contactUri != null) mListener.onPickContactAction(contactUri);
169 final Uri contactUri = data.getData();
170 if (contactUri != null) mListener.onPickContactAction(contactUri);
ContactBrowseListFragment.java 546 Uri contactUri = null;
554 contactUri = adapter.getContactUri(pos);
557 if (contactUri == null) {
558 contactUri = adapter.getFirstContactUri();
561 setSelectedContactUri(contactUri, false, mSmoothScrollRequested, false, false);
603 public void viewContact(Uri contactUri, boolean isEnterpriseContact) {
604 setSelectedContactUri(contactUri, false, false, true, false);
605 if (mListener != null) mListener.onViewContactAction(contactUri, isEnterpriseContact);
608 public void deleteContact(Uri contactUri) {
609 if (mListener != null) mListener.onDeleteContactAction(contactUri);
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/
PhoneCallDetails.java 76 public Uri contactUri;
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
ContactUtilTest.java 121 final Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_FILTER_URI,
124 mContext.getContentResolver().query(contactUri, null, null, null, null);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
RawContactUtil.java 96 Uri contactUri = resolver.insert(uri, values);
97 return ContentUris.parseId(contactUri);
106 Uri contactUri = resolver.insert(uri, values);
107 return ContentUris.parseId(contactUri);
145 Uri contactUri = resolver.insert(uri, values);
146 return ContentUris.parseId(contactUri);
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 162 Uri contactUri = data.getData();
163 mContactUri = contactUri;
164 updateContactEntryFromUri(contactUri);
176 * @param contactUri The URI to be added to the new notification as metadata.
181 Notification createNotification(Priority priority, Category category, Uri contactUri) {
189 if (contactUri != null) {
190 notificationBuilder.addPerson(contactUri.toString());
191 Bitmap photoBitmap = loadBitmapFromContactUri(contactUri);
205 * @param contactUri The URI to be added to the new notification as metadata.
207 private void showNotificationClicked(Priority priority, Category category, Uri contactUri) {
    [all...]
  /developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 162 Uri contactUri = data.getData();
163 mContactUri = contactUri;
164 updateContactEntryFromUri(contactUri);
176 * @param contactUri The URI to be added to the new notification as metadata.
181 Notification createNotification(Priority priority, Category category, Uri contactUri) {
189 if (contactUri != null) {
190 notificationBuilder.addPerson(contactUri.toString());
191 Bitmap photoBitmap = loadBitmapFromContactUri(contactUri);
205 * @param contactUri The URI to be added to the new notification as metadata.
207 private void showNotificationClicked(Priority priority, Category category, Uri contactUri) {
    [all...]
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
OtherMetadataFragment.java 162 Uri contactUri = data.getData();
163 mContactUri = contactUri;
164 updateContactEntryFromUri(contactUri);
176 * @param contactUri The URI to be added to the new notification as metadata.
181 Notification createNotification(Priority priority, Category category, Uri contactUri) {
189 if (contactUri != null) {
190 notificationBuilder.addPerson(contactUri.toString());
191 Bitmap photoBitmap = loadBitmapFromContactUri(contactUri);
205 * @param contactUri The URI to be added to the new notification as metadata.
207 private void showNotificationClicked(Priority priority, Category category, Uri contactUri) {
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_StreamItemsTest.java 90 Uri contactUri = resolver.insert(RawContacts.CONTENT_URI, values);
91 long rawContactId = ContentUris.parseId(contactUri);
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 181 final Uri contactUri = Contacts.getLookupUri(contactId, lookupKey);
182 final Intent viewIntent = new Intent(Intent.ACTION_VIEW, contactUri);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NotificationImportExportListener.java 125 final Uri contactUri = RawContacts.getContactLookupUri(
128 intent = new Intent(Intent.ACTION_VIEW, contactUri);
NfcImportVCardActivity.java 250 Uri contactUri = RawContacts.getContactLookupUri(getContentResolver(), uri);
251 Intent intent = new Intent(Intent.ACTION_VIEW, contactUri);
  /packages/apps/Dialer/tests/src/com/android/dialer/interactions/
PhoneNumberInteractionTest.java 93 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13);
94 expectQuery(contactUri)
101 interaction.startInteraction(contactUri);
131 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13);
132 expectQuery(contactUri)
141 interaction.startInteraction(contactUri);
172 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13);
173 expectQuery(contactUri)
182 interaction.startInteraction(contactUri);
193 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13)
    [all...]
  /packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
EmergencyContactsPreference.java 96 * Adds a new emergency contact. The {@code contactUri} is the
100 public void addNewEmergencyContact(Uri contactUri) {
101 if (!mEmergencyContacts.contains(contactUri)) {
103 if (updatedContacts.add(contactUri) && callChangeListener(updatedContacts)) {
144 private void addContactPreference(Uri contactUri) {
145 final ContactPreference contactPreference = new ContactPreference(getContext(), contactUri);
196 Uri contactUri = Uri.parse(emergencyContact);
197 if (EmergencyContactManager.isValidEmergencyContact(context, contactUri)) {
198 filteredEmergencyContacts.add(contactUri);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageChangeObserver.java 149 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI,
154 context.getContentResolver().registerContentObserver(contactUri, false,
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactLoader.java 64 Uri contactUri = null;
68 contactUri = Contacts.lookupContact(resolver, mLookupUri);
72 if (contactUri == null) {
75 result.uri = contactUri;
78 final Uri dataUri = Uri.withAppendedPath(contactUri, Contacts.Data.CONTENT_DIRECTORY);
116 final long contactId = ContentUris.parseId(contactUri);
  /packages/services/Telephony/src/com/android/phone/
CallController.java 429 Uri contactUri = intent.getData();
439 contactUri,
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java 360 Uri contactUri = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI,
363 CallerInfo info = getCallerInfo(context, contactUri);
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
EditInfoActivityTest.java 114 final Uri contactUri = ContactTestUtils
117 emergencyContacts.add(contactUri);
  /developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java 202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
204 contactUri, true /*preferHighres*/);
  /developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java 202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
204 contactUri, true /*preferHighres*/);

Completed in 1460 milliseconds

1 2 3