/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.kt | 78 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 …]
|
D | LapsAdapter.java | 91 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 …]
|
D | StopwatchFragment.kt | 476 val totalTime = stopwatch.totalTime in <lambda>() constant 477 mStopwatchTextController.setTimeString(totalTime) in <lambda>() 482 mLapsAdapter.updateCurrentLap(mLapsList, totalTime) in <lambda>()
|
D | StopwatchFragment.java | 497 final long totalTime = stopwatch.getTotalTime(); in updateTime() local 498 mStopwatchTextController.setTimeString(totalTime); in updateTime() 503 mLapsAdapter.updateCurrentLap(mLapsList, totalTime); in updateTime()
|
D | StopwatchCircleView.kt | 126 val currentLapTime = stopwatch.totalTime - priorLap.accumulatedTime in onDraw()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchModel.kt | 132 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()
|
D | StopwatchModel.java | 146 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()
|
D | Stopwatch.kt | 53 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()
|
D | StopwatchDAO.kt | 56 if (s.totalTime < 0) { in getStopwatch()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsData.java | 88 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()
|
D | ProcStatsEntry.java | 68 mBgDuration = tmpBgTotals.totalTime; in ProcStatsEntry() 72 mRunDuration = tmpRunTotals.totalTime; in ProcStatsEntry()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsData.java | 88 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()
|
D | ProcStatsEntry.java | 68 mBgDuration = tmpBgTotals.totalTime; in ProcStatsEntry() 72 mRunDuration = tmpRunTotals.totalTime; in ProcStatsEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | profiler.h | 36 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/ |
D | SettingsSearchIndexablesProvider.java | 250 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/ |
D | SettingsSearchIndexablesProvider.java | 250 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/ |
D | TimeBar.java | 143 public void setTime(int currentTime, int totalTime, in setTime() argument 145 if (mCurrentTime == currentTime && mTotalTime == totalTime) { in setTime() 149 mTotalTime = totalTime; in setTime()
|
D | TrimTimeBar.java | 125 public void setTime(int currentTime, int totalTime, in setTime() argument 127 if (mCurrentTime == currentTime && mTotalTime == totalTime in setTime() 132 mTotalTime = totalTime; in setTime()
|
D | TrimControllerOverlay.java | 84 public void setTimes(int currentTime, int totalTime, int trimStartTime, int trimEndTime) { in setTimes() argument 85 mTimeBar.setTime(currentTime, totalTime, trimStartTime, trimEndTime); in setTimes()
|
D | CommonControllerOverlay.java | 185 public void setTimes(int currentTime, int totalTime, in setTimes() argument 187 mTimeBar.setTime(currentTime, totalTime, trimStartTime, trimEndTime); in setTimes()
|
D | ControllerOverlay.java | 54 void setTimes(int currentTime, int totalTime, in setTimes() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/ |
D | ContextualCardManager.java | 230 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/ |
D | ContextualCardManager.java | 245 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/ |
D | AudioPlaybackProgressBar.java | 46 public void onTimeUpdate(final TimeAnimator animation, final long totalTime, in AudioPlaybackProgressBar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoundLevels.java | 109 public void onTimeUpdate(final TimeAnimator animation, final long totalTime, in SoundLevels()
|