/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 55 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()
|
D | SortOrderPreference.java | 53 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()
|
D | DisplayOrderPreference.java | 53 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/ |
D | GeneralPreferences.java | 28 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()
|
D | DebugFragment.java | 20 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/ |
D | ContactListItemViewTest.java | 70 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/ |
D | Preferences.java | 33 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()
|
D | Email.java | 194 Preferences prefs = Preferences.getPreferences(this); in onCreate() 220 Preferences prefs = Preferences.getPreferences(context); in updateLoggingFlags()
|
D | RequireManualSyncDialog.java | 33 Preferences.getPreferences(context).setHasShownRequireManualSync(context, account, true); in RequireManualSyncDialog()
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 167 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/ |
D | UIControllerBase.java | 32 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()
|
D | UIControllerTwoPane.java | 30 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()
|
D | MessageViewFragment.java | 35 import com.android.email.Preferences; 194 mDefaultReplyAll = Preferences.getSharedPreferences(mContext).getBoolean( in onResume() 195 Preferences.REPLY_ALL, Preferences.REPLY_ALL_DEFAULT); in onResume()
|
D | Welcome.java | 33 import com.android.email.Preferences; 321 long lastUsedId = Preferences.getPreferences(context).getLastUsedAccountId(); in resolveAccountId() 326 Preferences.getPreferences(context).setLastUsedAccountId(Account.NO_ACCOUNT); in resolveAccountId()
|
D | MessageViewFragmentBase.java | 62 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/ |
D | EmailBroadcastProcessorService.java | 33 import com.android.email.Preferences; 151 final Preferences pref = Preferences.getPreferences(this); in performOneTimeInitialization()
|
D | MailService.java | 39 import com.android.email.Preferences; 506 = Preferences.getPreferences(this).getForceOneMinuteRefresh(); in setupSyncReportsLocked()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PostalAddressListAdapter.java | 80 if (getContactNameDisplayOrder() == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in configureLoader() 86 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
|
D | EmailAddressListAdapter.java | 90 if (getContactNameDisplayOrder() == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in configureLoader() 96 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
|
D | ContactListAdapter.java | 349 if (sortOrder == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in getProjection() 355 if (sortOrder == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
|
D | PhoneNumberListAdapter.java | 137 if (getContactNameDisplayOrder() == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in configureLoader() 143 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
|
D | JoinContactListAdapter.java | 101 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
|
D | DefaultContactListAdapter.java | 96 if (getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in configureLoader()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | GroupMemberLoader.java | 98 if (prefs.getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { in GroupMemberLoader()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapStore.java | 28 import com.android.email.Preferences; 215 String devUID = Preferences.getPreferences(context).getDeviceUID(); in getImapId()
|