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

1 2

  /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 50 public class SenderInfoLoader extends AsyncTaskLoader<ImmutableMap<String, ContactInfo>> {
90 public ImmutableMap<String, ContactInfo> loadInBackground() {
104 * {@link ContactInfo}. Otherwise, just put the raw bytes of the photo
105 * into the {@link ContactInfo}.
106 * @return A mapping of email to {@link ContactInfo}. How to interpret the map:
110 * <li>Either {@link ContactInfo#photoBytes} or {@link ContactInfo#photo} is non-null -
112 * <li>Both {@link ContactInfo#photoBytes} and {@link ContactInfo#photo} are null -
116 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) {
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
ContactsTest.java 97 private class ContactInfo { // Not static to access outer world.
105 public ContactInfo(String contactId, String displayName, String photoUri,
169 ContactInfo contactInfo = getContactInfoFromPhoneLookupUri(false /*isEnterprise*/,
171 assertNotNull(contactInfo);
172 assertEquals(PRIMARY_CONTACT_DISPLAY_NAME, contactInfo.displayName);
173 contactInfo.assertNoPhotoUri();
174 assertFalse(contactInfo.hasPhotoId());
175 assertFalse(isEnterpriseContactId(contactInfo.contactId));
177 contactInfo = getContactInfoFromEmailLookupUri(false /*isEnterprise*/
    [all...]