Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DBaseWidgetProvider.java35 import com.android.mail.preferences.MailPrefs;
77 MailPrefs.get(context).clearWidgets(appWidgetIds); in onDeleted()
110 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration( in getWidgetInfo()
163 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration(id); in onReceive()
219 final String accountFolder = MailPrefs.get(mContext).getWidgetConfiguration( in doInBackground()
419 if (!MailPrefs.get(context).isWidgetConfigured(widgetId)) { in migrateLegacyWidgets()
428 final String accountFolder = MailPrefs.get(context).getWidgetConfiguration(widgetId); in validateAllWidgetInformation()
DWidgetService.java46 import com.android.mail.preferences.MailPrefs;
194 MailPrefs.get(context).configureWidget(appWidgetId, account, folderUri); in saveWidgetInformation()
202 MailPrefs.get(context).isWidgetConfigured(appWidgetId); in isWidgetConfigured()
/packages/apps/Email/src/com/android/email/activity/setup/
DDebugFragment.java36 import com.android.mail.preferences.MailPrefs;
134 MailPrefs prefs = MailPrefs.get(getActivity()); in clearMigrationState()
135 prefs.setMigrationState(MailPrefs.PreferenceKeys.MIGRATION_STATE_NONE); in clearMigrationState()
DGeneralPreferences.java24 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationSyncDisabledTipView.java36 import com.android.mail.preferences.MailPrefs;
52 private final MailPrefs mMailPrefs;
70 mMailPrefs = MailPrefs.get(context); in ConversationSyncDisabledTipView()
127 public static int calculateReasonSyncOff(MailPrefs mailPrefs,
DConversationLongPressTipView.java24 import com.android.mail.preferences.MailPrefs;
31 private final MailPrefs mMailPrefs;
37 mMailPrefs = MailPrefs.get(context); in ConversationLongPressTipView()
DConversationPhotoTeaserView.java8 import com.android.mail.preferences.MailPrefs;
15 private final MailPrefs mMailPrefs;
21 mMailPrefs = MailPrefs.get(context); in ConversationPhotoTeaserView()
/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()
DGeneralPrefsFragment.java35 import com.android.mail.preferences.MailPrefs;
36 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
57 protected MailPrefs mMailPrefs;
74 mMailPrefs = MailPrefs.get(getActivity()); in onCreate()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/settings/
DGeneralPrefsFragmentTest.java28 import com.android.mail.preferences.MailPrefs;
61 fragment.mMailPrefs = new MailPrefs(activity, PREFS_NAME_TEST); in setUp()
69 final MailPrefs mailPrefs = fragment.mMailPrefs; in testChangeAutoAdvance()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java46 public final class MailPrefs extends VersionedPrefs { class
52 private static MailPrefs sInstance;
179 public static synchronized MailPrefs get(final Context c) { in get()
181 sInstance = new MailPrefs(c, PREFS_NAME); in get()
187 public MailPrefs(final Context c, final String prefsName) { in MailPrefs() method in MailPrefs
DFolderPreferences.java253 final boolean preferDelete = MailPrefs.RemovalActions.DELETE.equals( in getNotificationActions()
254 MailPrefs.get(getContext()).getRemovalAction( in getNotificationActions()
262 MailPrefs.get(getContext()).getDefaultReplyAll() in getNotificationActions()
DVersionedPrefs.java137 return MailPrefs.get(mContext).hasMigrationCompleted(); in hasMigrationCompleted()
141 MailPrefs.get(mContext).setMigrationComplete(); in setMigrationComplete()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java28 import com.android.mail.preferences.MailPrefs;
74 final MailPrefs mailPrefs = MailPrefs.get(context); in migrate()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerAdapter.java31 import com.android.mail.preferences.MailPrefs;
237 final MailPrefs mailPrefs = MailPrefs.get(mContext); in getConversationViewFragment()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java58 import com.android.mail.preferences.MailPrefs;
223 final MailPrefs mailPrefs = MailPrefs.get(context); in loadNotificationMap()
296 final MailPrefs mailPrefs = MailPrefs.get(context); in saveNotificationMap()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java112 import com.android.mail.preferences.MailPrefs;
113 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
1068 MailPrefs.get(context).registerOnSharedPreferenceChangeListener(this); in onCreate()
3085 final MailPrefs mailPrefs = MailPrefs.get(context); in genQueryViewMessage()
3556 final MailPrefs mailPrefs = MailPrefs.get(getContext()); in genQueryAccount()
3749 final MailPrefs mailPrefs = MailPrefs.get(getContext()); in addCombinedAccountRow()
3856 private static int getConversationListIcon(MailPrefs mailPrefs) { in getConversationListIcon()
5226 final MailPrefs mailPrefs = MailPrefs.get(c); in uiUpdateSettings()
5282 final MailPrefs mailPrefs = MailPrefs.get(getContext()); in convertUiMessageValues()