Home | History | Annotate | Download | only in accounts

Lines Matching refs:AccountPreference

52 import com.android.settings.AccountPreference;
137 if (preference instanceof AccountPreference) {
138 startAccountSettings((AccountPreference) preference);
145 private void startAccountSettings(AccountPreference acctPref) {
194 if (pref instanceof AccountPreference) {
195 Account account = ((AccountPreference) pref).getAccount();
234 if (! (pref instanceof AccountPreference)) {
238 AccountPreference accountPref = (AccountPreference) pref;
277 accountPref.setSyncStatus(AccountPreference.SYNC_ERROR, true);
279 accountPref.setSyncStatus(AccountPreference.SYNC_DISABLED, true);
282 accountPref.setSyncStatus(AccountPreference.SYNC_IN_PROGRESS, true);
284 accountPref.setSyncStatus(AccountPreference.SYNC_ENABLED, true);
286 accountPref.setSyncStatus(AccountPreference.SYNC_ENABLED, false);
294 accountPref.setSyncStatus(AccountPreference.SYNC_DISABLED, true);
326 final AccountPreference preference =
327 new AccountPreference(getActivity(), account, icon, auths, false);
375 if (pref instanceof AccountPreference) {
376 AccountPreference accPref = (AccountPreference) pref;