Home
last modified time | relevance | path

Searched refs:Preferences (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java55 return ContactsContract.Preferences.SORT_ORDER_PRIMARY; in getDefaultSortOrder()
57 return ContactsContract.Preferences.SORT_ORDER_ALTERNATIVE; in getDefaultSortOrder()
69 ContactsContract.Preferences.SORT_ORDER); in getSortOrder()
80 ContactsContract.Preferences.SORT_ORDER, sortOrder); in setSortOrder()
89 return ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY; in getDefaultDisplayOrder()
91 return ContactsContract.Preferences.DISPLAY_ORDER_ALTERNATIVE; in getDefaultDisplayOrder()
103 ContactsContract.Preferences.DISPLAY_ORDER); in getDisplayOrder()
114 ContactsContract.Preferences.DISPLAY_ORDER, displayOrder); in setDisplayOrder()
130 ContactsContract.Preferences.SORT_ORDER), false, this); in registerChangeListener()
133 ContactsContract.Preferences.DISPLAY_ORDER), false, this); in registerChangeListener()
DSortOrderPreference.java53 String.valueOf(ContactsContract.Preferences.SORT_ORDER_PRIMARY), in prepare()
54 String.valueOf(ContactsContract.Preferences.SORT_ORDER_ALTERNATIVE), in prepare()
67 case ContactsContract.Preferences.SORT_ORDER_PRIMARY: in getSummary()
69 case ContactsContract.Preferences.SORT_ORDER_ALTERNATIVE: in getSummary()
DDisplayOrderPreference.java53 String.valueOf(ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY), in prepare()
54 String.valueOf(ContactsContract.Preferences.DISPLAY_ORDER_ALTERNATIVE), in prepare()
67 case ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY: in getSummary()
69 case ContactsContract.Preferences.DISPLAY_ORDER_ALTERNATIVE: in getSummary()
/packages/apps/Email/src/com/android/email/activity/setup/
DGeneralPreferences.java28 import com.android.email.Preferences;
38 private static final String PREFERENCE_KEY_REPLY_ALL = Preferences.REPLY_ALL;
41 private Preferences mPreferences;
51 getPreferenceManager().setSharedPreferencesName(Preferences.PREFERENCES_FILE); in onCreate()
103 mPreferences = Preferences.getPreferences(getActivity()); in loadSettings()
DDebugFragment.java20 import com.android.email.Preferences;
50 private Preferences mPreferences;
61 mPreferences = Preferences.getPreferences(context); in onCreateView()
/packages/apps/Contacts/tests/src/com/android/contacts/list/
DContactListItemViewTest.java70 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); in testShowDisplayName_Simple()
80 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); in testShowDisplayName_Unknown()
90 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); in testShowDisplayName_WithPrefix()
102 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_ALTERNATIVE); in testShowDisplayName_WithPrefixReversed()
/packages/apps/Email/src/com/android/email/
DPreferences.java33 public class Preferences { class
77 private static Preferences sPreferences;
88 private Preferences(Context context) { in Preferences() method in Preferences
98 public static synchronized Preferences getPreferences(Context context) { in getPreferences()
100 sPreferences = new Preferences(context); in getPreferences()
DEmail.java194 Preferences prefs = Preferences.getPreferences(this); in onCreate()
220 Preferences prefs = Preferences.getPreferences(context); in updateLoggingFlags()
DRequireManualSyncDialog.java33 Preferences.getPreferences(context).setHasShownRequireManualSync(context, account, true); in RequireManualSyncDialog()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java167 ContactsContract.Preferences.DISPLAY_ORDER) in expectSettingsQueriesAndReturnDefault()
168 .returnRow(ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) in expectSettingsQueriesAndReturnDefault()
174 ContactsContract.Preferences.SORT_ORDER) in expectSettingsQueriesAndReturnDefault()
175 .returnRow(ContactsContract.Preferences.SORT_ORDER_PRIMARY) in expectSettingsQueriesAndReturnDefault()
/packages/apps/Email/src/com/android/email/activity/
DUIControllerBase.java32 import com.android.email.Preferences;
211 Preferences.getPreferences(mActivity).setLastUsedAccountId(accountId); in onActivityResume()
563 Preferences.getPreferences(mActivity).setLastUsedAccountId(accountId); in switchAccount()
943 switch (Preferences.getPreferences(mActivity).getAutoAdvanceDirection()) { in doAutoAdvance()
944 case Preferences.AUTO_ADVANCE_NEWER: in doAutoAdvance()
947 case Preferences.AUTO_ADVANCE_OLDER: in doAutoAdvance()
1037 Preferences.getPreferences(mActivity) in showAccountSpecificWarning()
DUIControllerTwoPane.java30 import com.android.email.Preferences;
170 int autoAdvanceDir = Preferences.getPreferences(mActivity).getAutoAdvanceDirection(); in onAdvancingOpAccepted()
171 if ((autoAdvanceDir == Preferences.AUTO_ADVANCE_MESSAGE_LIST) || (orderManager == null)) { in onAdvancingOpAccepted()
180 case Preferences.AUTO_ADVANCE_NEWER: in onAdvancingOpAccepted()
190 case Preferences.AUTO_ADVANCE_OLDER: in onAdvancingOpAccepted()
DMessageViewFragment.java35 import com.android.email.Preferences;
194 mDefaultReplyAll = Preferences.getSharedPreferences(mContext).getBoolean( in onResume()
195 Preferences.REPLY_ALL, Preferences.REPLY_ALL_DEFAULT); in onResume()
DWelcome.java33 import com.android.email.Preferences;
321 long lastUsedId = Preferences.getPreferences(context).getLastUsedAccountId(); in resolveAccountId()
326 Preferences.getPreferences(context).setLastUsedAccountId(Account.NO_ACCOUNT); in resolveAccountId()
DMessageViewFragmentBase.java62 import com.android.email.Preferences;
521 int zoom = Preferences.getPreferences(mContext).getTextZoom(); in getWebViewZoom()
1936 return Preferences.getPreferences(getActivity()).shouldShowImagesFor(senderEmail); in shouldShowImagesFor()
1947 Preferences prefs = Preferences.getPreferences(getActivity()); in setShowImagesForSender()
/packages/apps/Email/src/com/android/email/service/
DEmailBroadcastProcessorService.java33 import com.android.email.Preferences;
151 final Preferences pref = Preferences.getPreferences(this); in performOneTimeInitialization()
DMailService.java39 import com.android.email.Preferences;
506 = Preferences.getPreferences(this).getForceOneMinuteRefresh(); in setupSyncReportsLocked()
/packages/apps/Contacts/src/com/android/contacts/list/
DPostalAddressListAdapter.java80 if (getContactNameDisplayOrder() == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in configureLoader()
86 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
DEmailAddressListAdapter.java90 if (getContactNameDisplayOrder() == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in configureLoader()
96 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
DContactListAdapter.java349 if (sortOrder == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
355 if (sortOrder == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
DPhoneNumberListAdapter.java137 if (getContactNameDisplayOrder() == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in configureLoader()
143 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
DJoinContactListAdapter.java101 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
DDefaultContactListAdapter.java96 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
/packages/apps/Contacts/src/com/android/contacts/
DGroupMemberLoader.java98 if (prefs.getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in GroupMemberLoader()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java28 import com.android.email.Preferences;
215 String devUID = Preferences.getPreferences(context).getDeviceUID(); in getImapId()

12