Searched refs:Stopwatches (Results 1 - 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchService.java63 long actionTime = intent.getLongExtra(Stopwatches.MESSAGE_TIME, Utils.getTimeNow());
64 boolean showNotif = intent.getBooleanExtra(Stopwatches.SHOW_NOTIF, true);
66 if (actionType.equals(Stopwatches.START_STOPWATCH)) {
74 } else if (actionType.equals(Stopwatches.LAP_STOPWATCH)) {
83 } else if (actionType.equals(Stopwatches.STOP_STOPWATCH)) {
91 } else if (actionType.equals(Stopwatches.RESET_STOPWATCH)) {
96 } else if (actionType.equals(Stopwatches.RESET_AND_LAUNCH_STOPWATCH)) {
102 } else if (actionType.equals(Stopwatches.SHARE_STOPWATCH)) {
107 Intent.EXTRA_SUBJECT, Stopwatches.getShareTitle(getApplicationContext()));
108 shareIntent.putExtra(Intent.EXTRA_TEXT, Stopwatches
[all...]
H A DStopwatchFragment.java51 int mState = Stopwatches.STOPWATCH_RESET;
150 lapTime.setText(Stopwatches.formatTimeText(lap.mLapTime, mFormats[mLapIndex]));
151 totalTime.setText(Stopwatches.formatTimeText(lap.mTotalTime, mFormats[mTotalIndex]));
168 // Note Stopwatches.MAX_LAPS < 100
256 intent.putExtra(Stopwatches.MESSAGE_TIME, time);
257 intent.putExtra(Stopwatches.SHOW_NOTIF, false);
259 case Stopwatches.STOPWATCH_RUNNING:
264 intent.setAction(Stopwatches.STOP_STOPWATCH);
268 case Stopwatches.STOPWATCH_RESET:
269 case Stopwatches
[all...]
H A DStopwatches.java29 public class Stopwatches { class
/packages/apps/DeskClock/src/com/android/deskclock/
H A DCircleTimerView.java12 import com.android.deskclock.stopwatch.Stopwatches;
249 editor.remove (Stopwatches.PREF_START_TIME);
250 editor.remove (Stopwatches.PREF_ACCUM_TIME);
251 editor.remove (Stopwatches.PREF_STATE);
H A DUtils.java57 import com.android.deskclock.stopwatch.Stopwatches;
198 editor.remove (Stopwatches.PREF_START_TIME);
199 editor.remove (Stopwatches.PREF_ACCUM_TIME);
200 editor.remove (Stopwatches.PREF_STATE);
201 int lapNum = prefs.getInt(Stopwatches.PREF_LAP_NUM, Stopwatches.STOPWATCH_RESET);
203 String key = Stopwatches.PREF_LAP_TIME + Integer.toString(i);
206 editor.remove(Stopwatches.PREF_LAP_NUM);
H A DDeskClock.java48 import com.android.deskclock.stopwatch.Stopwatches;
193 stopwatchIntent.setAction(Stopwatches.KILL_NOTIF);
208 intent.setAction(Stopwatches.SHOW_NOTIF);

Completed in 236 milliseconds