Lines Matching refs:editor
225 SharedPreferences.Editor editor = prefs.edit();
226 editor.putBoolean (key + PREF_CTV_PAUSED, mPaused);
227 editor.putLong (key + PREF_CTV_INTERVAL, mIntervalTime);
228 editor.putLong (key + PREF_CTV_INTERVAL_START, mIntervalStartTime);
229 editor.putLong (key + PREF_CTV_CURRENT_INTERVAL, mCurrentIntervalTime);
230 editor.putLong (key + PREF_CTV_ACCUM_TIME, mAccumulatedTime);
231 editor.putLong (key + PREF_CTV_MARKER_TIME, mMarkerTime);
232 editor.putBoolean (key + PREF_CTV_TIMER_MODE, mTimerMode);
233 editor.apply();
248 SharedPreferences.Editor editor = prefs.edit();
249 editor.remove (Stopwatches.PREF_START_TIME);
250 editor.remove (Stopwatches.PREF_ACCUM_TIME);
251 editor.remove (Stopwatches.PREF_STATE);
252 editor.remove (key + PREF_CTV_PAUSED);
253 editor.remove (key + PREF_CTV_INTERVAL);
254 editor.remove (key + PREF_CTV_INTERVAL_START);
255 editor.remove (key + PREF_CTV_CURRENT_INTERVAL);
256 editor.remove (key + PREF_CTV_ACCUM_TIME);
257 editor.remove (key + PREF_CTV_MARKER_TIME);
258 editor.remove (key + PREF_CTV_TIMER_MODE);
259 editor.apply();