Home | History | Annotate | Download | only in deskclock

Lines Matching refs:editor

241         SharedPreferences.Editor editor = prefs.edit();
242 editor.putBoolean (key + PREF_CTV_PAUSED, mPaused);
243 editor.putLong (key + PREF_CTV_INTERVAL, mIntervalTime);
244 editor.putLong (key + PREF_CTV_INTERVAL_START, mIntervalStartTime);
245 editor.putLong (key + PREF_CTV_CURRENT_INTERVAL, mCurrentIntervalTime);
246 editor.putLong (key + PREF_CTV_ACCUM_TIME, mAccumulatedTime);
247 editor.putLong (key + PREF_CTV_MARKER_TIME, mMarkerTime);
248 editor.putBoolean (key + PREF_CTV_TIMER_MODE, mTimerMode);
249 editor.apply();
264 SharedPreferences.Editor editor = prefs.edit();
265 editor.remove (Stopwatches.PREF_START_TIME);
266 editor.remove (Stopwatches.PREF_ACCUM_TIME);
267 editor.remove (Stopwatches.PREF_STATE);
268 editor.remove (key + PREF_CTV_PAUSED);
269 editor.remove (key + PREF_CTV_INTERVAL);
270 editor.remove (key + PREF_CTV_INTERVAL_START);
271 editor.remove (key + PREF_CTV_CURRENT_INTERVAL);
272 editor.remove (key + PREF_CTV_ACCUM_TIME);
273 editor.remove (key + PREF_CTV_MARKER_TIME);
274 editor.remove (key + PREF_CTV_TIMER_MODE);
275 editor.apply();