private void doReset() { if (DEBUG) Log.v(LOG_TAG, "StopwatchFragment.doReset"); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getActivity()); Utils.clearSwSharedPref(prefs); mTime.clearSharedPref(prefs, "sw"); mAccumulatedTime = 0; mLapsAdapter.clearLaps(); showLaps(); mTime.stopIntervalAnimation(); mTime.reset(); mTimeText.setTime(mAccumulatedTime, true, true); mTimeText.blinkTimeStr(false); setButtons(Stopwatches.STOPWATCH_RESET); mState = Stopwatches.STOPWATCH_RESET; }