Home
last modified time | relevance | path

Searched refs:accumulatedTime (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchDAO.java63 final long accumulatedTime = prefs.getLong(ACCUMULATED_TIME, 0); in getStopwatch() local
64 Stopwatch s = new Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime); in getStopwatch()
109 final long accumulatedTime = prefs.getLong(lapAccumulatedTimeKey, 0); in getLaps() local
112 final long lapTime = accumulatedTime - prevAccumulatedTime; in getLaps()
115 laps.add(new Lap(lapNumber, lapTime, accumulatedTime)); in getLaps()
118 prevAccumulatedTime = accumulatedTime; in getLaps()
131 static void addLap(SharedPreferences prefs, int newLapCount, long accumulatedTime) { in addLap() argument
134 .putLong(LAP_ACCUMULATED_TIME + newLapCount, accumulatedTime) in addLap()
DLap.java33 Lap(int lapNumber, long lapTime, long accumulatedTime) { in Lap() argument
36 mAccumulatedTime = accumulatedTime; in Lap()
DStopwatch.java49 Stopwatch(State state, long lastStartTime, long lastWallClockTime, long accumulatedTime) { in Stopwatch() argument
53 mAccumulatedTime = accumulatedTime; in Stopwatch()
/packages/apps/DeskClock/src/com/android/deskclock/
DStopwatchTextController.java43 public void setTimeString(long accumulatedTime) { in setTimeString() argument
46 if ((mLastTime / 10) == (accumulatedTime / 10)) { in setTimeString()
50 final int hours = (int) (accumulatedTime / HOUR_IN_MILLIS); in setTimeString()
51 int remainder = (int) (accumulatedTime % HOUR_IN_MILLIS); in setTimeString()
64 if ((mLastTime / SECOND_IN_MILLIS) != (accumulatedTime / SECOND_IN_MILLIS)) { in setTimeString()
69 mLastTime = accumulatedTime; in setTimeString()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.java109 viewHolder.accumulatedTime.setText(formatAccumulatedTime(totalTime, true)); in onBindViewHolder()
140 holder.accumulatedTime.setText(formatAccumulatedTime(totalTime, false)); in updateCurrentLap()
318 private String formatAccumulatedTime(long accumulatedTime, boolean isBinding) { in formatAccumulatedTime() argument
320 final long longestAccumulatedTime = Math.max(totalTime, accumulatedTime); in formatAccumulatedTime()
321 final String formattedTime = formatTime(longestAccumulatedTime, accumulatedTime, LRM_SPACE); in formatAccumulatedTime()
348 private final TextView accumulatedTime; field in LapsAdapter.LapItemHolder
355 accumulatedTime = (TextView) itemView.findViewById(R.id.lap_total); in LapItemHolder()