Searched refs:mTotalTime (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTrimTimeBar.java76 (int) ((mProgressBar.width() * (long) time) / mTotalTime);
92 if (mTotalTime > 0) {
113 if (mTotalTime > 0 && mTrimEndTime == 0) {
114 mTrimEndTime = mTotalTime;
127 if (mCurrentTime == currentTime && mTotalTime == totalTime
132 mTotalTime = totalTime;
163 * mTotalTime / mProgressBar.width());
202 stringForTime(mTotalTime),
H A DTimeBar.java75 protected int mTotalTime; field in class:TimeBar
116 if (mTotalTime > 0) {
118 mPlayedBar.left + (int) ((mProgressBar.width() * (long) mCurrentTime) / mTotalTime);
145 if (mCurrentTime == currentTime && mTotalTime == totalTime) {
149 mTotalTime = totalTime;
169 * mTotalTime / mProgressBar.width());
209 stringForTime(mTotalTime),
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DStatistics.java85 int mTotalTime; field in class:Statistics.AverageTimeCounter
89 mTotalTime = 0;
94 mTotalTime += deltaTime;
101 return mTotalTime / mCount;
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcessStatsUi.java113 long mTotalTime; field in class:ProcessStatsUi
194 args.putLong(ProcessStatsDetail.EXTRA_TOTAL_TIME, mTotalTime);
407 mTotalTime = ProcessStats.dumpSingleTime(null, null, mStats.mMemFactorDurations,
409 if (DEBUG) Log.d(TAG, "Total time of stats: " + makeDuration(mTotalTime));
441 memTotalTime = mTotalTime;
445 colors.setRatios(memTimes[ProcessStats.ADJ_MEM_FACTOR_CRITICAL] / (float)mTotalTime,
447 + memTimes[ProcessStats.ADJ_MEM_FACTOR_MODERATE]) / (float)mTotalTime,
448 memTimes[ProcessStats.ADJ_MEM_FACTOR_NORMAL] / (float)mTotalTime);
H A DProcessStatsDetail.java66 private long mTotalTime; field in class:ProcessStatsDetail
91 mTotalTime = args.getLong(EXTRA_TOTAL_TIME);
120 String appLevelText = makePercentString(getResources(), mEntry.mDuration, mTotalTime);
208 makePercentString(getResources(), mEntry.mDuration, mTotalTime));
271 final double percentOfTime = (((double)duration) / mTotalTime) * 100;
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java80 mTotalTime = total;
83 public long mTotalTime; field in class:StopwatchFragment.Lap
151 totalTime.setText(Stopwatches.formatTimeText(lap.mTotalTime, mFormats[mTotalIndex]));
192 lap.mTotalTime >= mThresholds[mTotalIndex]) {
219 laps[i] = mLaps.get(i).mTotalTime;
238 mLaps.get(i).mTotalTime = totalTime;
798 final long lapTime = curTime - mLapsAdapter.getItem(1).mTotalTime;
800 mLapsAdapter.getItem(0).mTotalTime = curTime;
821 curLap.mLapTime = totalTime - mLapsAdapter.getItem(1).mTotalTime;
822 curLap.mTotalTime
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java109 mTotalTime = (TextView) findViewById(R.id.totaltime);
1144 private TextView mTotalTime; field in class:MediaPlaybackActivity
1311 mTotalTime.setText(MusicUtils.makeTimeString(this, mDuration / 1000));

Completed in 1536 milliseconds