Home
last modified time | relevance | path

Searched refs:laps (Results 1 – 17 of 17) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchModel.kt121 val laps: List<Lap> constant in com.android.deskclock.data.StopwatchModel
133 val laps: MutableList<Lap> = mutableLaps in addLap() constant
135 val lapNumber = laps.size + 1 in addLap()
138 val prevAccumulatedTime = if (laps.isEmpty()) 0 else laps[0].accumulatedTime in addLap()
142 laps.add(0, lap) in addLap()
169 fun canAddMoreLaps(): Boolean = laps.size < 98 in canAddMoreLaps()
178 val laps = laps in canAddMoreLaps() constant in com.android.deskclock.data.StopwatchModel
179 if (laps.isNotEmpty()) { in canAddMoreLaps()
181 for (lap in laps) { in canAddMoreLaps()
187 val currentLapTime = stopwatch.totalTime - laps[0].accumulatedTime in canAddMoreLaps()
[all …]
DStopwatchModel.java147 final List<Lap> laps = getMutableLaps(); in addLap() local
149 final int lapNumber = laps.size() + 1; in addLap()
152 final long prevAccumulatedTime = laps.isEmpty() ? 0 : laps.get(0).getAccumulatedTime(); in addLap()
156 laps.add(0, lap); in addLap()
193 final List<Lap> laps = getLaps(); in getLongestLapTime() local
194 if (!laps.isEmpty()) { in getLongestLapTime()
202 final long currentLapTime = stopwatch.getTotalTime() - laps.get(0).getAccumulatedTime(); in getLongestLapTime()
DStopwatchDAO.kt90 val laps: MutableList<Lap> = mutableListOf() in getLaps() constant
104 laps.add(Lap(lapNumber, lapTime, accumulatedTime)) in getLaps()
111 laps.reverse() in getLaps()
113 return laps in getLaps()
DStopwatchDAO.java101 final List<Lap> laps = new ArrayList<>(lapCount); in getLaps() local
115 laps.add(new Lap(lapNumber, lapTime, accumulatedTime)); in getLaps()
122 Collections.reverse(laps); in getLaps()
124 return laps; in getLaps()
DDataModel.kt789 val laps: List<Lap> constant in com.android.deskclock.data.DataModel
792 return mStopwatchModel!!.laps
DStopwatchNotificationBuilder.kt102 val lapCount = DataModel.dataModel.laps.size in build()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt65 val lapCount = laps.size in getItemCount()
81 val lap = if (position == 0) null else laps[position - 1] in onBindViewHolder()
91 lapNumber = laps.size + 1 in onBindViewHolder()
97 viewHolder.lapNumber.setText(formatLapNumber(laps.size + 1, lapNumber)) in onBindViewHolder()
101 val laps = laps in getItemId() constant
103 (laps.size + 1).toLong() in getItemId()
105 laps[position - 1].lapNumber.toLong() in getItemId()
178 val laps = laps constant
179 if (laps.isNotEmpty()) {
186 for (i in laps.indices.reversed()) {
[all …]
DStopwatchCircleView.kt109 val laps = laps in onDraw() constant
112 if (laps.isEmpty() || !DataModel.dataModel.canAddMoreLaps()) { in onDraw()
122 val lapCount = laps.size in onDraw()
123 val firstLap = laps[lapCount - 1] in onDraw()
124 val priorLap = laps[0] in onDraw()
169 private val laps: List<Lap> constant
170 get() = DataModel.dataModel.laps
DLapsAdapter.java115 final List<Lap> laps = getLaps(); in getItemId() local
117 return laps.size() + 1; in getItemId()
120 return laps.get(position - 1).getLapNumber(); in getItemId()
192 final List<Lap> laps = getLaps(); in getShareText() local
193 if (!laps.isEmpty()) { in getShareText()
200 for (int i = laps.size() - 1; i >= 0; i--) { in getShareText()
201 final Lap lap = laps.get(i); in getShareText()
210 builder.append(laps.size() + 1); in getShareText()
DStopwatchCircleView.java113 final List<Lap> laps = getLaps(); in onDraw() local
116 if (laps.isEmpty() || !DataModel.getDataModel().canAddMoreLaps()) { in onDraw()
126 final int lapCount = laps.size(); in onDraw()
127 final Lap firstLap = laps.get(lapCount - 1); in onDraw()
128 final Lap priorLap = laps.get(0); in onDraw()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...