/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 221 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(activity); in getViewTypeFromIntentAndSharedPref() 229 return prefs.getInt(GeneralPreferences.KEY_DETAILED_VIEW, in getViewTypeFromIntentAndSharedPref() 230 GeneralPreferences.DEFAULT_DETAILED_VIEW); in getViewTypeFromIntentAndSharedPref() 239 GeneralPreferences.KEY_START_VIEW, GeneralPreferences.DEFAULT_START_VIEW); in getViewTypeFromIntentAndSharedPref() 324 vibrate = prefs.getBoolean(GeneralPreferences.KEY_ALERTS_VIBRATE, in getDefaultVibrate() 331 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() 341 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() 346 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() 351 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() 363 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference() [all …]
|
D | AllInOneActivity.java | 232 GeneralPreferences.KEY_SKIP_SETUP, true); in onQueryComplete() 316 && !Utils.getSharedPreference(this, GeneralPreferences.KEY_SKIP_SETUP, false)) { in onCreate() 383 this, GeneralPreferences.KEY_SHOW_CONTROLS, true); in onCreate() 431 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(this); in onCreate() 574 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(this); in onPause() 613 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(this); in onDestroy() 644 mPreviousView = GeneralPreferences.getSharedPreferences(this).getInt( in initFragments() 645 GeneralPreferences.KEY_START_VIEW, GeneralPreferences.DEFAULT_START_VIEW); in initFragments() 791 this, GeneralPreferences.KEY_SHOW_CONTROLS, !mHideControls); in onOptionsItemSelected() 840 if (key.equals(GeneralPreferences.KEY_WEEK_START_DAY)) { in onSharedPreferenceChanged()
|
D | CalendarBackupAgent.java | 35 GeneralPreferences.SHARED_PREFS_NAME)); in onCreate() 43 GeneralPreferences.SHARED_PREFS_NAME_NO_BACKUP, Context.MODE_PRIVATE).edit(); in onRestore() 44 editor.putString(GeneralPreferences.KEY_ALERTS_RINGTONE, in onRestore() 45 GeneralPreferences.DEFAULT_RINGTONE).commit(); in onRestore()
|
D | CalendarEventModel.java | 292 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in CalendarEventModel() 295 GeneralPreferences.KEY_DEFAULT_REMINDER, GeneralPreferences.NO_REMINDER_STRING); in CalendarEventModel() 297 if (defaultReminderMins != GeneralPreferences.NO_REMINDER) { in CalendarEventModel()
|
D | CalendarApplication.java | 30 GeneralPreferences.setDefaultValues(this); in onCreate() 34 Utils.setSharedPreference(this, GeneralPreferences.KEY_VERSION, in onCreate()
|
D | GeneralPreferences.java | 55 public class GeneralPreferences extends PreferenceFragment implements class 174 editor.putString(GeneralPreferences.KEY_ALERTS_RINGTONE, ringToneUri).apply(); in onCreate()
|
D | EventInfoFragment.java | 1021 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(mActivity); in onCreateView() 1023 GeneralPreferences.KEY_DEFAULT_REMINDER, GeneralPreferences.NO_REMINDER_STRING); in onCreateView() 2143 if (mDefaultReminderMinutes == GeneralPreferences.NO_REMINDER) { in addReminder() 2147 ReminderEntry.valueOf(GeneralPreferences.REMINDER_DEFAULT_TIME), mMaxReminders, in addReminder()
|
D | Event.java | 248 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in loadEvents() 249 boolean hideDeclined = prefs.getBoolean(GeneralPreferences.KEY_HIDE_DECLINED, in loadEvents()
|
D | CalendarController.java | 314 GeneralPreferences.KEY_DETAILED_VIEW, in CalendarController() 315 GeneralPreferences.DEFAULT_DETAILED_VIEW); in CalendarController()
|
D | DayView.java | 765 GeneralPreferences.KEY_DEFAULT_CELL_HEIGHT, DEFAULT_CELL_HEIGHT); in DayView() 4818 Utils.setSharedPreference(mContext, GeneralPreferences.KEY_DEFAULT_CELL_HEIGHT, in cleanup()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlertServiceTest.java | 34 import com.android.calendar.GeneralPreferences; 74 if (GeneralPreferences.KEY_ALERTS_VIBRATE.equals(key)) { in contains() 82 if (GeneralPreferences.KEY_ALERTS_VIBRATE.equals(key)) { in getBoolean() 84 Assert.fail(GeneralPreferences.KEY_ALERTS_VIBRATE in getBoolean() 93 if (GeneralPreferences.KEY_ALERTS_POPUP.equals(key)) { in getBoolean() 95 Assert.fail(GeneralPreferences.KEY_ALERTS_POPUP + " fetched more than once."); in getBoolean() 108 if (GeneralPreferences.KEY_ALERTS_RINGTONE.equals(key)) { in getString() 110 Assert.fail(GeneralPreferences.KEY_ALERTS_RINGTONE in getString()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 76 import com.android.calendar.GeneralPreferences; 712 mActivity, GeneralPreferences.KEY_DEFAULT_CALENDAR, defaultCalendar); in fillModelFromUI() 1130 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(mActivity); in setModel() 1132 GeneralPreferences.KEY_DEFAULT_REMINDER, GeneralPreferences.NO_REMINDER_STRING); in setModel() 1492 mActivity, GeneralPreferences.KEY_DEFAULT_CALENDAR, (String) null); in findDefaultCalendarPosition() 1549 if (mDefaultReminderMinutes == GeneralPreferences.NO_REMINDER) { in addReminder() 1553 ReminderEntry.valueOf(GeneralPreferences.REMINDER_DEFAULT_TIME), in addReminder()
|
D | CreateEventDialogFragment.java | 46 import com.android.calendar.GeneralPreferences; 272 GeneralPreferences.KEY_DEFAULT_CALENDAR, (String) null); in setDefaultCalendarView()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaFragment.java | 42 import com.android.calendar.GeneralPreferences; 218 SharedPreferences prefs = GeneralPreferences.getSharedPreferences( in onResume() 221 GeneralPreferences.KEY_HIDE_DECLINED, false); in onResume()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | GeneralPreferences.java | 27 public class GeneralPreferences extends GeneralPrefsFragment { class 29 public GeneralPreferences() {} in GeneralPreferences() method in GeneralPreferences
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertService.java | 45 import com.android.calendar.GeneralPreferences; 270 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in updateAlertNotification() 276 if (!prefs.getBoolean(GeneralPreferences.KEY_ALERTS, true)) { in updateAlertNotification() 981 if (prefs.getBoolean(GeneralPreferences.KEY_ALERTS_POPUP, false)) { in getDoPopup()
|
/packages/apps/Calendar/ |
D | proguard.flags | 4 -keep class com.android.calendar.GeneralPreferences
|