Searched refs:mCalendar (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 33 private Calendar mCalendar; field in MonthDisplayHelper 53 mCalendar = Calendar.getInstance(); in MonthDisplayHelper() 54 mCalendar.set(Calendar.YEAR, year); in MonthDisplayHelper() 55 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper() 56 mCalendar.set(Calendar.DAY_OF_MONTH, 1); in MonthDisplayHelper() 57 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper() 58 mCalendar.set(Calendar.MINUTE, 0); in MonthDisplayHelper() 59 mCalendar.set(Calendar.SECOND, 0); in MonthDisplayHelper() 60 mCalendar.getTimeInMillis(); in MonthDisplayHelper() 72 return mCalendar.get(Calendar.YEAR); in getYear() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | DigitalClock.java | 39 Calendar mCalendar; field in DigitalClock 64 if (mCalendar == null) { in initClock() 65 mCalendar = Calendar.getInstance(); in initClock() 87 mCalendar.setTimeInMillis(System.currentTimeMillis()); in onAttachedToWindow() 88 setText(DateFormat.format(mFormat, mCalendar)); in onAttachedToWindow()
|
D | AnalogClock.java | 42 private Time mCalendar; field in AnalogClock 89 mCalendar = new Time(); in AnalogClock() 114 mCalendar = new Time(); in onAttachedToWindow() 223 mCalendar.setToNow(); in onTimeChanged() 225 int hour = mCalendar.hour; in onTimeChanged() 226 int minute = mCalendar.minute; in onTimeChanged() 227 int second = mCalendar.second; in onTimeChanged() 233 updateContentDescription(mCalendar); in onTimeChanged() 241 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DigitalClock.java | 50 private Calendar mCalendar; field in DigitalClock 89 clock.mCalendar = Calendar.getInstance(); in onReceive() 174 mCalendar = Calendar.getInstance(); in onFinishInflate() 224 mCalendar = c; in updateTime() 229 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateTime() 231 CharSequence newTime = DateFormat.format(mFormat, mCalendar); in updateTime() 234 mAmPm.setIsMorning(mCalendar.get(Calendar.AM_PM) == 0); in updateTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 52 private Calendar mCalendar; field in Clock 94 mCalendar = Calendar.getInstance(TimeZone.getDefault()); in onAttachedToWindow() 115 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz)); 117 mClockFormat.setTimeZone(mCalendar.getTimeZone()); 125 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateClock() 182 String result = sdf.format(mCalendar.getTime()); in getSmallTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | HoloClock.java | 51 private Calendar mCalendar; field in HoloClock 118 mCalendar = Calendar.getInstance(TimeZone.getDefault()); in onAttachedToWindow() 139 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz)); 141 mClockFormat.setTimeZone(mCalendar.getTimeZone()); 149 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateClock() 172 String result = sdf.format(mCalendar.getTime()); in getTimeText()
|
/frameworks/base/services/java/com/android/server/ |
D | Watchdog.java | 86 final Calendar mCalendar = Calendar.getInstance(); field in Watchdog 253 realStartTime = computeCalendarTime(mCalendar, now, in checkReboot() 271 realStartTime = computeCalendarTime(mCalendar, in checkReboot() 286 realStartTime = computeCalendarTime(mCalendar, in checkReboot() 293 realStartTime = computeCalendarTime(mCalendar, in checkReboot()
|