Home
last modified time | relevance | path

Searched refs:MailPrefs (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Email/src/com/android/email/activity/setup/
DGeneralPreferences.java35 import com.android.mail.preferences.MailPrefs;
47 private MailPrefs mMailPrefs;
70 mMailPrefs = MailPrefs.get(getActivity()); in onCreate()
110 } else if (MailPrefs.PreferenceKeys.DEFAULT_REPLY_ALL.equals(key)) { in onPreferenceChange()
134 } else if (MailPrefs.PreferenceKeys.CONVERSATION_LIST_SWIPE.equals(key)) { in onPreferenceTreeClick()
164 findPreference(MailPrefs.PreferenceKeys.CONVERSATION_LIST_SWIPE); in loadSettings()
168 (CheckBoxPreference) findPreference(MailPrefs.PreferenceKeys.DEFAULT_REPLY_ALL); in loadSettings()
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DBaseWidgetProvider.java35 import com.android.mail.preferences.MailPrefs;
76 MailPrefs.get(context).clearWidgets(appWidgetIds); in onDeleted()
105 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration( in getWidgetInfo()
157 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration(id); in onReceive()
211 final String accountFolder = MailPrefs.get(mContext).getWidgetConfiguration( in doInBackground()
399 if (!MailPrefs.get(context).isWidgetConfigured(widgetId)) { in migrateLegacyWidgets()
408 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration(widgetId); in validateAllWidgetInformation()
DWidgetService.java43 import com.android.mail.preferences.MailPrefs;
172 MailPrefs.get(context).configureWidget(appWidgetId, account, folderUri); in saveWidgetInformation()
180 MailPrefs.get(context).isWidgetConfigured(appWidgetId); in isWidgetConfigured()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java41 public final class MailPrefs extends VersionedPrefs { class
47 private static MailPrefs sInstance;
122 public static MailPrefs get(Context c) { in get()
124 sInstance = new MailPrefs(c); in get()
129 private MailPrefs(Context c) { in MailPrefs() method in MailPrefs
DFolderPreferences.java254 final boolean preferDelete = MailPrefs.RemovalActions.DELETE.equals( in getNotificationActions()
255 MailPrefs.get(getContext()).getRemovalAction( in getNotificationActions()
263 MailPrefs.get(getContext()).getDefaultReplyAll() in getNotificationActions()
DVersionedPrefs.java119 return MailPrefs.get(mContext).hasMigrationCompleted(); in hasMigrationCompleted()
123 MailPrefs.get(mContext).setMigrationComplete(); in setMigrationComplete()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMailActionBarView.java47 import com.android.mail.preferences.MailPrefs;
456 final String removalAction = MailPrefs.get(context).getRemovalAction( in reorderMenu()
458 final boolean showArchive = MailPrefs.RemovalActions.ARCHIVE.equals(removalAction) || in reorderMenu()
459 MailPrefs.RemovalActions.ARCHIVE_AND_DELETE.equals(removalAction); in reorderMenu()
460 final boolean showDelete = MailPrefs.RemovalActions.DELETE.equals(removalAction) || in reorderMenu()
461 MailPrefs.RemovalActions.ARCHIVE_AND_DELETE.equals(removalAction); in reorderMenu()
DConversationSyncDisabledTipView.java41 import com.android.mail.preferences.MailPrefs;
62 private final MailPrefs mMailPrefs;
114 mMailPrefs = MailPrefs.get(context); in ConversationSyncDisabledTipView()
210 public static int calculateReasonSyncOff(MailPrefs mailPrefs, in calculateReasonSyncOff()
DConversationLongPressTipView.java22 import com.android.mail.preferences.MailPrefs;
47 private final MailPrefs mMailPrefs;
81 mMailPrefs = MailPrefs.get(context); in ConversationLongPressTipView()
DConversationPhotoTeaserView.java19 import com.android.mail.preferences.MailPrefs;
31 private final MailPrefs mMailPrefs;
69 mMailPrefs = MailPrefs.get(context); in ConversationPhotoTeaserView()
DConversationListView.java29 import com.android.mail.preferences.MailPrefs;
93 private final MailPrefs mMailPrefs;
120 mMailPrefs = MailPrefs.get(context); in ConversationListView()
DAnimatedAdapter.java47 import com.android.mail.preferences.MailPrefs;
785 return MailPrefs.get(mContext).getParallaxSpeedAlternative(); in getParallaxSpeedAlternativeSetting()
789 return MailPrefs.get(mContext).getParallaxDirectionAlternative(); in getParallaxDirectionAlternativeSetting()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DClearPictureApprovalsDialogFragment.java28 import com.android.mail.preferences.MailPrefs;
61 final MailPrefs mailPrefs = MailPrefs.get(getActivity()); in onClick()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java28 import com.android.mail.preferences.MailPrefs;
73 final MailPrefs mailPrefs = MailPrefs.get(context); in migrate()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java54 import com.android.mail.preferences.MailPrefs;
164 final MailPrefs mailPrefs = MailPrefs.get(context); in loadNotificationMap()
228 final MailPrefs mailPrefs = MailPrefs.get(context); in saveNotificationMap()
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java102 import com.android.mail.preferences.MailPrefs;
2436 final MailPrefs mailPrefs = MailPrefs.get(context); in getAccountListMap()
2658 final MailPrefs mailPrefs = MailPrefs.get(context); in genQueryViewMessage()
3100 final MailPrefs mailPrefs = MailPrefs.get(getContext()); in genQueryAccount()
3300 final MailPrefs mailPrefs = MailPrefs.get(getContext()); in addCombinedAccountRow()
3400 private static int getConversationListIcon(MailPrefs mailPrefs) { in getConversationListIcon()
4826 final MailPrefs mailPrefs = MailPrefs.get(getContext()); in convertUiMessageValues()