Home
last modified time | relevance | path

Searched refs:ContactsSource (Results 1 – 6 of 6) sorted by relevance

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java66 final DataKind kind = super.inflateStructuredName(context, ContactsSource.LEVEL_MIMETYPES); in inflateStructuredName()
68 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateStructuredName()
110 final DataKind kind = super.inflateNickname(context, ContactsSource.LEVEL_MIMETYPES); in inflateNickname()
112 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateNickname()
125 final DataKind kind = super.inflatePhone(context, ContactsSource.LEVEL_MIMETYPES); in inflatePhone()
127 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflatePhone()
157 final DataKind kind = super.inflateEmail(context, ContactsSource.LEVEL_MIMETYPES); in inflateEmail()
159 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateEmail()
171 … final DataKind kind = super.inflateStructuredPostal(context, ContactsSource.LEVEL_MIMETYPES); in inflateStructuredPostal()
173 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateStructuredPostal()
[all …]
DSources.java19 import com.android.loaderapp.model.ContactsSource.DataKind;
58 private ContactsSource mFallbackSource = null;
60 private HashMap<String, ContactsSource> mSources = Maps.newHashMap();
112 public Sources(ContactsSource... sources) { in Sources()
113 for (ContactsSource source : sources) { in Sources()
118 protected void addSource(ContactsSource source) { in addSource()
160 for (ContactsSource source : mSources.values()) { in invalidateCache()
170 for (ContactsSource source : mSources.values()) { in invalidateAllCache()
207 ContactsSource source; in queryAccounts()
256 final ContactsSource source = getInflatedSource(account.type, in getAccounts()
[all …]
DFallbackSource.java42 public class FallbackSource extends ContactsSource {
112 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateStructuredName()
166 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateNickname()
189 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflatePhone()
232 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateEmail()
258 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateStructuredPostal()
317 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateIm()
353 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateOrganization()
377 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflatePhoto()
396 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateNote()
[all …]
DGoogleSource.java84 final DataKind kind = super.inflatePhone(context, ContactsSource.LEVEL_MIMETYPES); in inflatePhone()
86 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflatePhone()
108 final DataKind kind = super.inflateEmail(context, ContactsSource.LEVEL_MIMETYPES); in inflateEmail()
110 if (inflateLevel >= ContactsSource.LEVEL_CONSTRAINTS) { in inflateEmail()
DContactsSource.java48 public abstract class ContactsSource { class
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java23 import com.android.loaderapp.model.ContactsSource;
28 import com.android.loaderapp.model.ContactsSource.DataKind;
349 ContactsSource contactsSource = sources.getInflatedSource(accountType, in buildEntries()
350 ContactsSource.LEVEL_SUMMARY); in buildEntries()
368 context, ContactsSource.LEVEL_MIMETYPES); in buildEntries()
412 imMime, context, ContactsSource.LEVEL_MIMETYPES); in buildEntries()