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/
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()
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()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsMemDetail.java55 long mTotalTime; field in ProcessStatsMemDetail
74 mTotalTime = args.getLong(EXTRA_TOTAL_TIME); in onCreate()
126 float level = ((float)mMemTimes[i])/mTotalTime; in fillMemStateSection()
137 (long)((weight * 1024) / mTotalTime)); in addMemUseDetailsItem()
DProcessStatsDetail.java86 private long mTotalTime; field in ProcessStatsDetail
104 mTotalTime = args.getLong(EXTRA_TOTAL_TIME); in onCreate()
107 mOnePercentTime = mTotalTime/100; in onCreate()
197 / (float) mTotalTime, getActivity()); in createDetails()
256 / (float) mTotalTime, getActivity()); in fillProcessesSection()
356 service.mDuration / (float) mTotalTime, getActivity())); in fillServicesSection()
/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()