Home
last modified time | relevance | path

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

12

/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 …]
DLapsAdapter.java91 final long totalTime; in onBindViewHolder() local
99 totalTime = lap.getAccumulatedTime(); in onBindViewHolder()
102 totalTime = getStopwatch().getTotalTime(); in onBindViewHolder()
103 lapTime = DataModel.getDataModel().getCurrentLapTime(totalTime); in onBindViewHolder()
109 viewHolder.accumulatedTime.setText(formatAccumulatedTime(totalTime, true)); in onBindViewHolder()
127 void updateCurrentLap(RecyclerView rv, long totalTime) { in updateCurrentLap() argument
136 final long lapTime = DataModel.getDataModel().getCurrentLapTime(totalTime); in updateCurrentLap()
140 holder.accumulatedTime.setText(formatAccumulatedTime(totalTime, false)); in updateCurrentLap()
182 final long totalTime = stopwatch.getTotalTime(); in getShareText() local
183 final String stopwatchTime = formatTime(totalTime, totalTime, ":"); in getShareText()
[all …]
DStopwatchFragment.kt476 val totalTime = stopwatch.totalTime in <lambda>() constant
477 mStopwatchTextController.setTimeString(totalTime) in <lambda>()
482 mLapsAdapter.updateCurrentLap(mLapsList, totalTime) in <lambda>()
DStopwatchFragment.java497 final long totalTime = stopwatch.getTotalTime(); in updateTime() local
498 mStopwatchTextController.setTimeString(totalTime); in updateTime()
503 mLapsAdapter.updateCurrentLap(mLapsList, totalTime); in updateTime()
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()
DStopwatchModel.java146 final long totalTime = getStopwatch().getTotalTime(); in addLap() local
150 StopwatchDAO.addLap(mPrefs, lapNumber, totalTime); in addLap()
153 final long lapTime = totalTime - prevAccumulatedTime; in addLap()
155 final Lap lap = new Lap(lapNumber, lapTime, totalTime); in addLap()
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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/search/
DSettingsSearchIndexablesProvider.java250 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
251 Log.d(TAG, "No indexable, total time " + totalTime); in getNonIndexableKeysFromProvider()
261 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
263 + totalTime); in getNonIndexableKeysFromProvider()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DSettingsSearchIndexablesProvider.java250 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
251 Log.d(TAG, "No indexable, total time " + totalTime); in getNonIndexableKeysFromProvider()
261 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
263 + totalTime); in getNonIndexableKeysFromProvider()
/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()
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()
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()
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java230 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading() local
232 .logHomepageDisplay(totalTime); in onFinishCardLoading()
234 SettingsEnums.ACTION_CONTEXTUAL_HOME_SHOW, (int) totalTime); in onFinishCardLoading()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java245 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading() local
247 SettingsEnums.ACTION_CONTEXTUAL_HOME_SHOW, (int) totalTime); in onFinishCardLoading()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioPlaybackProgressBar.java46 public void onTimeUpdate(final TimeAnimator animation, final long totalTime, in AudioPlaybackProgressBar()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DSoundLevels.java109 public void onTimeUpdate(final TimeAnimator animation, final long totalTime, in SoundLevels()

12