Searched refs:stopwatch (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
H A DGifTranscoder.java48 Stopwatch stopwatch = Stopwatch.createStarted();
50 stopwatch.stop();
51 final long elapsedMs = stopwatch.elapsed(TimeUnit.MILLISECONDS);
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DStopwatchDAO.java38 // Key to a preference that stores the state of the stopwatch.
41 // Key to a preference that stores the last start time of the stopwatch.
44 // Key to a preference that stores the accumulated elapsed time of the stopwatch.
59 * @return the stopwatch from permanent storage or a reset stopwatch if none exists
71 * @param stopwatch the last state of the stopwatch
73 public static void setStopwatch(Context context, Stopwatch stopwatch) { argument
77 if (stopwatch.isReset()) {
82 editor.putInt(STATE, stopwatch
[all...]
H A DStopwatchModel.java35 import com.android.deskclock.stopwatch.StopwatchService;
55 /** Used to create and destroy system notifications related to the stopwatch. */
58 /** Update stopwatch notification when locale changes. */
61 /** The current state of the stopwatch. */
64 /** A mutable copy of the recorded stopwatch laps. */
72 // Update stopwatch notification when locale changes.
78 * @return the current state of the stopwatch
89 * @param stopwatch the new state of the stopwatch
91 Stopwatch setStopwatch(Stopwatch stopwatch) { argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchCircleView.java17 package com.android.deskclock.stopwatch;
124 final Stopwatch stopwatch = getStopwatch();
129 final long currentLapTime = stopwatch.getTotalTime() - priorLap.getAccumulatedTime();
163 // If the stopwatch is not running it does not require continuous updates.
164 if (stopwatch.isRunning()) {
H A DStopwatchService.java17 package com.android.deskclock.stopwatch;
29 * This service exists solely to allow the stopwatch notification to alter the state of the
30 * stopwatch without disturbing the notification shade. If an activity were used instead (even one
32 * clashes with the use case of starting/pausing/lapping/resetting the stopwatch without
H A DLapsAdapter.java17 package com.android.deskclock.stopwatch;
89 // For the current lap, compute times relative to the stopwatch.
171 final Stopwatch stopwatch = getStopwatch();
172 final long totalTime = stopwatch.getTotalTime();
178 // Add the total elapsed time of the stopwatch.
H A DStopwatchFragment.java17 package com.android.deskclock.stopwatch;
55 * Fragment that shows the stopwatch and recorded laps.
61 /** Scheduled to update the stopwatch time and current lap time while stopwatch is running. */
76 /** Draws the reference lap while the stopwatch is running. */
82 /** Displays the current stopwatch time. */
85 /** Held while the stopwatch is running and this fragment is forward to keep the screen on. */
130 // Draw the current stopwatch and lap times.
133 // Start updates if the stopwatch is running; blink text if it is paused.
165 // active under it. Later, when unlocking the screen, we see the old stopwatch tim
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DDeskClock.java50 import com.android.deskclock.stopwatch.StopwatchFragment;
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 84 milliseconds