Searched refs:AccountPreference (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ManageAccountsSettings.java | 50 import com.android.settings.AccountPreference; 153 if (preference instanceof AccountPreference) { in onPreferenceTreeClick() 154 startAccountSettings((AccountPreference) preference); in onPreferenceTreeClick() 161 private void startAccountSettings(AccountPreference acctPref) { in startAccountSettings() 211 if (pref instanceof AccountPreference) { in requestOrCancelSyncForAccounts() 212 Account account = ((AccountPreference) pref).getAccount(); in requestOrCancelSyncForAccounts() 268 if (! (pref instanceof AccountPreference)) { in showSyncState() 272 AccountPreference accountPref = (AccountPreference) pref; in showSyncState() 307 accountPref.setSyncStatus(AccountPreference.SYNC_ERROR, true); in showSyncState() 309 accountPref.setSyncStatus(AccountPreference.SYNC_DISABLED, true); in showSyncState() [all …]
|
D | AccountSettings.java | 333 final ArrayList<AccountPreference> preferences = getAccountTypePreferences( in updateAccountTypes() 356 private ArrayList<AccountPreference> getAccountTypePreferences(AuthenticatorHelper helper, in getAccountTypePreferences() 359 final ArrayList<AccountPreference> accountTypePreferences = in getAccountTypePreferences() 360 new ArrayList<AccountPreference>(accountTypes.length); in getAccountTypePreferences() 386 accountTypePreferences.add(new AccountPreference(getActivity(), label, in getAccountTypePreferences() 397 accountTypePreferences.add(new AccountPreference(getActivity(), label, in getAccountTypePreferences() 405 Collections.sort(accountTypePreferences, new Comparator<AccountPreference>() { in getAccountTypePreferences() 407 public int compare(AccountPreference t1, AccountPreference t2) { in getAccountTypePreferences() 434 private class AccountPreference extends Preference implements OnPreferenceClickListener { class in AccountSettings 465 public AccountPreference(Context context, CharSequence title, String titleResPackageName, in AccountPreference() method in AccountSettings.AccountPreference
|
/packages/apps/Settings/src/com/android/settings/ |
D | AccountPreference.java | 33 public class AccountPreference extends Preference { class 45 public AccountPreference(Context context, Account account, Drawable icon, in AccountPreference() method in AccountPreference
|