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

  /development/samples/BusinessCard/src/com/example/android/businesscard/
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;
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());
  /packages/apps/InCallUI/src/com/android/incallui/
StatusBarNotifier.java 256 private void buildAndSendNotification(Call originalCall, ContactCacheEntry contactInfo) {
270 final Bitmap largeIcon = getLargeIconToDisplay(contactInfo, call);
272 final String contentTitle = getContentTitle(contactInfo, call);
312 addPersonReference(builder, contactInfo, call);
390 private String getContentTitle(ContactCacheEntry contactInfo, Call call) {
395 if (TextUtils.isEmpty(contactInfo.name)) {
396 return TextUtils.isEmpty(contactInfo.number) ? null
398 contactInfo.number.toString(), TextDirectionHeuristics.LTR);
401 return contactInfo.name;
404 private void addPersonReference(Notification.Builder builder, ContactCacheEntry contactInfo,
    [all...]
CallCardPresenter.java 646 private static String getNameForCall(ContactCacheEntry contactInfo) {
647 if (TextUtils.isEmpty(contactInfo.name)) {
648 return contactInfo.number;
650 return contactInfo.name;
656 private static String getNumberForCall(ContactCacheEntry contactInfo) {
659 if (TextUtils.isEmpty(contactInfo.name)) {
660 return contactInfo.location;
662 return contactInfo.number;
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
CallLogFragmentTest.java 220 // {@value com.android.dialer.calllog.ContactInfo#GEOCODE_AS_LABEL}
248 // {@value com.android.dialer.calllog.ContactInfo#GEOCODE_AS_LABEL}
263 // {@link com.android.dialer.calllog.ContactInfo#GEOCODE_AS_LABEL}
480 ContactInfo contactInfo = new ContactInfo();
481 contactInfo.lookupUri = TEST_LOOKUP_URI;
482 contactInfo.name = cachedName;
483 contactInfo.type = cachedNumberType;
484 contactInfo.label = cachedNumberLabel
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ContactResolver.java 30 import com.android.mail.ContactInfo;
186 final ImmutableMap<String, ContactInfo> contactInfos = loadContactPhotos(emails);
200 final ContactInfo contactInfo = contactInfos.get(email);
201 if (contactInfo == null) {
209 final byte[] photo = contactInfo.photoBytes;
244 protected ImmutableMap<String, ContactInfo> loadContactPhotos(Set<String> emails) {
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogAdapter.java 166 private ExpirableCache<NumberWithCountryIso, ContactInfo> mContactInfoCache;
202 public final ContactInfo callLogInfo;
204 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) {
471 protected void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo,
494 private boolean queryContactInfo(String number, String countryIso, ContactInfo callLogInfo) {
495 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso);
505 ContactInfo existingInfo = mContactInfoCache.getPossiblyExpired(numberCountryIso);
509 // Don't force redraw if existing info in the cache is equal to {@link ContactInfo#EMPTY}
515 boolean updated = (existingInfo != ContactInfo.EMPTY || isRemoteSource) &&
686 final ContactInfo cachedContactInfo = getContactInfoFromCallLog(c)
    [all...]
  /prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar 

Completed in 398 milliseconds