Lines Matching refs:activity
147 final Activity activity = getActivity(); in onCreate() local
152 final SharedPreferences sharedPreferences = getSharedPreferences(activity); in onCreate()
161 Vibrator vibrator = (Vibrator) activity.getSystemService(Context.VIBRATOR_SERVICE); in onCreate()
169 String ringToneUri = Utils.getRingTonePreference(activity); in onCreate()
176 String ringtoneDisplayString = getRingtoneTitleFromUri(activity, ringToneUri); in onCreate()
189 mTimeZoneId = Utils.getTimeZone(activity, null); in onCreate()
191 SharedPreferences prefs = CalendarUtils.getSharedPreferences(activity, in onCreate()
216 TimeZonePickerDialog tzpd = (TimeZonePickerDialog) activity.getFragmentManager() in onCreate()
228 final Activity activity = getActivity(); in showTimezoneDialog() local
229 if (activity == null) { in showTimezoneDialog()
235 b.putString(TimeZonePickerDialog.BUNDLE_TIME_ZONE, Utils.getTimeZone(activity, null)); in showTimezoneDialog()
306 final Activity activity = getActivity(); in onPreferenceChange() local
313 Utils.setTimeZone(activity, tz); in onPreferenceChange()
317 Intent intent = new Intent(Utils.getWidgetScheduledUpdateAction(activity)); in onPreferenceChange()
319 activity.sendBroadcast(intent); in onPreferenceChange()
329 Utils.setRingTonePreference(activity, (String) newValue); in onPreferenceChange()
330 String ringtone = getRingtoneTitleFromUri(activity, (String) newValue); in onPreferenceChange()