Searched refs:MailPrefs (Results 1 – 16 of 16) sorted by relevance
35 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()
35 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()
43 import com.android.mail.preferences.MailPrefs;172 MailPrefs.get(context).configureWidget(appWidgetId, account, folderUri); in saveWidgetInformation()180 MailPrefs.get(context).isWidgetConfigured(appWidgetId); in isWidgetConfigured()
41 public final class MailPrefs extends VersionedPrefs { class47 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
254 final boolean preferDelete = MailPrefs.RemovalActions.DELETE.equals( in getNotificationActions()255 MailPrefs.get(getContext()).getRemovalAction( in getNotificationActions()263 MailPrefs.get(getContext()).getDefaultReplyAll() in getNotificationActions()
119 return MailPrefs.get(mContext).hasMigrationCompleted(); in hasMigrationCompleted()123 MailPrefs.get(mContext).setMigrationComplete(); in setMigrationComplete()
47 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()
41 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()
22 import com.android.mail.preferences.MailPrefs;47 private final MailPrefs mMailPrefs;81 mMailPrefs = MailPrefs.get(context); in ConversationLongPressTipView()
19 import com.android.mail.preferences.MailPrefs;31 private final MailPrefs mMailPrefs;69 mMailPrefs = MailPrefs.get(context); in ConversationPhotoTeaserView()
29 import com.android.mail.preferences.MailPrefs;93 private final MailPrefs mMailPrefs;120 mMailPrefs = MailPrefs.get(context); in ConversationListView()
47 import com.android.mail.preferences.MailPrefs;785 return MailPrefs.get(mContext).getParallaxSpeedAlternative(); in getParallaxSpeedAlternativeSetting()789 return MailPrefs.get(mContext).getParallaxDirectionAlternative(); in getParallaxDirectionAlternativeSetting()
28 import com.android.mail.preferences.MailPrefs;61 final MailPrefs mailPrefs = MailPrefs.get(getActivity()); in onClick()
28 import com.android.mail.preferences.MailPrefs;73 final MailPrefs mailPrefs = MailPrefs.get(context); in migrate()
54 import com.android.mail.preferences.MailPrefs;164 final MailPrefs mailPrefs = MailPrefs.get(context); in loadNotificationMap()228 final MailPrefs mailPrefs = MailPrefs.get(context); in saveNotificationMap()
102 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()