Searched refs:mCurrentTime (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TimeBar.java | 76 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()
|
D | TrimTimeBar.java | 95 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/ |
D | UserHistoryDictionaryTests.java | 50 private int mCurrentTime = 0; field in UserHistoryDictionaryTests 95 mCurrentTime = 0; in resetCurrentTimeForTestMode() 96 setCurrentTimeForTestMode(mCurrentTime); in resetCurrentTimeForTestMode() 135 dict, numberOfWords, random, true /* checksContents */, mCurrentTime)); in doTestRandomWords() 193 mCurrentTime)); in doTestStressTestForSwitchingLanguagesAndAddingWords() 229 numberOfWords, random, true /* checksContents */, mCurrentTime)); in doTestAddManyWords()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | UptimeTrackerTest.java | 29 private long mCurrentTime = 0; field in UptimeTrackerTest.MockTimeInterface 33 mCurrentTime += by; in incrementTime() 46 return mCurrentTime; in getUptime()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | SpringAnimationBuilder.java | 68 private float mCurrentTime = 0; field in SpringAnimationBuilder 133 mCurrentTime = time; in setValue() 140 return mCurrentTime; in get()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 125 private final TextView mCurrentTime; field in PlaybackFragment.QueueViewHolder 140 mCurrentTime = itemView.findViewById(R.id.current_time); in QueueViewHolder() 165 mCurrentTime.setText(mQueueAdapter.getCurrentTime()); in bind() 170 ViewUtils.setVisible(mCurrentTime, shouldShowTime); in bind()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 166 private Time mCurrentTime; field in DayView 202 mCurrentTime.switchTimezone(tz); 783 mCurrentTime = new Time(Utils.getTimeZone(context, mTZUpdater)); in init() 785 mCurrentTime.set(currentTime); in init() 786 mTodayJulianDay = Time.getJulianDay(currentTime, mCurrentTime.gmtoff); in init() 2189 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in doDraw() 2190 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in doDraw() 2333 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors() 2334 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors() 2346 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 136 private long mCurrentTime; field in ModeListView 1574 mCurrentTime = SystemClock.uptimeMillis(); in scroll() 1586 insertNewPosition(newPosition, mCurrentTime); in scroll()
|