Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
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.java497 final long totalTime = stopwatch.getTotalTime(); in updateTime() local
498 mStopwatchTextController.setTimeString(totalTime); in updateTime()
503 mLapsAdapter.updateCurrentLap(mLapsList, totalTime); in updateTime()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchModel.java143 final long totalTime = getStopwatch().getTotalTime(); in addLap() local
147 StopwatchDAO.addLap(mPrefs, lapNumber, totalTime); in addLap()
150 final long lapTime = totalTime - prevAccumulatedTime; in addLap()
152 final Lap lap = new Lap(lapNumber, lapTime, totalTime); in addLap()
/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/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/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/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.java240 final long totalTime = System.currentTimeMillis() - mStartTime; in onFinishCardLoading() local
242 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()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java503 long totalTime = SystemClock.elapsedRealtime() - mLastLlcpActivationTime; in onLlcpFirstPacketReceived() local
504 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.java681 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument