HomeSort by relevance Sort by last modified time
    Searched refs:accumulatedTime (Results 1 - 4 of 4) sorted by null

  /packages/apps/DeskClock/src/com/android/deskclock/data/
Lap.java 33 Lap(int lapNumber, long lapTime, long accumulatedTime) {
36 mAccumulatedTime = accumulatedTime;
StopwatchDAO.java 66 final long accumulatedTime = prefs.getLong(ACCUMULATED_TIME, 0);
67 return new Stopwatch(state, lastStartTime, accumulatedTime);
106 final long accumulatedTime = prefs.getLong(lapAccumulatedTimeKey, 0);
109 final long lapTime = accumulatedTime - prevAccumulatedTime;
112 laps.add(new Lap(lapNumber, lapTime, accumulatedTime));
115 prevAccumulatedTime = accumulatedTime;
126 * @param accumulatedTime the amount of time accumulate by the stopwatch at the end of the lap
128 public static void addLap(Context context, int newLapCount, long accumulatedTime) {
131 .putLong(LAP_ACCUMULATED_TIME + newLapCount, accumulatedTime)
Stopwatch.java 44 Stopwatch(State state, long lastStartTime, long accumulatedTime) {
47 mAccumulatedTime = accumulatedTime;
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
LapsAdapter.java 97 viewHolder.accumulatedTime.setText(formatAccumulatedTime(totalTime, true));
128 holder.accumulatedTime.setText(formatAccumulatedTime(totalTime, false));
274 * @param accumulatedTime the accumulated time to be formatted
279 private String formatAccumulatedTime(long accumulatedTime, boolean isBinding) {
281 final long longestAccumulatedTime = Math.max(totalTime, accumulatedTime);
282 final String formattedTime = formatTime(longestAccumulatedTime, accumulatedTime, " ");
309 private final TextView accumulatedTime;
316 accumulatedTime = (TextView) itemView.findViewById(R.id.lap_total);

Completed in 2272 milliseconds