HomeSort by relevance Sort by last modified time
    Searched refs:ContactInfo (Results 1 - 11 of 11) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/calllog/
ContactInfo.java 27 public final class ContactInfo {
40 public static ContactInfo EMPTY = new ContactInfo();
59 ContactInfo other = (ContactInfo) obj;
ContactInfoHelper.java 54 public ContactInfo lookupNumber(String number, String countryIso) {
55 final ContactInfo info;
60 ContactInfo sipInfo = queryContactInfoForSipAddress(number);
61 if (sipInfo == null || sipInfo == ContactInfo.EMPTY) {
73 final ContactInfo updatedInfo;
79 if (info == ContactInfo.EMPTY) {
81 updatedInfo = new ContactInfo();
96 * If no contact corresponds to the given SIP address, returns {@link ContactInfo#EMPTY}.
100 private ContactInfo queryContactInfoForSipAddress(String sipAddress) {
101 final ContactInfo info
    [all...]
CallLogAdapter.java 73 private ExpirableCache<String, ContactInfo> mContactInfoCache;
84 public final ContactInfo callLogInfo;
86 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) {
243 public ContactInfo getContactInfo(String number) {
288 void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo,
314 private boolean queryContactInfo(String number, String countryIso, ContactInfo callLogInfo) {
315 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso);
324 ContactInfo existingInfo = mContactInfoCache.getPossiblyExpired(number);
463 final ContactInfo cachedContactInfo = getContactInfoFromCallLog(c);
484 ExpirableCache.CachedValue<ContactInfo> cachedInfo
    [all...]
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactInfo.java 22 public class ContactInfo {
BusinessCardActivity.java 99 AsyncTask<Uri, Void, ContactInfo> task = new AsyncTask<Uri, Void, ContactInfo>() {
102 protected ContactInfo doInBackground(Uri... uris) {
107 protected void onPostExecute(ContactInfo result) {
118 protected void bindView(ContactInfo contactInfo) {
120 displayNameView.setText(contactInfo.getDisplayName());
123 phoneNumberView.setText(contactInfo.getPhoneNumber());
ContactAccessorSdk3_4.java 55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) {
56 ContactInfo contactInfo = new ContactInfo();
61 contactInfo.setDisplayName(cursor.getString(0));
73 contactInfo.setPhoneNumber(cursor.getString(0));
79 return contactInfo;
ContactAccessorSdk5.java 58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) {
59 ContactInfo contactInfo = new ContactInfo();
68 contactInfo.setDisplayName(cursor.getString(1));
80 contactInfo.setPhoneNumber(cursor.getString(0));
86 return contactInfo;
ContactAccessor.java 88 public abstract ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri);
  /packages/apps/Contacts/tests/src/com/android/contacts/calllog/
CallLogAdapterTest.java 59 public ContactInfo lookupNumber(String number, String countryIso) {
60 ContactInfo info = new ContactInfo();
150 ContactInfo info = createContactInfo();
166 private ContactInfo createContactInfo() {
167 ContactInfo info = new ContactInfo();
201 public final ContactInfo callLogInfo;
204 public Request(String number, String countryIso, ContactInfo callLogInfo,
221 void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
CallLogActivityTests.java 26 import com.android.contacts.calllog.ContactInfo;
465 ContactInfo contactInfo = new ContactInfo();
466 contactInfo.lookupUri = TEST_LOOKUP_URI;
467 contactInfo.name = cachedName;
468 contactInfo.type = cachedNumberType;
469 contactInfo.label = cachedNumberLabel;
474 contactInfo.formattedNumber = formattedNumber;
475 contactInfo.normalizedNumber = number
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
CallDetailActivity.java 22 import com.android.contacts.calllog.ContactInfo;
565 ContactInfo info =
    [all...]

Completed in 528 milliseconds