Lines Matching refs:prefs

255         SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
257 SharedPreferences.Editor editor = prefs.edit();
273 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
275 long clockBaseTime = prefs.getLong(Stopwatches.NOTIF_CLOCK_BASE, -1);
276 long clockElapsedTime = prefs.getLong(Stopwatches.NOTIF_CLOCK_ELAPSED, -1);
277 boolean clockRunning = prefs.getBoolean(Stopwatches.NOTIF_CLOCK_RUNNING, false);
278 int numLaps = prefs.getInt(Stopwatches.PREF_LAP_NUM, -1);
294 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
296 SharedPreferences.Editor editor = prefs.edit();
310 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
312 mStartTime = prefs.getLong(Stopwatches.PREF_START_TIME, 0);
313 mElapsedTime = prefs.getLong(Stopwatches.PREF_ACCUM_TIME, 0);
314 mNumLaps = prefs.getInt(Stopwatches.PREF_LAP_NUM, Stopwatches.STOPWATCH_RESET);
318 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
320 int numLaps = prefs.getInt(Stopwatches.PREF_LAP_NUM, Stopwatches.STOPWATCH_RESET);
325 long lap = prefs.getLong(key, 0);
337 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
339 SharedPreferences.Editor editor = prefs.edit();
345 int numLaps = prefs.getInt(Stopwatches.PREF_LAP_NUM, 0);
376 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
378 long intervalStartTime = prefs.getLong(
382 SharedPreferences.Editor editor = prefs.edit();
395 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
397 SharedPreferences.Editor editor = prefs.edit();
421 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
423 long accumulatedTime = prefs.getLong(
425 long intervalStartTime = prefs.getLong(
428 SharedPreferences.Editor editor = prefs.edit();