/packages/apps/UnifiedEmail/src/com/android/mail/ |
ContactInfo.java | 24 public final Uri contactUri; 29 public ContactInfo(Uri contactUri, Integer status) { 30 this(contactUri, status, null, null); 33 public ContactInfo(Uri contactUri, Integer status, byte[] photoBytes) { 34 this(contactUri, status, photoBytes, null); 37 public ContactInfo(Uri contactUri, Integer status, Bitmap photo) { 38 this(contactUri, status, null, photo); 41 private ContactInfo(Uri contactUri, Integer status, byte[] photoBytes, Bitmap photo) { 42 this.contactUri = contactUri; [all...] |
SenderInfoLoader.java | 141 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 147 ContactInfo result = new ContactInfo(contactUri, status); 193 new ContactInfo(prevResult.contactUri, prevResult.status, photo)); 197 prevResult.contactUri, prevResult.status, photoBytes));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
OnContactBrowserActionListener.java | 51 void onDeleteContactAction(Uri contactUri); 56 void onAddToFavoritesAction(Uri contactUri); 61 void onRemoveFromFavoritesAction(Uri contactUri);
|
OnContactPickerActionListener.java | 29 void onPickContactAction(Uri contactUri);
|
ContactBrowseListFragment.java | 543 Uri contactUri = null; 551 contactUri = adapter.getContactUri(pos); 554 if (contactUri == null) { 555 contactUri = adapter.getFirstContactUri(); 558 setSelectedContactUri(contactUri, false, mSmoothScrollRequested, false, false); 604 public void viewContact(Uri contactUri) { 605 setSelectedContactUri(contactUri, false, false, true, false); 606 if (mListener != null) mListener.onViewContactAction(contactUri); 609 public void editContact(Uri contactUri) { 610 if (mListener != null) mListener.onEditContactAction(contactUri); [all...] |
JoinContactListFragment.java | 158 final Uri contactUri = getAdapter().getContactUri(position); 159 if (contactUri != null) mListener.onPickContactAction(contactUri); 164 final Uri contactUri = data.getData(); 165 if (contactUri != null) mListener.onPickContactAction(contactUri);
|
ContactPickerFragment.java | 144 public void editContact(Uri contactUri) { 145 mListener.onEditContactAction(contactUri);
|
ContactsRequest.java | 242 public void setContactUri(Uri contactUri) { 243 this.mContactUri = contactUri;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
HomeNormal.java | 41 public void onContactSelected(Uri contactUri) { 43 if (contactUri != null) { 45 intent.setData(contactUri);
|
HomeXLarge.java | 75 public void onContactSelected(Uri contactUri) { 77 mDetails.loadContact(contactUri);
|
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetails.java | 54 public final Uri contactUri; 79 int numberType, CharSequence numberLabel, Uri contactUri, 92 this.contactUri = contactUri;
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 91 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13); 92 expectQuery(contactUri) 99 interaction.startInteraction(contactUri); 129 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13); 130 expectQuery(contactUri) 139 interaction.startInteraction(contactUri); 170 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13); 171 expectQuery(contactUri) 180 interaction.startInteraction(contactUri); 191 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13) [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 54 private static final String KEY_CONTACT_URI = "contactUri"; 56 public static final String ARG_CONTACT_URI = "contactUri"; 88 * @param contactUri the URI of the contact to delete 94 Activity activity, Uri contactUri, boolean finishActivityWhenDone) { 95 return startWithTestLoaderManager(activity, contactUri, finishActivityWhenDone, null); 102 * @param contactUri the URI of the contact to delete 111 Activity activity, Uri contactUri, boolean finishActivityWhenDone, 113 if (contactUri == null) { 123 fragment.setContactUri(contactUri); 129 fragment.setContactUri(contactUri); [all...] |
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactAccessorSdk3_4.java | 55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { 57 Cursor cursor = contentResolver.query(contactUri, 67 Uri phoneUri = Uri.withAppendedPath(contactUri, Phones.CONTENT_DIRECTORY);
|
ContactAccessorSdk5.java | 58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { 63 Cursor cursor = contentResolver.query(contactUri,
|
ContactAccessor.java | 88 public abstract ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri);
|
BusinessCardActivity.java | 78 * Invoked when the contact picker activity is finished. The {@code contactUri} parameter 92 private void loadContactInfo(Uri contactUri) { 112 task.execute(contactUri);
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactsListActivity.java | 97 * @param contactUri The contact Uri to the selected contact. 100 public void onContactSelected(Uri contactUri) { 103 mContactDetailFragment.setContact(contactUri); 108 intent.setData(contactUri);
|
ContactDetailFragment.java | 105 * @param contactUri The contact Uri to load 108 public static ContactDetailFragment newInstance(Uri contactUri) { 114 args.putParcelable(EXTRA_CONTACT_URI, contactUri); 312 // If contactUri is null the edit menu item should be hidden, otherwise 534 * @param contactUri The Uri of the contact containing the image. 539 private Bitmap loadContactPhoto(Uri contactUri, int imageSize) { 560 Uri displayImageUri = Uri.withAppendedPath(contactUri, Photo.DISPLAY_PHOTO); 577 Log.d(TAG, "Contact photo not found for contact " + contactUri.toString() 600 Uri imageUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY); 619 Log.d(TAG, "Contact photo not found for contact " + contactUri.toString( [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
NfcHandler.java | 65 Uri contactUri = mContactFragment.getUri(); 67 if (contactUri != null) { 68 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2));
|
ContactSaveService.java | 107 public static final String EXTRA_CONTACT_URI = "contactUri"; [all...] |
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
UndemoteOutgoingCallReceiver.java | 67 final Uri contactUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, 69 final Cursor cursor = context.getContentResolver().query(contactUri, new String[] {
|
/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/apps/Contacts/src/com/android/contacts/activities/ |
GroupDetailActivity.java | 107 public void onContactSelected(Uri contactUri) { 108 Intent intent = new Intent(Intent.ACTION_VIEW, contactUri);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
CallerInfoUtils.java | 188 public static void sendViewNotification(Context context, Uri contactUri) { 189 final Intent intent = new Intent(VIEW_NOTIFICATION_ACTION, contactUri);
|