Home
last modified time | relevance | path

Searched refs:mCurrentTime (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTimeBar.java76 protected int mCurrentTime; field in TimeBar
118 … mPlayedBar.left + (int) ((mProgressBar.width() * (long) mCurrentTime) / mTotalTime); in update()
145 if (mCurrentTime == currentTime && mTotalTime == totalTime) { in setTime()
148 mCurrentTime = currentTime; in setTime()
204 stringForTime(mCurrentTime), in onDraw()
234 mCurrentTime = getScrubberTime(); in onTouchEvent()
235 mListener.onScrubbingMove(mCurrentTime); in onTouchEvent()
DTrimTimeBar.java95 mPlayedBar.right = getBarPosFromTime(mCurrentTime); in updatePlayedBarAndScrubberFromTime()
127 if (mCurrentTime == currentTime && mTotalTime == totalTime in setTime()
131 mCurrentTime = currentTime; in setTime()
197 stringForTime(mCurrentTime), in onDraw()
219 mCurrentTime = getScrubberTime(mScrubberLeft, mScrubber.getWidth() / 2); in updateTimeFromPos()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTests.java39 private int mCurrentTime = 0; field in UserHistoryDictionaryTests
82 mCurrentTime = 0; in resetCurrentTimeForTestMode()
83 setCurrentTimeForTestMode(mCurrentTime); in resetCurrentTimeForTestMode()
122 dict, numberOfWords, random, true /* checksContents */, mCurrentTime)); in doTestRandomWords()
176 mCurrentTime)); in doTestStressTestForSwitchingLanguagesAndAddingWords()
210 numberOfWords, random, true /* checksContents */, mCurrentTime)); in doTestAddManyWords()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java108 mCurrentTime = (TextView) findViewById(R.id.currenttime); in onCreate()
1143 private TextView mCurrentTime; field in MediaPlaybackActivity
1174 mCurrentTime.setText(MusicUtils.makeTimeString(this, pos / 1000)); in refreshNow()
1179 mCurrentTime.setVisibility(View.VISIBLE); in refreshNow()
1182 int vis = mCurrentTime.getVisibility(); in refreshNow()
1183mCurrentTime.setVisibility(vis == View.INVISIBLE ? View.VISIBLE : View.INVISIBLE); in refreshNow()
1187 mCurrentTime.setText("--:--"); in refreshNow()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java167 private Time mCurrentTime; field in DayView
205 mCurrentTime.switchTimezone(tz);
798 mCurrentTime = new Time(Utils.getTimeZone(context, mTZUpdater)); in init()
800 mCurrentTime.set(currentTime); in init()
801 mTodayJulianDay = Time.getJulianDay(currentTime, mCurrentTime.gmtoff); in init()
2472 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in doDraw()
2473 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in doDraw()
2662 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors()
2663 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
2675 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java136 private long mCurrentTime; field in ModeListView
1574 mCurrentTime = SystemClock.uptimeMillis(); in scroll()
1586 insertNewPosition(newPosition, mCurrentTime); in scroll()