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.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/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/apps/DeskClock/src/com/android/deskclock/data/
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()
/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.java252 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
253 Log.d(TAG, "No indexable, total time " + totalTime); in getNonIndexableKeysFromProvider()
263 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
265 + 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()
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.java284 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
285 Log.d(TAG, "No indexable, total time " + totalTime); in getNonIndexableKeysFromProvider()
295 final long totalTime = System.currentTimeMillis() - startTime; in getNonIndexableKeysFromProvider() local
297 + totalTime); in getNonIndexableKeysFromProvider()
/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.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/
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/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.java681 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument