public class

GoogleSource

extends FallbackSource
java.lang.Object
   ↳ com.android.contacts.model.ContactsSource
     ↳ com.android.contacts.model.FallbackSource
       ↳ com.android.contacts.model.GoogleSource

Summary

Constants
String ACCOUNT_TYPE
[Expand]
Inherited Constants
From class com.android.contacts.model.FallbackSource
From class com.android.contacts.model.ContactsSource
[Expand]
Inherited Fields
From class com.android.contacts.model.ContactsSource
Public Constructors
GoogleSource(String resPackageName)
Public Methods
final static void attemptMyContactsMembership(EntityDelta state, Context context)
final static void createMyContactsIfNotExist(Account account, Context context)
int getHeaderColor(Context context)
int getSideBarColor(Context context)
Protected Methods
void inflate(Context context, int inflateLevel)
Perform the actual inflation to the requested level.
ContactsSource.DataKind inflateEmail(Context context, int inflateLevel)
ContactsSource.DataKind inflatePhone(Context context, int inflateLevel)
[Expand]
Inherited Methods
From class com.android.contacts.model.FallbackSource
From class com.android.contacts.model.ContactsSource
From class java.lang.Object

Constants

public static final String ACCOUNT_TYPE

Constant Value: "com.google"

Public Constructors

public GoogleSource (String resPackageName)

Public Methods

public static final void attemptMyContactsMembership (EntityDelta state, Context context)

public static final void createMyContactsIfNotExist (Account account, Context context)

public int getHeaderColor (Context context)

public int getSideBarColor (Context context)

Protected Methods

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 inflatePhone (Context context, int inflateLevel)