Home
last modified time | relevance | path

Searched refs:mTotalTime (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimTimeBar.java76 (int) ((mProgressBar.width() * (long) time) / mTotalTime); in getBarPosFromTime()
92 if (mTotalTime > 0) { in updatePlayedBarAndScrubberFromTime()
113 if (mTotalTime > 0 && mTrimEndTime == 0) { in initTrimTimeIfNeeded()
114 mTrimEndTime = mTotalTime; in initTrimTimeIfNeeded()
127 if (mCurrentTime == currentTime && mTotalTime == totalTime in setTime()
132 mTotalTime = totalTime; in setTime()
163 * mTotalTime / mProgressBar.width()); in getScrubberTime()
202 stringForTime(mTotalTime), in onDraw()
DTimeBar.java75 protected int mTotalTime; field in TimeBar
116 if (mTotalTime > 0) { in update()
118 … mPlayedBar.left + (int) ((mProgressBar.width() * (long) mCurrentTime) / mTotalTime); in update()
145 if (mCurrentTime == currentTime && mTotalTime == totalTime) { in setTime()
149 mTotalTime = totalTime; in setTime()
169 * mTotalTime / mProgressBar.width()); in getScrubberTime()
209 stringForTime(mTotalTime), in onDraw()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java66 mTotalTime = 0; in Lap()
71 mTotalTime = total; in Lap()
74 public long mTotalTime; field in StopwatchFragment.Lap
126 toalTime.setText(Stopwatches.formatTimeText(mLaps.get(position).mTotalTime, in getView()
163 lap.mTotalTime >= mThresholds[mTotalIndex]) { in updateTimeFormats()
190 laps[i] = mLaps.get(i).mTotalTime; in getLapTimes()
209 mLaps.get(i).mTotalTime = totalTime; in setLapTimes()
635 long lapTime = curTime - ((Lap) mLapsAdapter.getItem(1)).mTotalTime; in addLapTime()
637 ((Lap)mLapsAdapter.getItem(0)).mTotalTime = curTime; in addLapTime()
654 curLap.mLapTime = totalTime - ((Lap)mLapsAdapter.getItem(1)).mTotalTime; in updateCurrentLap()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
DStatistics.java73 int mTotalTime; field in Statistics.AverageTimeCounter
77 mTotalTime = 0; in reset()
82 mTotalTime += deltaTime; in add()
89 return mTotalTime / mCount; in getAverageTime()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java109 mTotalTime = (TextView) findViewById(R.id.totaltime); in onCreate()
1144 private TextView mTotalTime; field in MediaPlaybackActivity
1311 mTotalTime.setText(MusicUtils.makeTimeString(this, mDuration / 1000)); in updateTrackInfo()