Home
last modified time | relevance | path

Searched refs:AccountPreference (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accounts/
DManageAccountsSettings.java50 import com.android.settings.AccountPreference;
161 if (preference instanceof AccountPreference) { in onPreferenceTreeClick()
162 startAccountSettings((AccountPreference) preference); in onPreferenceTreeClick()
169 private void startAccountSettings(AccountPreference acctPref) { in startAccountSettings()
219 if (pref instanceof AccountPreference) { in requestOrCancelSyncForAccounts()
220 Account account = ((AccountPreference) pref).getAccount(); in requestOrCancelSyncForAccounts()
276 if (! (pref instanceof AccountPreference)) { in showSyncState()
280 AccountPreference accountPref = (AccountPreference) pref; in showSyncState()
315 accountPref.setSyncStatus(AccountPreference.SYNC_ERROR, true); in showSyncState()
317 accountPref.setSyncStatus(AccountPreference.SYNC_DISABLED, true); in showSyncState()
[all …]
DAccountSettings.java400 final ArrayList<AccountPreference> preferences = getAccountTypePreferences( in updateAccountTypes()
426 private ArrayList<AccountPreference> getAccountTypePreferences(AuthenticatorHelper helper, in getAccountTypePreferences()
429 final ArrayList<AccountPreference> accountTypePreferences = in getAccountTypePreferences()
430 new ArrayList<AccountPreference>(accountTypes.length); in getAccountTypePreferences()
456 accountTypePreferences.add(new AccountPreference(getPrefContext(), label, in getAccountTypePreferences()
467 accountTypePreferences.add(new AccountPreference(getPrefContext(), label, in getAccountTypePreferences()
475 Collections.sort(accountTypePreferences, new Comparator<AccountPreference>() { in getAccountTypePreferences()
477 public int compare(AccountPreference t1, AccountPreference t2) { in getAccountTypePreferences()
504 private class AccountPreference extends Preference implements OnPreferenceClickListener { class in AccountSettings
535 public AccountPreference(Context context, CharSequence title, String titleResPackageName, in AccountPreference() method in AccountSettings.AccountPreference
/packages/apps/Settings/src/com/android/settings/
DAccountPreference.java33 public class AccountPreference extends Preference { class
45 public AccountPreference(Context context, Account account, Drawable icon, in AccountPreference() method in AccountPreference