Searched refs:mCalendar (Results 1 – 8 of 8) 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/service/notification/ |
D | ScheduleCalendar.java | 34 private final Calendar mCalendar = Calendar.getInstance(); field in ScheduleCalendar 93 mCalendar.setTimeZone(tz); in setTimeZone() 115 mCalendar.setTimeInMillis(millis); in getTime() 116 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in getTime() 117 mCalendar.set(Calendar.MINUTE, min); in getTime() 118 mCalendar.set(Calendar.SECOND, 0); in getTime() 119 mCalendar.set(Calendar.MILLISECOND, 0); in getTime() 120 return mCalendar.getTimeInMillis(); in getTime() 178 mCalendar.setTimeInMillis(time); in getDayOfWeek() 179 return mCalendar.get(Calendar.DAY_OF_WEEK); in getDayOfWeek() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 219 private Calendar mCalendar; field in DTTZResponseData 223 mCalendar = cal; in DTTZResponseData() 240 if (mCalendar == null) { in format() 241 mCalendar = Calendar.getInstance(); in format() 244 data[1] = byteToBCD(mCalendar.get(java.util.Calendar.YEAR) % 100); in format() 247 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1); in format() 250 data[3] = byteToBCD(mCalendar.get(java.util.Calendar.DATE)); in format() 253 data[4] = byteToBCD(mCalendar.get(java.util.Calendar.HOUR_OF_DAY)); in format() 256 data[5] = byteToBCD(mCalendar.get(java.util.Calendar.MINUTE)); in format() 259 data[6] = byteToBCD(mCalendar.get(java.util.Calendar.SECOND)); in format() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | DigitalClock.java | 39 Calendar mCalendar; field in DigitalClock 61 if (mCalendar == null) { in initClock() 62 mCalendar = Calendar.getInstance(); in initClock() 84 mCalendar.setTimeInMillis(System.currentTimeMillis()); in onAttachedToWindow() 85 setText(DateFormat.format(mFormat, mCalendar)); in onAttachedToWindow()
|
D | SimpleMonthView.java | 81 private final Calendar mCalendar; field in SimpleMonthView 175 mCalendar = Calendar.getInstance(mLocale); in SimpleMonthView() 189 mMonthYearLabel = formatter.format(mCalendar.getTime()); in updateMonthYearLabel() 769 mWeekStart = mCalendar.getFirstDayOfWeek(); in setFirstDayOfWeek() 804 mCalendar.set(Calendar.MONTH, mMonth); in setMonthParams() 805 mCalendar.set(Calendar.YEAR, mYear); in setMonthParams() 806 mCalendar.set(Calendar.DAY_OF_MONTH, 1); in setMonthParams() 807 mDayOfWeekStart = mCalendar.get(Calendar.DAY_OF_WEEK); in setMonthParams() 812 mWeekStart = mCalendar.getFirstDayOfWeek(); in setMonthParams()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 85 private Calendar mCalendar; field in Clock 204 mCalendar = Calendar.getInstance(TimeZone.getDefault()); in onAttachedToWindow() 244 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz)); 246 mClockFormat.setTimeZone(mCalendar.getTimeZone()); 293 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateClock() 295 setContentDescription(mContentDescriptionFormat.format(mCalendar.getTime())); in updateClock() 433 String result = sdf.format(mCalendar.getTime()); in getSmallTime() 472 mCalendar.setTimeInMillis(Long.parseLong(millis)); in dispatchDemoCommand() 478 mCalendar.set(Calendar.HOUR_OF_DAY, hh); in dispatchDemoCommand() 480 mCalendar.set(Calendar.HOUR, hh); in dispatchDemoCommand() [all …]
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/ |
D | ZoneGetterTest.java | 44 private Calendar mCalendar; field in ZoneGetterTest 50 mCalendar = new GregorianCalendar(2016, 9, 1); in setUp() 95 mCalendar.getTime()); in getTimeZoneOffsetAndName_withTtsSpan() 107 mCalendar.getTime()); in testTimeZoneOffsetAndNameInner()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 63757 Landroid/service/notification/ScheduleCalendar;->mCalendar:Ljava/util/Calendar; 72100 Landroid/util/MonthDisplayHelper;->mCalendar:Ljava/util/Calendar; 80745 Landroid/widget/AnalogClock;->mCalendar:Landroid/text/format/Time; 81139 Landroid/widget/DigitalClock;->mCalendar:Ljava/util/Calendar;
|