Home
last modified time | relevance | path

Searched refs:mTime (Results 1 – 10 of 10) 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/
DAnalogClock.java45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz));
68 private Calendar mTime; field in AnalogClock
84 mTime = Calendar.getInstance(); in AnalogClock()
122 mTime = Calendar.getInstance(mTimeZone != null ? mTimeZone : TimeZone.getDefault()); in onAttachedToWindow()
140 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged()
141 final float hourAngle = mTime.get(Calendar.HOUR) * 30f; in onTimeChanged()
143 final float minuteAngle = mTime.get(Calendar.MINUTE) * 6f; in onTimeChanged()
146 final float secondAngle = mTime.get(Calendar.SECOND) * 6f; in onTimeChanged()
149 setContentDescription(DateFormat.format(mDescFormat, mTime)); in onTimeChanged()
155 mTime.setTimeZone(mTimeZone); in setTimeZone()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java87 private final Time mTime = new Time(); field in CalendarController
93 mTime.switchTimezone(Utils.getTimeZone(mContext, this));
312 mTime.setToNow(); in CalendarController()
470 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent()
480 mTime.set(event.selectedTime); in sendEvent()
485 long mtimeMillis = mTime.toMillis(false); in sendEvent()
488 mTime.set(event.startTime); in sendEvent()
491 event.selectedTime = mTime; in sendEvent()
500 event.startTime = mTime; in sendEvent()
506 Log.d(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); in sendEvent()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java99 private StopwatchCircleView mTime; field in StopwatchFragment
128 mTime = (StopwatchCircleView) v.findViewById(R.id.stopwatch_circle); in onCreateView()
154 if (mTime != null) { in onCreateView()
398 if (mTime != null) { in doAddLap()
400 mTime.update(); in doAddLap()
516 if (mTime != null) { in updateUI()
517 mTime.update(); in updateUI()
544 final View touchTarget = mTime != null ? mTime : mStopwatchWrapper; in run()
/packages/apps/Email/tests/src/com/android/email/
DMockClock.java24 public long mTime = DEFAULT_TIME; field in MockClock
28 return mTime; in getTime()
32 mTime++; in advance()
36 mTime += milliseconds; in advance()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java273 private Time mTime = new Time(); // TODO timezone? field in RecurrencePickerDialog
634 mTime.set(b.getLong(BUNDLE_START_TIME_MILLIS)); in onCreateView()
638 mTime.timezone = tz; in onCreateView()
640 mTime.normalize(false); in onCreateView()
643 mModel.weeklyByDayOfWeek[mTime.weekDay] = true; in onCreateView()
651 mModel.weeklyByDayOfWeek[mTime.weekDay] = true; in onCreateView()
656 mTime.setToNow(); in onCreateView()
729 mModel.endDate = new Time(mTime); in onCreateView()
950 mModel.monthlyByNthDayOfWeek = (mTime.monthDay + 6) / 7; in updateDialog()
956 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()
520 mTime.year, mTime.month, mTime.monthDay); in onClick()
/packages/apps/Launcher2/src/com/android/launcher2/
DFirstFrameAnimatorHelper.java73 private long mTime = System.currentTimeMillis(); in initializeDrawListener()
78 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); in initializeDrawListener()
79 mTime = newTime; in initializeDrawListener()
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java75 private long mTime = System.currentTimeMillis(); in initializeDrawListener()
80 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); in initializeDrawListener()
81 mTime = newTime; in initializeDrawListener()