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.kt89 val lapCount: Int = prefs.getInt(LAP_COUNT, 0) in getLaps() constant
95 for (lapNumber in 1..lapCount) { in getLaps()
133 val lapCount: Int = prefs.getInt(LAP_COUNT, 0) in clearLaps() constant
134 for (lapNumber in 1..lapCount) { in clearLaps()
DStopwatchNotificationBuilder.kt102 val lapCount = DataModel.dataModel.laps.size in build() constant
103 if (lapCount > 0) { in build()
104 val lapNumber = lapCount + 1 in build()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt65 val lapCount = laps.size in getItemCount() constant
66 val currentLapCount = if (lapCount == 0) 0 else 1 in getItemCount()
67 return currentLapCount + lapCount in getItemCount()
211 fun formatLapNumber(lapCount: Int, lapNumber: Int): String { in formatLapNumber()
212 return if (lapCount < 10) { in formatLapNumber()
DStopwatchCircleView.kt122 val lapCount = laps.size in onDraw() constant
123 val firstLap = laps[lapCount - 1] in onDraw()
144 if (lapCount > 1) { in onDraw()