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.java41 private final ContactsPreferences mContactsPrefs; field in ContactEditorUtils
44 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()
/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());