public class

FallbackSource

extends ContactsSource
java.lang.Object
   ↳ com.android.contacts.model.ContactsSource
     ↳ com.android.contacts.model.FallbackSource
Known Direct Subclasses

Summary

Nested Classes
class FallbackSource.CommonInflater  
class FallbackSource.EmailActionInflater  
class FallbackSource.EventActionInflater  
class FallbackSource.ImActionInflater  
class FallbackSource.PhoneActionAltInflater  
class FallbackSource.PhoneActionInflater  
class FallbackSource.PostalActionInflater  
class FallbackSource.SimpleInflater Simple inflater that assumes a string resource has a "%s" that will be filled from the given column. 
Constants
int FLAGS_EMAIL
int FLAGS_GENERIC_NAME
int FLAGS_NOTE
int FLAGS_PERSON_NAME
int FLAGS_PHONE
int FLAGS_PHONETIC
int FLAGS_POSTAL
int FLAGS_SIP_ADDRESS
int FLAGS_WEBSITE
[Expand]
Inherited Constants
From class com.android.contacts.model.ContactsSource
[Expand]
Inherited Fields
From class com.android.contacts.model.ContactsSource
Public Constructors
FallbackSource()
Public Methods
int getHeaderColor(Context context)
int getSideBarColor(Context context)
Protected Methods
ContactsSource.EditType buildEmailType(int type)
ContactsSource.EditType buildImType(int type)
ContactsSource.EditType buildOrgType(int type)
ContactsSource.EditType buildPhoneType(int type)
ContactsSource.EditType buildPostalType(int type)
void inflate(Context context, int inflateLevel)
Perform the actual inflation to the requested level.
ContactsSource.DataKind inflateEmail(Context context, int inflateLevel)
ContactsSource.DataKind inflateEvent(Context context, int inflateLevel)
ContactsSource.DataKind inflateIm(Context context, int inflateLevel)
ContactsSource.DataKind inflateNickname(Context context, int inflateLevel)
ContactsSource.DataKind inflateNote(Context context, int inflateLevel)
ContactsSource.DataKind inflateOrganization(Context context, int inflateLevel)
ContactsSource.DataKind inflatePhone(Context context, int inflateLevel)
ContactsSource.DataKind inflatePhoto(Context context, int inflateLevel)
ContactsSource.DataKind inflateSipAddress(Context context, int inflateLevel)
ContactsSource.DataKind inflateStructuredName(Context context, int inflateLevel)
ContactsSource.DataKind inflateStructuredPostal(Context context, int inflateLevel)
ContactsSource.DataKind inflateWebsite(Context context, int inflateLevel)
[Expand]
Inherited Methods
From class com.android.contacts.model.ContactsSource
From class java.lang.Object

Constants

protected static final int FLAGS_EMAIL

Constant Value: 33 (0x00000021)

protected static final int FLAGS_GENERIC_NAME

Constant Value: 8193 (0x00002001)

protected static final int FLAGS_NOTE

Constant Value: 147457 (0x00024001)

protected static final int FLAGS_PERSON_NAME

Constant Value: 8289 (0x00002061)

protected static final int FLAGS_PHONE

Constant Value: 3 (0x00000003)

protected static final int FLAGS_PHONETIC

Constant Value: 193 (0x000000c1)

protected static final int FLAGS_POSTAL

Constant Value: 139377 (0x00022071)

protected static final int FLAGS_SIP_ADDRESS

Constant Value: 33 (0x00000021)

protected static final int FLAGS_WEBSITE

Constant Value: 17 (0x00000011)

Public Constructors

public FallbackSource ()

Public Methods

public int getHeaderColor (Context context)

public int getSideBarColor (Context context)

Protected Methods

protected ContactsSource.EditType buildEmailType (int type)

protected ContactsSource.EditType buildImType (int type)

protected ContactsSource.EditType buildOrgType (int type)

protected ContactsSource.EditType buildPhoneType (int type)

protected ContactsSource.EditType buildPostalType (int type)

protected void inflate (Context context, int inflateLevel)

Perform the actual inflation to the requested level. Called by ensureInflated(Context, int) when inflation is needed.

protected ContactsSource.DataKind inflateEmail (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateEvent (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateIm (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateNickname (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateNote (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateOrganization (Context context, int inflateLevel)

protected ContactsSource.DataKind inflatePhone (Context context, int inflateLevel)

protected ContactsSource.DataKind inflatePhoto (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateSipAddress (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateStructuredName (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateStructuredPostal (Context context, int inflateLevel)

protected ContactsSource.DataKind inflateWebsite (Context context, int inflateLevel)