OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Stopwatches
(Results
1 - 6
of
6
) sorted by null
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
StopwatchService.java
63
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
.buildShareResults
[
all
...]
StopwatchFragment.java
51
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
.STOPWATCH_STOPPED
[
all
...]
Stopwatches.java
29
public class
Stopwatches
{
/packages/apps/DeskClock/src/com/android/deskclock/
CircleTimerView.java
12
import com.android.deskclock.stopwatch.
Stopwatches
;
15
* Class to draw a circle for timers and
stopwatches
.
249
editor.remove (
Stopwatches
.PREF_START_TIME);
250
editor.remove (
Stopwatches
.PREF_ACCUM_TIME);
251
editor.remove (
Stopwatches
.PREF_STATE);
Utils.java
57
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);
DeskClock.java
48
import com.android.deskclock.stopwatch.
Stopwatches
;
193
stopwatchIntent.setAction(
Stopwatches
.KILL_NOTIF);
208
intent.setAction(
Stopwatches
.SHOW_NOTIF);
Completed in 288 milliseconds