/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfo.java | 29 public Uri lookupUri; 52 // Moreover, there should be no two people with the same lookupUri. 55 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode()); 66 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false; 80 return Objects.toStringHelper(this).add("lookupUri", lookupUri).add("name", name).add(
|
ContactInfoHelper.java | 103 updatedInfo.lookupUri = createTemporaryContactUri(updatedInfo.formattedNumber); 160 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey); 263 public static String getLookupKeyFromUri(Uri lookupUri) { 268 if (lookupUri != null && !UriUtils.isEncodedContactUri(lookupUri)) { 269 final List<String> segments = lookupUri.getPathSegments();
|
CallLogAdapter.java | 609 final Uri lookupUri = info.lookupUri; 628 duration, name, ntype, label, lookupUri, photoUri, sourceType); 645 String lookupKey = lookupUri == null ? null 646 : ContactInfoHelper.getLookupKeyFromUri(lookupUri); 657 setPhoto(views, photoUri, lookupUri, nameForDefaultImage, lookupKey, contactType); 659 setPhoto(views, photoId, lookupUri, nameForDefaultImage, lookupKey, contactType); 802 if (!UriUtils.areEqual(updatedInfo.lookupUri, callLogInfo.lookupUri)) { 803 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLookupKeyTest.java | 59 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey); 60 assertStoredValue(lookupUri, Contacts._ID, contactId); 63 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId), 67 assertStoredValue(ContentUris.withAppendedId(lookupUri, contactId + 1), 93 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, expectedLookupKey); 94 assertStoredValue(lookupUri, Contacts._ID, contactId); 164 Uri lookupUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, lookupKey); 165 assertStoredValue(lookupUri, Contacts._ID, largerContactId); 173 String lookupUri = "content://com.android.contacts/contacts/lookup/0i1/" + contactId; 176 assertEquals(lookupUri, [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactEntry.java | 32 public Uri lookupUri;
|
ContactTileView.java | 98 mLookupUri = entry.lookupUri;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
ContactLoaderTest.java | 107 final Uri lookupUri = ContentUris.withAppendedId( 121 assertEquals(lookupUri, contact.getLookupUri()); 138 final Uri lookupUri = ContentUris.withAppendedId( 141 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); 153 assertEquals(lookupUri, contact.getLookupUri()); 168 final Uri lookupUri = ContentUris.withAppendedId( 171 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); 184 assertEquals(lookupUri, contact.getLookupUri()); 200 final Uri lookupUri = ContentUris.withAppendedId(lookupNoIdUri, contactId); 213 assertEquals(lookupUri, contact.getLookupUri()) [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ContactStatusLoader.java | 76 public Result(Bitmap photo, int presenceResId, Uri lookupUri) { 79 mLookupUri = lookupUri; 143 final Uri lookupUri = Data.getContactLookupUri(context.getContentResolver(), uri); 144 return new Result(photo, presenceStatusResId, lookupUri);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_RawContactsTest.java | 69 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); 70 assertNotNull("Could not produce a lookup URI", lookupUri); 72 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load(); 86 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); 87 assertNotNull("Could not produce a lookup URI", lookupUri); 89 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load();
|
ContactsContract_ContactsTest.java | 100 Uri lookupUri = Contacts.getLookupUri(contactId, lookupKey); 102 lookupKey), contactId), lookupUri); 105 assertEquals(lookupUri, lookupUri2); 107 Uri contactUri2 = Contacts.lookupContact(mResolver, lookupUri);
|
ContactsContract_DataTest.java | 80 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); 81 assertNotNull("Could not produce a lookup URI", lookupUri); 83 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load(); 97 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); 98 assertNotNull("Could not produce a lookup URI", lookupUri); 100 TestContact lookupContact = mBuilder.newContact().setUri(lookupUri).load();
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 312 Uri lookupUri = null; 327 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 342 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 353 mContactUri = lookupUri; 356 if (trigger && lookupUri != null) { 358 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, lookupUri,
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ImageAttachmentRequest.java | 28 public ImageAttachmentRequest(final Context context, final String lookupUri, 31 mLookupUri = lookupUri;
|
AttachmentDrawable.java | 132 public void bind(Context context, String lookupUri, int rendition) { 137 setImage(new ImageAttachmentRequest(context, lookupUri, rendition, bounds.width()));
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactLoaderFragment.java | 93 public void onEditRequested(Uri lookupUri); 98 public void onDeleteRequested(Uri lookupUri); 156 public void loadUri(Uri lookupUri) { 157 if (Objects.equal(lookupUri, mLookupUri)) { 162 mLookupUri = lookupUri; 187 Uri lookupUri = args.getParcelable(LOADER_ARG_CONTACT_URI); 188 return new ContactLoader(mContext, lookupUri, true /* loadGroupMetaData */,
|
ContactDetailUpdatesFragment.java | 116 public void setData(Uri lookupUri, Contact result) { 120 mLookupUri = lookupUri;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 341 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); 342 final String lookupKey = lookupUri.getPathSegments().get(2); 352 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); 353 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupUri); 416 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); 417 final String lookupKey = lookupUri.getPathSegments().get(2); 427 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); 428 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupUri);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
MoreContactUtils.java | 203 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { 215 intent.setData(lookupUri);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 209 Uri lookupUri = intent.getData(); 212 if (lookupUri != null && LEGACY_AUTHORITY.equals(lookupUri.getAuthority())) { 213 final long rawContactId = ContentUris.parseId(lookupUri); 214 lookupUri = RawContacts.getContactLookupUri(getContentResolver(), 218 mLookupUri = Preconditions.checkNotNull(lookupUri, "missing lookupUri"); 386 final Uri lookupUri = data.getLookupUri(); 389 if (UriUtils.isEncodedContactUri(lookupUri)) { 407 if (lookupUri != null) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | 94 public ContactLoader(Context context, Uri lookupUri, boolean postViewNotification) { 95 this(context, lookupUri, false, false, postViewNotification, false); 98 public ContactLoader(Context context, Uri lookupUri, boolean loadGroupMetaData, 102 mLookupUri = lookupUri; 103 mRequestedUri = lookupUri; 623 Uri lookupUri; 625 lookupUri = ContentUris.withAppendedId( 628 lookupUri = contactUri; 631 return new Contact(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey, [all...] |
Contact.java | 138 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, 146 mLookupUri = lookupUri;
|
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactLoader.java | 153 public ContactLoader(Context context, Uri lookupUri) { 155 mLookupUri = lookupUri;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 264 final Uri lookupUri = Contacts.getLookupUri( 270 setPhotoId(photoId, lookupUri); 379 public void setPhotoId(final long photoId, final Uri lookupUri) { 382 mPhotoView.assignContactUri(lookupUri); 385 startPhotoQuery(photoId, lookupUri,
|
/packages/apps/Dialer/src/com/android/dialer/ |
CallDetailActivity.java | [all...] |