Home
last modified time | relevance | path

Searched refs:lapCount (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchDAO.java100 final int lapCount = prefs.getInt(LAP_COUNT, 0); in getLaps() local
101 final List<Lap> laps = new ArrayList<>(lapCount); in getLaps()
106 for (int lapNumber = 1; lapNumber <= lapCount; lapNumber++) { in getLaps()
144 final int lapCount = prefs.getInt(LAP_COUNT, 0); in clearLaps() local
145 for (int lapNumber = 1; lapNumber <= lapCount; lapNumber++) { in clearLaps()
DStopwatchNotificationBuilder.java95 final int lapCount = DataModel.getDataModel().getLaps().size(); in build() local
96 if (lapCount > 0) { in build()
97 final int lapNumber = lapCount + 1; in build()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.java76 final int lapCount = getLaps().size(); in getItemCount() local
77 final int currentLapCount = lapCount == 0 ? 0 : 1; in getItemCount()
78 return currentLapCount + lapCount; in getItemCount()
226 String formatLapNumber(int lapCount, int lapNumber) { in formatLapNumber() argument
227 if (lapCount < 10) { in formatLapNumber()
DStopwatchCircleView.java126 final int lapCount = laps.size(); in onDraw() local
127 final Lap firstLap = laps.get(lapCount - 1); in onDraw()
148 if (lapCount > 1) { in onDraw()