/packages/apps/Email/tests/src/com/android/email/ |
D | MockClock.java | 22 public long mTime = DEFAULT_TIME; field in MockClock 26 return mTime; in getTime() 30 mTime++; in advance() 34 mTime += milliseconds; in advance()
|
D | RefreshManagerTest.java | 107 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()
|
D | NotificationControllerTest.java | 219 assertEquals(mMockClock.mTime, n.when); in testCreateNewMessageNotification() 229 assertEquals(mMockClock.mTime, n.when); in testCreateNewMessageNotification()
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | UIControllerTwoPaneRefreshTaskTest.java | 65 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/agenda/ |
D | AgendaFragment.java | 58 private final Time mTime; field in AgendaFragment 80 mTime.switchTimezone(mTimeZone); 93 mTime = new Time(); in AgendaFragment() 95 mTime.setToNow(); in AgendaFragment() 97 mTime.set(mInitialTimeMillis); in AgendaFragment() 106 mTime.switchTimezone(mTimeZone); in onAttach() 125 mTime.set(prevTime); in onCreate() 127 Log.d(TAG, "Restoring time to " + mTime.toString()); in onCreate() 207 Log.v(TAG, "OnResume to " + mTime.toString()); in onResume() 221 mAgendaListView.goTo(mTime, -1, mQuery, true, false); in onResume() [all …]
|
D | AgendaListView.java | 51 private Time mTime; field in AgendaListView 59 mTime.switchTimezone(mTimeZone); 92 mTime = new Time(mTimeZone); in initView() 188 startTime = Utils.convertAlldayLocalToUTC(mTime, startTime, mTimeZone); in onItemClick() 189 endTime = Utils.convertAlldayLocalToUTC(mTime, endTime, mTimeZone); in onItemClick() 191 mTime.set(startTime); in onItemClick() 204 time = mTime; in goTo() 211 mTime.set(time); in goTo() 212 mTime.switchTimezone(mTimeZone); in goTo() 213 mTime.normalize(true); in goTo() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | TimezoneAdapter.java | 80 mOffset = tz.getOffset(TimezoneAdapter.this.mTime); in TimezoneRow() 206 private long mTime; field in TimezoneAdapter 223 mTime = time; in TimezoneAdapter() 224 mDateTime = new Date(mTime); in TimezoneAdapter() 342 if (time != mTime) { in setTime() 343 mTime = time; in setTime() 344 mDateTime.setTime(mTime); in setTime()
|
D | CalendarController.java | 93 private final Time mTime = new Time(); field in CalendarController 99 mTime.switchTimezone(Utils.getTimeZone(mContext, this)); 305 mTime.setToNow(); in CalendarController() 438 Log.e(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent() 448 mTime.set(event.selectedTime); in sendEvent() 453 long mtimeMillis = mTime.toMillis(false); in sendEvent() 456 mTime.set(event.startTime); in sendEvent() 459 event.selectedTime = mTime; in sendEvent() 468 event.startTime = mTime; in sendEvent() 474 Log.e(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 92 private DigitalClock mTime; field in DeskClock 259 mTime = (DigitalClock) findViewById(R.id.time); in saveScreen() 268 mTime.setSystemUiVisibility(View.STATUS_BAR_HIDDEN); in saveScreen() 351 mTime.setSystemUiVisibility(mDimmed ? View.SYSTEM_UI_FLAG_LOW_PROFILE in doDim() 485 mTime = (DigitalClock) findViewById(R.id.time); in initViews() 489 mTime.setSystemUiVisibility(View.STATUS_BAR_VISIBLE); in initViews() 490 mTime.getRootView().requestFocus(); in initViews()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 261 private Time mTime; field in EditEventView.TimeClickListener 264 mTime = time; in TimeClickListener() 269 TimePickerDialog tp = new TimePickerDialog(mActivity, new TimeListener(v), mTime.hour, in onClick() 270 mTime.minute, DateFormat.is24HourFormat(mActivity)); in onClick() 572 private Time mTime; field in EditEventView.DateClickListener 575 mTime = time; in DateClickListener() 580 mActivity, new DateListener(v), mTime.year, mTime.month, mTime.monthDay); in onClick()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | VideoEditorProject.java | 88 private final long mTime; field in VideoEditorProject.Download 102 mTime = time; in Download() 130 return mTime; in getTime()
|