Home
last modified time | relevance | path

Searched refs:stopwatch (Results 1 – 20 of 20) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchModel.kt81 val stopwatch: Stopwatch constant in com.android.deskclock.data.StopwatchModel
93 fun setStopwatch(stopwatch: Stopwatch): Stopwatch { in setStopwatch()
94 val before = this.stopwatch in setStopwatch()
95 if (before != stopwatch) { in setStopwatch()
96 StopwatchDAO.setStopwatch(mPrefs, stopwatch) in setStopwatch()
97 mStopwatch = stopwatch in setStopwatch()
105 if (stopwatch.isReset) { in setStopwatch()
111 stopwatchListener.stopwatchUpdated(before, stopwatch) in setStopwatch()
115 return stopwatch in setStopwatch()
132 val totalTime = stopwatch.totalTime in addLap()
[all …]
DStopwatchDAO.kt66 fun setStopwatch(prefs: SharedPreferences, stopwatch: Stopwatch) { in setStopwatch()
69 if (stopwatch.isReset) { in setStopwatch()
75 editor.putInt(STATE, stopwatch.state.ordinal) in setStopwatch()
76 .putLong(LAST_START_TIME, stopwatch.lastStartTime) in setStopwatch()
77 .putLong(LAST_WALL_CLOCK_TIME, stopwatch.lastWallClockTime) in setStopwatch()
78 .putLong(ACCUMULATED_TIME, stopwatch.accumulatedTime) in setStopwatch()
DStopwatchNotificationBuilder.kt40 import com.android.deskclock.stopwatch.StopwatchService
56 fun build(context: Context, nm: NotificationModel, stopwatch: Stopwatch?): Notification { in build()
68 val running = stopwatch!!.isRunning in build()
71 val base: Long = SystemClock.elapsedRealtime() - stopwatch.totalTime in build()
142 .setAutoCancel(stopwatch.isPaused) in build()
DDataModel.kt219 mStopwatchModel!!.setStopwatch(stopwatch.updateAfterReboot()) in updateAfterReboot()
228 mStopwatchModel!!.setStopwatch(stopwatch.updateAfterTimeSet()) in updateAfterTimeSet()
755 val stopwatch: Stopwatch constant in com.android.deskclock.data.DataModel
758 return mStopwatchModel!!.stopwatch
766 return mStopwatchModel!!.setStopwatch(stopwatch.start()) in startStopwatch()
774 return mStopwatchModel!!.setStopwatch(stopwatch.pause()) in pauseStopwatch()
782 return mStopwatchModel!!.setStopwatch(stopwatch.reset()) in resetStopwatch()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt17 package com.android.deskclock.stopwatch in <lambda>()
223 when (stopwatch.state) { in <lambda>()
234 if (stopwatch.isRunning) { in <lambda>()
269 when (stopwatch.state) { in <lambda>()
323 val priorState = stopwatch.state in <lambda>()
424 if (stopwatch.isRunning && isTabSelected && appInForeground) { in <lambda>()
439 if (stopwatch.isRunning) { in <lambda>()
446 private val stopwatch: Stopwatch in <lambda>() constant in com.android.deskclock.stopwatch.StopwatchFragment
447 get() = DataModel.dataModel.stopwatch in <lambda>()
474 val stopwatch = stopwatch in <lambda>() constant
[all …]
DLapsAdapter.kt17 package com.android.deskclock.stopwatch
32 import com.android.deskclock.stopwatch.LapsAdapter.LapItemHolder
89 totalTime = stopwatch.totalTime in onBindViewHolder()
167 val stopwatch = stopwatch constant
168 val totalTime = stopwatch.totalTime
247 val totalTime = stopwatch.totalTime in formatAccumulatedTime()
261 private val stopwatch: Stopwatch constant
262 get() = DataModel.dataModel.stopwatch
DStopwatchCircleView.kt17 package com.android.deskclock.stopwatch
121 val stopwatch = stopwatch in onDraw() constant
126 val currentLapTime = stopwatch.totalTime - priorLap.accumulatedTime in onDraw()
161 if (stopwatch.isRunning) { in onDraw()
166 private val stopwatch: Stopwatch constant
167 get() = DataModel.dataModel.stopwatch
DStopwatchService.kt17 package com.android.deskclock.stopwatch
DStopwatchLandscapeLayout.kt17 package com.android.deskclock.stopwatch
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.kt43 import com.android.deskclock.stopwatch.StopwatchService
65 val stopwatch: ShortcutInfo = createStopwatchShortcut() in updateShortcuts() constant
67 mShortcutManager.setDynamicShortcuts(listOf(alarm, timer, stopwatch, screensaver)) in updateShortcuts()
108 @StringRes val action: Int = if (DataModel.dataModel.stopwatch.isRunning) { in createStopwatchShortcut()
120 if (DataModel.dataModel.stopwatch.isRunning) { in createStopwatchShortcut()
/packages/apps/Messaging/src/com/android/messaging/util/
DGifTranscoder.java48 Stopwatch stopwatch = Stopwatch.createStarted(); in transcode() local
50 stopwatch.stop(); in transcode()
51 final long elapsedMs = stopwatch.elapsed(TimeUnit.MILLISECONDS); in transcode()
/packages/modules/DnsResolver/
DDnsTlsTransport.cpp324 netdutils::Stopwatch stopwatch; in validate() local
326 udpProbeTimeUs = stopwatch.timeTakenUs(); in validate()
342 netdutils::Stopwatch stopwatch; in validate() local
344 dotProbeTimeUs = stopwatch.timeTakenUs(); in validate()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DTzS2PolygonsToTzS2CellUnions.java178 Stopwatch stopwatch = Stopwatch.createStarted(); in createTzS2CellUnion() local
200 tzId, cellIds.size(), maxS2Level, stopwatch.elapsed()); in createTzS2CellUnion()
DTzS2CellUnionsToTzS2Ranges.java176 Stopwatch stopwatch = Stopwatch.createStarted(); in createTzS2Ranges() local
214 ranges.size(), tzId, stopwatch.elapsed()); in createTzS2Ranges()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleShortcuts.kt24 import com.android.deskclock.stopwatch.StopwatchService
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DUiDataModel.kt29 import com.android.deskclock.stopwatch.StopwatchFragment
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...