Lines Matching refs:editor

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