Home
last modified time | relevance | path

Searched refs:mContactsPrefs (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java42 private final ContactsPreferences mContactsPrefs; field in ContactEditorUtils
46 mContactsPrefs = new ContactsPreferences(context); in ContactEditorUtils()
78 mContactsPrefs.clearDefaultAccount(); in cleanupForTest()
82 mContactsPrefs.clearDefaultAccount(); in removeDefaultAccountForTest()
94 mContactsPrefs.clearDefaultAccount(); in saveDefaultAccount()
96 mContactsPrefs.setDefaultAccount(defaultAccount); in saveDefaultAccount()
114 return mContactsPrefs.getDefaultAccount(); in getOnlyOrDefaultAccount()
118 return mContactsPrefs.shouldShowAccountChangedNotification(writableAccounts); in shouldShowAccountChangedNotification()
128 && !onlyAccount.equals(mContactsPrefs.getDefaultAccount())) { in maybeUpdateDefaultAccount()
129 mContactsPrefs.setDefaultAccount(onlyAccount); in maybeUpdateDefaultAccount()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java146 private ContactsPreferences mContactsPrefs; field in ContactEntryListFragment
284 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());