Home
last modified time | relevance | path

Searched refs:mTime (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaFragment.java60 private final Time mTime; field in AgendaFragment
85 mTime.switchTimezone(mTimeZone);
98 mTime = new Time(); in AgendaFragment()
102 mTime.setToNow(); in AgendaFragment()
104 mTime.set(mInitialTimeMillis); in AgendaFragment()
106 mLastHandledEventTime.set(mTime); in AgendaFragment()
114 mTime.switchTimezone(mTimeZone); in onAttach()
133 mTime.set(prevTime); in onCreate()
135 Log.d(TAG, "Restoring time to " + mTime.toString()); in onCreate()
215 Log.v(TAG, "OnResume to " + mTime.toString()); in onResume()
[all …]
DAgendaListView.java51 private Time mTime; field in AgendaListView
59 mTime.switchTimezone(mTimeZone);
92 mTime = new Time(mTimeZone); in initView()
196 startTime = Utils.convertAlldayLocalToUTC(mTime, startTime, mTimeZone); in onItemClick()
197 endTime = Utils.convertAlldayLocalToUTC(mTime, endTime, mTimeZone); in onItemClick()
199 mTime.set(startTime); in onItemClick()
211 time = mTime; in goTo()
218 mTime.set(time); in goTo()
219 mTime.switchTimezone(mTimeZone); in goTo()
220 mTime.normalize(true); in goTo()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java51 private CircleTimerView mTime; field in StopwatchFragment
320 mTime = (CircleTimerView)v.findViewById(R.id.stopwatch_time); in onCreateView()
344 mTime.readFromSharedPref(prefs, "sw"); in onResume()
345 mTime.postInvalidate(); in onResume()
383 mTime.writeToSharedPref(prefs, "sw"); in onPause()
405 mTime.pauseIntervalAnimation(); in doStop()
417 if (mTime.isAnimating()) { in doStart()
418 mTime.startIntervalAnimation(); in doStart()
433 mTime.clearSharedPref(prefs, "sw"); in doReset()
437 mTime.stopIntervalAnimation(); in doReset()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java86 private final Time mTime = new Time(); field in CalendarController
92 mTime.switchTimezone(Utils.getTimeZone(mContext, this));
306 mTime.setToNow(); in CalendarController()
464 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent()
474 mTime.set(event.selectedTime); in sendEvent()
479 long mtimeMillis = mTime.toMillis(false); in sendEvent()
482 mTime.set(event.startTime); in sendEvent()
485 event.selectedTime = mTime; in sendEvent()
494 event.startTime = mTime; in sendEvent()
500 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent()
[all …]
/packages/apps/Email/tests/src/com/android/email/activity/
DUIControllerTwoPaneRefreshTaskTest.java65 mClock.mTime = 123456789; in testShouldRefreshMailboxList()
80 mClock.mTime = mRefreshManager.mLastMailboxListRefresTime; in testShouldRefreshMailboxList()
85 mClock.mTime = mRefreshManager.mLastMailboxListRefresTime + 1; in testShouldRefreshMailboxList()
90 mClock.mTime = mRefreshManager.mLastMailboxListRefresTime in testShouldRefreshMailboxList()
108 mClock.mTime = 123456789; in testShouldAutoRefreshInbox()
134 mClock.mTime = mRefreshManager.mLastMessageListRefresTime; in testShouldAutoRefreshInbox()
139 mClock.mTime = mRefreshManager.mLastMessageListRefresTime + 1; in testShouldAutoRefreshInbox()
144 mClock.mTime = mRefreshManager.mLastMessageListRefresTime in testShouldAutoRefreshInbox()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java266 private Time mTime = new Time(); // TODO timezone? field in RecurrencePickerDialog
620 mTime.set(b.getLong(BUNDLE_START_TIME_MILLIS)); in onCreateView()
624 mTime.timezone = tz; in onCreateView()
626 mTime.normalize(false); in onCreateView()
629 mModel.weeklyByDayOfWeek[mTime.weekDay] = true; in onCreateView()
637 mModel.weeklyByDayOfWeek[mTime.weekDay] = true; in onCreateView()
642 mTime.setToNow(); in onCreateView()
715 mModel.endDate = new Time(mTime); in onCreateView()
936 mModel.monthlyByNthDayOfWeek = (mTime.monthDay + 6) / 7; in updateDialog()
937 mModel.monthlyByDayOfWeek = mTime.weekDay; in updateDialog()
[all …]
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java290 private Time mTime; field in EditEventView.TimeClickListener
293 mTime = time; in TimeClickListener()
304 mTime.hour, mTime.minute, DateFormat.is24HourFormat(mActivity)); in onClick()
306 mStartTimePickerDialog.setStartTime(mTime.hour, mTime.minute); in onClick()
313 mTime.hour, mTime.minute, DateFormat.is24HourFormat(mActivity)); in onClick()
315 mEndTimePickerDialog.setStartTime(mTime.hour, mTime.minute); in onClick()
493 private Time mTime; field in EditEventView.DateClickListener
496 mTime = time; in DateClickListener()
513 mTime.year, mTime.month, mTime.monthDay); in onClick()
/packages/apps/Email/tests/src/com/android/email/
DRefreshManagerTest.java107 assertEquals(mClock.mTime, s.getLastRefreshTime()); in testRefreshStatus()
113 assertEquals(mClock.mTime, s.getLastRefreshTime()); in testRefreshStatus()
121 assertEquals(mClock.mTime, s.getLastRefreshTime()); in testRefreshStatus()
185 assertEquals(mClock.mTime, mTarget.getMailboxListStatusForTest(ACCOUNT_1) in testRefreshMailboxList()
215 assertEquals(mClock.mTime, mTarget.getMailboxListStatusForTest(ACCOUNT_2) in testRefreshMailboxList()
283 assertEquals(mClock.mTime, mTarget.getMessageListStatusForTest(MAILBOX_1) in testRefreshMessageList()
313 assertEquals(mClock.mTime, mTarget.getMessageListStatusForTest(MAILBOX_2) in testRefreshMessageList()
DMockClock.java22 public long mTime = DEFAULT_TIME; field in MockClock
26 return mTime; in getTime()
30 mTime++; in advance()
34 mTime += milliseconds; in advance()
DNotificationControllerTest.java180 assertEquals(mMockClock.mTime, n.when); in testCreateNewMessageNotification()
190 assertEquals(mMockClock.mTime, n.when); in testCreateNewMessageNotification()
/packages/apps/Launcher2/src/com/android/launcher2/
DFirstFrameAnimatorHelper.java74 private long mTime = System.currentTimeMillis(); in initializeDrawListener()
79 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); in initializeDrawListener()
80 mTime = newTime; in initializeDrawListener()
/packages/apps/DeskClock/src/com/android/deskclock/
DSettingsActivity.java70 private long mTime; field in SettingsActivity
88 mTime = System.currentTimeMillis(); in onCreate()
233 mOffset = tz.getOffset(mTime); in TimeZoneRow()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DVideoEditorProject.java88 private final long mTime; field in VideoEditorProject.Download
102 mTime = time; in Download()
130 return mTime; in getTime()