Searched refs:lapNumber (Results 1 – 6 of 6) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.kt | 77 val lapNumber: Int in onBindViewHolder() constant 85 lapNumber = lap.lapNumber in onBindViewHolder() 91 lapNumber = laps.size + 1 in onBindViewHolder() 97 viewHolder.lapNumber.setText(formatLapNumber(laps.size + 1, lapNumber)) in onBindViewHolder() 105 laps[position - 1].lapNumber.toLong() in getItemId() 188 builder.append(lap.lapNumber) 211 fun formatLapNumber(lapCount: Int, lapNumber: Int): String { in formatLapNumber() 213 mContext.getString(R.string.lap_number_single_digit, lapNumber) in formatLapNumber() 215 mContext.getString(R.string.lap_number_double_digit, lapNumber) in formatLapNumber() 271 val lapNumber: TextView constant [all …]
|
D | StopwatchFragment.kt | 377 if (lap.lapNumber == 1) { in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchDAO.kt | 95 for (lapNumber in 1..lapCount) { in getLaps() variable 97 val lapAccumulatedTimeKey = LAP_ACCUMULATED_TIME + lapNumber in getLaps() 104 laps.add(Lap(lapNumber, lapTime, accumulatedTime)) in getLaps() 134 for (lapNumber in 1..lapCount) { in clearLaps() constant 135 editor.remove(LAP_ACCUMULATED_TIME + lapNumber) in clearLaps()
|
D | StopwatchModel.kt | 135 val lapNumber = laps.size + 1 in addLap() constant 136 StopwatchDAO.addLap(mPrefs, lapNumber, totalTime) in addLap() 141 val lap = Lap(lapNumber, lapTime, totalTime) in addLap()
|
D | Lap.kt | 24 val lapNumber: Int, constant in com.android.deskclock.data.Lap
|
D | StopwatchNotificationBuilder.kt | 104 val lapNumber = lapCount + 1 in build() constant 105 val lap: String = res.getString(R.string.sw_notification_lap_number, lapNumber) in build()
|