Searched refs:lapNumber (Results 1 – 5 of 5) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchDAO.java | 106 for (int lapNumber = 1; lapNumber <= lapCount; lapNumber++) { in getLaps() 108 final String lapAccumulatedTimeKey = LAP_ACCUMULATED_TIME + lapNumber; in getLaps() 115 laps.add(new Lap(lapNumber, lapTime, accumulatedTime)); in getLaps() 145 for (int lapNumber = 1; lapNumber <= lapCount; lapNumber++) { in clearLaps() 146 editor.remove(LAP_ACCUMULATED_TIME + lapNumber); in clearLaps()
|
D | StopwatchModel.java | 146 final int lapNumber = laps.size() + 1; in addLap() local 147 StopwatchDAO.addLap(mPrefs, lapNumber, totalTime); in addLap() 152 final Lap lap = new Lap(lapNumber, lapTime, totalTime); in addLap()
|
D | Lap.java | 33 Lap(int lapNumber, long lapTime, long accumulatedTime) { in Lap() argument 34 mLapNumber = lapNumber; in Lap()
|
D | StopwatchNotificationBuilder.java | 97 final int lapNumber = lapCount + 1; in build() local 98 final String lap = res.getString(R.string.sw_notification_lap_number, lapNumber); in build()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.java | 90 final int lapNumber; in onBindViewHolder() local 98 lapNumber = lap.getLapNumber(); in onBindViewHolder() 104 lapNumber = getLaps().size() + 1; in onBindViewHolder() 110 viewHolder.lapNumber.setText(formatLapNumber(getLaps().size() + 1, lapNumber)); in onBindViewHolder() local 226 String formatLapNumber(int lapCount, int lapNumber) { in formatLapNumber() argument 228 return mContext.getString(R.string.lap_number_single_digit, lapNumber); in formatLapNumber() 230 return mContext.getString(R.string.lap_number_double_digit, lapNumber); in formatLapNumber() 346 private final TextView lapNumber; field in LapsAdapter.LapItemHolder 354 lapNumber = (TextView) itemView.findViewById(R.id.lap_number); in LapItemHolder()
|