Searched refs:PREF_STATE (Results 1 – 6 of 6) sorted by relevance
66 private static final String PREF_STATE = "timer_state_"; field in TimerObj97 .putInt(PREF_STATE + id, mState) in writeToSharedPref()113 mState = prefs.getInt(PREF_STATE + id, 0); in readFromSharedPref()131 .remove(PREF_STATE + id) in deleteFromSharedPref()210 return prefKey.startsWith(PREF_STATE); in isTimerStateSharedPrefKey()214 final String timerId = timerStatePrefKey.substring(PREF_STATE.length()); in getTimerIdFromTimerStateKey()
384 editor.putInt(Stopwatches.PREF_STATE, Stopwatches.STOPWATCH_RESET); in writeToSharedPrefs()386 editor.putInt(Stopwatches.PREF_STATE, Stopwatches.STOPWATCH_RUNNING); in writeToSharedPrefs()388 editor.putInt(Stopwatches.PREF_STATE, Stopwatches.STOPWATCH_STOPPED); in writeToSharedPrefs()
745 editor.putInt (Stopwatches.PREF_STATE, mState); in writeToSharedPref()776 mState = prefs.getInt(Stopwatches.PREF_STATE, Stopwatches.STOPWATCH_RESET); in readFromSharedPref()
38 public static final String PREF_STATE = "sw_state"; field in Stopwatches
251 editor.remove (Stopwatches.PREF_STATE); in clearSharedPref()
267 editor.remove (Stopwatches.PREF_STATE); in clearSwSharedPref()