Searched refs:mContactsPrefs (Results 1 – 2 of 2) sorted by relevance
41 private final ContactsPreferences mContactsPrefs; field in ContactEditorUtils44 mContactsPrefs = new ContactsPreferences(context); in ContactEditorUtils()76 mContactsPrefs.clearDefaultAccount(); in cleanupForTest()80 mContactsPrefs.clearDefaultAccount(); in removeDefaultAccountForTest()92 mContactsPrefs.clearDefaultAccount(); in saveDefaultAccount()94 mContactsPrefs.setDefaultAccount(defaultAccount); in saveDefaultAccount()112 return mContactsPrefs.getDefaultAccount(); in getOnlyOrDefaultAccount()116 return mContactsPrefs.shouldShowAccountChangedNotification(writableAccounts); in shouldShowAccountChangedNotification()126 && !onlyAccount.equals(mContactsPrefs.getDefaultAccount())) { in maybeUpdateDefaultAccount()127 mContactsPrefs.setDefaultAccount(onlyAccount); in maybeUpdateDefaultAccount()
146 private ContactsPreferences mContactsPrefs; field in ContactEntryListFragment284 mContactsPrefs = new ContactsPreferences(mContext); in onCreate()315 mContactsPrefs.registerChangeListener(mPreferencesChangeListener); in onStart()512 mContactsPrefs.unregisterChangeListener();747 if (getContactNameDisplayOrder() != mContactsPrefs.getDisplayOrder()) {748 setContactNameDisplayOrder(mContactsPrefs.getDisplayOrder());752 if (getSortOrder() != mContactsPrefs.getSortOrder()) {753 setSortOrder(mContactsPrefs.getSortOrder());