/packages/apps/UnifiedEmail/src/com/android/mail/ |
ContactInfo.java | 23 public class ContactInfo { 28 public ContactInfo(Uri contactUri) { 32 public ContactInfo(Uri contactUri, byte[] photoBytes) { 36 public ContactInfo(Uri contactUri, Bitmap photo) { 40 private ContactInfo(Uri contactUri, byte[] photoBytes, Bitmap photo) {
|
ContactInfoSource.java | 22 * Views that are interested in looking up ContactInfo objects should bind themselves to a 28 ContactInfo getContactInfo(String email);
|
SenderInfoLoader.java | 49 public class SenderInfoLoader extends AsyncTaskLoader<ImmutableMap<String, ContactInfo>> { 89 public ImmutableMap<String, ContactInfo> loadInBackground() { 103 * {@link ContactInfo}. Otherwise, just put the raw bytes of the photo 104 * into the {@link ContactInfo}. 105 * @return A mapping of email to {@link ContactInfo}. How to interpret the map: 109 * <li>Either {@link ContactInfo#photoBytes} or {@link ContactInfo#photo} is non-null - 111 * <li>Both {@link ContactInfo#photoBytes} and {@link ContactInfo#photo} are null - 115 public static ImmutableMap<String, ContactInfo> loadContactPhotos [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ContactLoaderCallbacks.java | 27 import com.android.mail.ContactInfo; 39 LoaderManager.LoaderCallbacks<ImmutableMap<String, ContactInfo>> { 42 private ImmutableMap<String, ContactInfo> mContactInfoMap; 56 public Loader<ImmutableMap<String, ContactInfo>> onCreateLoader(int id, Bundle args) { 61 public void onLoadFinished(Loader<ImmutableMap<String, ContactInfo>> loader, 62 ImmutableMap<String, ContactInfo> data) { 68 public void onLoaderReset(Loader<ImmutableMap<String, ContactInfo>> loader) { 72 public ContactInfo getContactInfo(String email) {
|
/packages/apps/Dialer/src/com/android/dialer/service/ |
CachedNumberLookupService.java | 6 import com.android.dialer.calllog.ContactInfo; 11 public ContactInfo getContactInfo(); 18 public CachedContactInfo buildCachedContactInfo(ContactInfo info); 27 * number is found in the cache, {@link ContactInfo#EMPTY} if the phone number was
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 66 public ContactInfo lookupNumber(String number, String countryIso) { 67 final ContactInfo info; 72 ContactInfo sipInfo = queryContactInfoForSipAddress(number); 73 if (sipInfo == null || sipInfo == ContactInfo.EMPTY) { 84 ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso); 86 if (phoneInfo == null || phoneInfo == ContactInfo.EMPTY) { 93 final ContactInfo updatedInfo; 99 if (info == ContactInfo.EMPTY) { 101 updatedInfo = new ContactInfo(); 145 * It returns null if an error occurs, {@link ContactInfo#EMPTY} if no matching contact i [all...] |
ContactInfo.java | 28 public class ContactInfo { 44 public static ContactInfo EMPTY = new ContactInfo(); 67 ContactInfo other = (ContactInfo) obj;
|
CallLogAdapter.java | 157 private ExpirableCache<NumberWithCountryIso, ContactInfo> mContactInfoCache; 193 public final ContactInfo callLogInfo; 195 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) { 457 protected void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, 480 private boolean queryContactInfo(String number, String countryIso, ContactInfo callLogInfo) { 481 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); 491 ContactInfo existingInfo = mContactInfoCache.getPossiblyExpired(numberCountryIso); 495 // Don't force redraw if existing info in the cache is equal to {@link ContactInfo#EMPTY} 501 boolean updated = (existingInfo != ContactInfo.EMPTY || isRemoteSource) && 677 final ContactInfo cachedContactInfo = getContactInfoFromCallLog(c) [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/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogAdapterTest.java | 58 public ContactInfo lookupNumber(String number, String countryIso) { 59 ContactInfo info = new ContactInfo(); 148 ContactInfo info = createContactInfo(); 164 private ContactInfo createContactInfo() { 165 ContactInfo info = new ContactInfo(); 199 public final ContactInfo callLogInfo; 202 public Request(String number, String countryIso, ContactInfo callLogInfo, 219 protected void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo [all...] |
CallLogFragmentTest.java | 219 // {@value com.android.dialer.calllog.ContactInfo#GEOCODE_AS_LABEL} 247 // {@value com.android.dialer.calllog.ContactInfo#GEOCODE_AS_LABEL} 262 // {@link com.android.dialer.calllog.ContactInfo#GEOCODE_AS_LABEL} 479 ContactInfo contactInfo = new ContactInfo(); 480 contactInfo.lookupUri = TEST_LOOKUP_URI; 481 contactInfo.name = cachedName; 482 contactInfo.type = cachedNumberType; 483 contactInfo.label = cachedNumberLabel [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
RegularSearchListAdapter.java | 27 import com.android.dialer.calllog.ContactInfo; 42 ContactInfo info = new ContactInfo();
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ContactResolver.java | 30 import com.android.mail.ContactInfo; 182 final ImmutableMap<String, ContactInfo> contactInfos = loadContactPhotos(emails); 196 final ContactInfo contactInfo = contactInfos.get(email); 197 if (contactInfo == null) { 205 final byte[] photo = contactInfo.photoBytes; 238 protected ImmutableMap<String, ContactInfo> loadContactPhotos(Set<String> emails) {
|
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetailsHelper.java | 32 import com.android.dialer.calllog.ContactInfo; 174 if (details.numberLabel == ContactInfo.GEOCODE_AS_LABEL) {
|
CallDetailActivity.java | 56 import com.android.dialer.calllog.ContactInfo; 557 ContactInfo info = [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageHeaderView.java | 52 import com.android.mail.ContactInfo; 832 final ContactInfo info = mContactInfoSource.getContactInfo(email); [all...] |