Home
last modified time | relevance | path

Searched refs:mCalendar (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DDigitalClock.java46 private Calendar mCalendar; field in DigitalClock
64 mCalendar = Calendar.getInstance();
128 mCalendar = Calendar.getInstance(); in onFinishInflate()
175 mCalendar = c; in updateTime()
184 mCalendar = c; in updateTime()
190 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateTime()
193 mCalendar.setTimeZone(TimeZone.getTimeZone(mTimeZoneId)); in updateTime()
197 CharSequence newTime = DateFormat.format(mHoursFormat, mCalendar); in updateTime()
200 newTime = DateFormat.format(MINUTES, mCalendar); in updateTime()
204 boolean isMorning = mCalendar.get(Calendar.AM_PM) == 0; in updateTime()
DAnalogClock.java43 private Time mCalendar; field in AnalogClock
96 mCalendar = new Time(); in AnalogClock()
121 mCalendar = new Time(); in onAttachedToWindow()
235 mCalendar.setToNow(); in onTimeChanged()
238 mCalendar.switchTimezone(mTimeZoneId); in onTimeChanged()
241 int hour = mCalendar.hour; in onTimeChanged()
242 int minute = mCalendar.minute; in onTimeChanged()
243 int second = mCalendar.second; in onTimeChanged()
251 updateContentDescription(mCalendar); in onTimeChanged()
259 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
DPolarClockWallpaper.java301 private Time mCalendar; field in PolarClockWallpaper.ClockEngine
311 mCalendar = new Time(TimeZone.getTimeZone(timeZone).getID());
359 mCalendar = new Time(); in onCreate()
360 mCalendar.setToNow(); in onCreate()
420 mCalendar = new Time(); in onVisibilityChanged()
421 mCalendar.setToNow(); in onVisibilityChanged()
474 final Time calendar = mCalendar; in drawFrame()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitiesActivity.java66 private Calendar mCalendar; field in CitiesActivity
88 mCalendar = Calendar.getInstance(); in CityAdapter()
89 mCalendar.setTimeInMillis(System.currentTimeMillis()); in CityAdapter()
141 mCalendar.setTimeZone(TimeZone.getTimeZone(c.mTimeZone)); in getView()
142 tz.setText(DateFormat.format(mIs24HoursMode ? "k:mm" : "h:mmaa", mCalendar)); in getView()