Home
last modified time | relevance | path

Searched refs:totalTime (Results 1 – 23 of 23) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt78 val totalTime: Long in onBindViewHolder() constant
86 totalTime = lap.accumulatedTime in onBindViewHolder()
89 totalTime = stopwatch.totalTime in onBindViewHolder()
90 lapTime = DataModel.dataModel.getCurrentLapTime(totalTime) in onBindViewHolder()
96 viewHolder.accumulatedTime.setText(formatAccumulatedTime(totalTime, true)) in onBindViewHolder()
113 fun updateCurrentLap(rv: RecyclerView, totalTime: Long) { in updateCurrentLap()
122 val lapTime = DataModel.dataModel.getCurrentLapTime(totalTime) in updateCurrentLap()
125 holder.accumulatedTime.setText(formatAccumulatedTime(totalTime, false)) in updateCurrentLap()
168 val totalTime = stopwatch.totalTime constant
169 val stopwatchTime = formatTime(totalTime, totalTime, ":")
[all …]
DStopwatchFragment.kt475 val totalTime = stopwatch.totalTime in <lambda>() constant
476 mStopwatchTextController.setTimeString(totalTime) in <lambda>()
481 mLapsAdapter.updateCurrentLap(mLapsList, totalTime) in <lambda>()
DStopwatchCircleView.kt126 val currentLapTime = stopwatch.totalTime - priorLap.accumulatedTime in onDraw()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchModel.kt132 val totalTime = stopwatch.totalTime in addLap() constant
136 StopwatchDAO.addLap(mPrefs, lapNumber, totalTime) in addLap()
139 val lapTime = totalTime - prevAccumulatedTime in addLap()
141 val lap = Lap(lapNumber, lapTime, totalTime) in addLap()
187 val currentLapTime = stopwatch.totalTime - laps[0].accumulatedTime in canAddMoreLaps()
DStopwatch.kt53 val totalTime: Long constant in com.android.deskclock.data.Stopwatch
74 Stopwatch(State.RUNNING, Utils.now(), Utils.wallClock(), totalTime) in start()
85 Stopwatch(State.PAUSED, UNUSED, UNUSED, totalTime) in pause()
DStopwatchDAO.kt56 if (s.totalTime < 0) { in getStopwatch()
DStopwatchNotificationBuilder.kt71 val base: Long = SystemClock.elapsedRealtime() - stopwatch.totalTime in build()
/packages/apps/Settings/src/com/android/settings/gestures/
DBackGestureIndicatorDrawable.java92 mTimeAnimator.setTimeListener((TimeAnimator animation, long totalTime, long deltaTime) -> { in BackGestureIndicatorDrawable() argument
93 updateCurrentWidth(totalTime, deltaTime); in BackGestureIndicatorDrawable()
98 private void updateCurrentWidth(long totalTime, long deltaTime) { in updateCurrentWidth() argument
101 if (totalTime >= ANIMATION_DURATION_MS in updateCurrentWidth()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dprofiler.h36 const float totalTime = in ~Profiler() local
38 AKLOGI("Total time is %6.3f ms.", totalTime); in ~Profiler()
41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]); in ~Profiler()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java88 public void setTotalTime(int totalTime) { in setTotalTime() argument
89 memTotalTime = totalTime; in setTotalTime()
197 long totalTime = 0; in distributeZRam() local
202 totalTime += proc.mRunDuration; in distributeZRam()
205 for (int i = pkgEntries.size() - 1; i >= 0 && totalTime > 0; i--) { in distributeZRam()
216 long pkgZRam = (zramMem*pkgRunTime)/totalTime; in distributeZRam()
219 totalTime -= pkgRunTime; in distributeZRam()
DProcStatsEntry.java68 mBgDuration = tmpBgTotals.totalTime; in ProcStatsEntry()
72 mRunDuration = tmpRunTotals.totalTime; in ProcStatsEntry()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTimeBar.java143 public void setTime(int currentTime, int totalTime, in setTime() argument
145 if (mCurrentTime == currentTime && mTotalTime == totalTime) { in setTime()
149 mTotalTime = totalTime; in setTime()
DTrimControllerOverlay.java84 public void setTimes(int currentTime, int totalTime, int trimStartTime, int trimEndTime) { in setTimes() argument
85 mTimeBar.setTime(currentTime, totalTime, trimStartTime, trimEndTime); in setTimes()
DTrimTimeBar.java125 public void setTime(int currentTime, int totalTime, in setTime() argument
127 if (mCurrentTime == currentTime && mTotalTime == totalTime in setTime()
132 mTotalTime = totalTime; in setTime()
DCommonControllerOverlay.java185 public void setTimes(int currentTime, int totalTime, in setTimes() argument
187 mTimeBar.setTime(currentTime, totalTime, trimStartTime, trimEndTime); in setTimes()
DControllerOverlay.java54 void setTimes(int currentTime, int totalTime, in setTimes() argument
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java302 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
303 Log.d(TAG, "No indexable, total time " + totalTime); in getNonIndexableKeysFromProvider()
313 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
315 + totalTime); in getNonIndexableKeysFromProvider()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioPlaybackProgressBar.java46 public void onTimeUpdate(final TimeAnimator animation, final long totalTime, in AudioPlaybackProgressBar()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java267 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading() local
269 SettingsEnums.ACTION_CONTEXTUAL_HOME_SHOW, (int) totalTime); in onFinishCardLoading()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DSoundLevels.java109 public void onTimeUpdate(final TimeAnimator animation, final long totalTime, in SoundLevels()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/
DBitmapSoundLevelView.java156 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in BitmapSoundLevelView()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java504 long totalTime = SystemClock.elapsedRealtime() - mLastLlcpActivationTime; in onLlcpFirstPacketReceived() local
505 if (DBG) Log.d(TAG, "Took " + Long.toString(totalTime) + " to get first LLCP PDU"); in onLlcpFirstPacketReceived()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java687 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument