/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); 66 void onCallContactAction(Uri contactUri); 71 void onSmsContactAction(Uri contactUri);
|
OnContactPickerActionListener.java | 29 void onPickContactAction(Uri contactUri);
|
ContactBrowseListFragment.java | 552 Uri contactUri = null; 560 contactUri = adapter.getContactUri(pos); 563 if (contactUri == null) { 564 contactUri = adapter.getFirstContactUri(); 567 setSelectedContactUri(contactUri, false, mSmoothScrollRequested, false, false); 613 public void viewContact(Uri contactUri) { 614 setSelectedContactUri(contactUri, false, false, true, false); 615 if (mListener != null) mListener.onViewContactAction(contactUri); 618 public void editContact(Uri contactUri) { 619 if (mListener != null) mListener.onEditContactAction(contactUri); [all...] |
ContactTileListFragment.java | 52 public void onContactSelected(Uri contactUri, Rect targetRect); 170 public void onContactSelected(Uri contactUri, Rect targetRect) { 172 mListener.onContactSelected(contactUri, targetRect);
|
ContactPickerFragment.java | 142 public void editContact(Uri contactUri) { 143 mListener.onEditContactAction(contactUri);
|
ContactsRequest.java | 242 public void setContactUri(Uri contactUri) { 243 this.mContactUri = contactUri;
|
ShortcutIntentBuilder.java | 120 public void createContactShortcutIntent(Uri contactUri) { 121 new ContactLoadingAsyncTask(contactUri).execute(); 244 private void createContactShortcutIntent(Uri contactUri, String displayName, 254 shortcutIntent.setData(contactUri); 268 mListener.onShortcutIntentCreated(contactUri, intent);
|
/packages/apps/Contacts/src/com/android/contacts/ |
CallContactActivity.java | 39 Uri contactUri = getIntent().getData(); 40 if (contactUri == null) { 50 if (Contacts.CONTENT_ITEM_TYPE.equals(getContentResolver().getType(contactUri))) { 51 PhoneNumberInteraction.startInteractionForPhoneCall(this, contactUri); 53 startActivity(new Intent(Intent.ACTION_CALL_PRIVILEGED, contactUri));
|
PhoneCallDetails.java | 52 public final Uri contactUri; 71 CharSequence name, int numberType, CharSequence numberLabel, Uri contactUri, 83 this.contactUri = contactUri;
|
NfcHandler.java | 66 Uri contactUri = mContactFragment.getUri(); 68 if (contactUri != null) { 69 final String lookupKey = Uri.encode(contactUri.getPathSegments().get(2));
|
ContactSaveService.java | 95 public static final String EXTRA_CONTACT_URI = "contactUri"; 690 public static Intent createSetStarredIntent(Context context, Uri contactUri, boolean value) { 693 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri); 700 Uri contactUri = intent.getParcelableExtra(EXTRA_CONTACT_URI); 702 if (contactUri == null) { 709 getContentResolver().update(contactUri, values, null, null); 715 public static Intent createSetSendToVoicemail(Context context, Uri contactUri, 719 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri); [all...] |
/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);
|
HomeGroupsXLarge.java | 90 public void onContactSelected(Uri contactUri) { 91 if (contactUri == null) { 95 ContactFragment details = new ContactFragment(contactUri,
|
ContactHeaderWidget.java | 538 * @param contactUri a {Contacts.CONTENT_URI} style URI. 541 private void bindFromContactUriInternal(Uri contactUri, boolean resetQueryHandler) { 542 mContactUri = contactUri; 543 startContactQuery(contactUri, resetQueryHandler); 583 * @param contactUri the contact uri 586 private void startContactQuery(Uri contactUri, boolean resetQueryHandler) { 591 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS,
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
PhoneNumberInteractionTest.java | 90 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13); 91 expectQuery(contactUri) 97 interaction.startInteraction(contactUri); 126 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13); 127 expectQuery(contactUri) 134 interaction.startInteraction(contactUri); 165 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13); 166 expectQuery(contactUri) 173 interaction.startInteraction(contactUri); 184 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13) [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 55 private static final String KEY_CONTACT_URI = "contactUri"; 57 public static final String ARG_CONTACT_URI = "contactUri"; 89 * @param contactUri the URI of the contact to delete 95 Activity activity, Uri contactUri, boolean finishActivityWhenDone) { 96 return startWithTestLoaderManager(activity, contactUri, finishActivityWhenDone, null); 103 * @param contactUri the URI of the contact to delete 112 Activity activity, Uri contactUri, boolean finishActivityWhenDone, 114 if (contactUri == null) { 124 fragment.setContactUri(contactUri); 130 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);
|
/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/ |
JoinContactActivity.java | 108 public void onPickContactAction(Uri contactUri) { 109 Intent intent = new Intent(null, contactUri);
|
PeopleActivity.java | [all...] |
GroupDetailActivity.java | 107 public void onContactSelected(Uri contactUri) { 108 Intent intent = new Intent(Intent.ACTION_VIEW, contactUri);
|