/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Time.java | 62 private final GregorianCalendar mCalendar; field in Time 111 mCalendar = new GregorianCalendar(getTimeZone(), Locale.getDefault()); in Time() 116 year = mCalendar.get(Calendar.YEAR); in readFieldsFromCalendar() 117 month = mCalendar.get(Calendar.MONTH); in readFieldsFromCalendar() 118 monthDay = mCalendar.get(Calendar.DAY_OF_MONTH); in readFieldsFromCalendar() 119 hour = mCalendar.get(Calendar.HOUR_OF_DAY); in readFieldsFromCalendar() 120 minute = mCalendar.get(Calendar.MINUTE); in readFieldsFromCalendar() 121 second = mCalendar.get(Calendar.SECOND); in readFieldsFromCalendar() 126 mCalendar.set(year, month, monthDay, hour, minute, second); in writeFieldsToCalendar() 127 mCalendar.set(Calendar.MILLISECOND, 0); in writeFieldsToCalendar() [all …]
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 34 private Calendar mCalendar; field in MonthDisplayHelper 54 mCalendar = Calendar.getInstance(); in MonthDisplayHelper() 55 mCalendar.set(Calendar.YEAR, year); in MonthDisplayHelper() 56 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper() 57 mCalendar.set(Calendar.DAY_OF_MONTH, 1); in MonthDisplayHelper() 58 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper() 59 mCalendar.set(Calendar.MINUTE, 0); in MonthDisplayHelper() 60 mCalendar.set(Calendar.SECOND, 0); in MonthDisplayHelper() 61 mCalendar.getTimeInMillis(); in MonthDisplayHelper() 73 return mCalendar.get(Calendar.YEAR); in getYear() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 36 private final Calendar mCalendar = Calendar.getInstance(); field in ScheduleCalendar 88 mCalendar.setTimeZone(tz); in setTimeZone() 116 mCalendar.setTimeInMillis(millis); in getTime() 117 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in getTime() 118 mCalendar.set(Calendar.MINUTE, min); in getTime() 119 mCalendar.set(Calendar.SECOND, 0); in getTime() 120 mCalendar.set(Calendar.MILLISECOND, 0); in getTime() 121 return mCalendar.getTimeInMillis(); in getTime() 179 mCalendar.setTimeInMillis(time); in getDayOfWeek() 180 return mCalendar.get(Calendar.DAY_OF_WEEK); in getDayOfWeek() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 220 private Calendar mCalendar; field in DTTZResponseData 224 mCalendar = cal; in DTTZResponseData() 241 if (mCalendar == null) { in format() 242 mCalendar = Calendar.getInstance(); in format() 245 data[1] = byteToBCD(mCalendar.get(java.util.Calendar.YEAR) % 100); in format() 248 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1); in format() 251 data[3] = byteToBCD(mCalendar.get(java.util.Calendar.DATE)); in format() 254 data[4] = byteToBCD(mCalendar.get(java.util.Calendar.HOUR_OF_DAY)); in format() 257 data[5] = byteToBCD(mCalendar.get(java.util.Calendar.MINUTE)); in format() 260 data[6] = byteToBCD(mCalendar.get(java.util.Calendar.SECOND)); in format() [all …]
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconProvider.java | 76 private final ComponentName mCalendar; field in IconProvider 81 mCalendar = parseComponentOrNull(context, R.string.calendar_component_name); in IconProvider() 90 if (mCalendar != null && mCalendar.getPackageName().equals(packageName)) { in getSystemStateForPackage() 126 if (mCalendar != null && mCalendar.getPackageName().equals(packageName)) { in getIconWithOverrides() 171 mCalendar, in loadCalendarDrawable() 174 final Resources resources = pm.getResourcesForApplication(mCalendar.getPackageName()); in loadCalendarDrawable() 198 + mCalendar.getPackageName()); in loadCalendarDrawable() 213 String key = mCalendar.getPackageName() + ICON_METADATA_KEY_PREFIX; in getDynamicIconId() 292 if (mCalendar != null || mClock != null) { in IconChangeReceiver() 294 if (mCalendar != null) { in IconChangeReceiver() [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 | 87 private final Calendar mCalendar; field in SimpleMonthView 181 mCalendar = Calendar.getInstance(mLocale); in SimpleMonthView() 199 mMonthYearLabel = formatter.format(mCalendar.getTime()); in updateMonthYearLabel() 780 mWeekStart = mCalendar.getFirstDayOfWeek(); in setFirstDayOfWeek() 815 mCalendar.set(Calendar.MONTH, mMonth); in setMonthParams() 816 mCalendar.set(Calendar.YEAR, mYear); in setMonthParams() 817 mCalendar.set(Calendar.DAY_OF_MONTH, 1); in setMonthParams() 818 mDayOfWeekStart = mCalendar.get(Calendar.DAY_OF_WEEK); in setMonthParams() 823 mWeekStart = mCalendar.getFirstDayOfWeek(); in setMonthParams()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 95 private Calendar mCalendar; field in Clock 213 mCalendar = Calendar.getInstance(TimeZone.getDefault()); in onAttachedToWindow() 256 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz)); 258 mClockFormat.setTimeZone(mCalendar.getTimeZone()); 307 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateClock() 315 setContentDescription(mContentDescriptionFormat.format(mCalendar.getTime())); in updateClock() 485 String result = mClockFormat.format(mCalendar.getTime()); in getSmallTime() 519 mCalendar.setTimeInMillis(Long.parseLong(millis)); in dispatchDemoCommand() 525 mCalendar.set(Calendar.HOUR_OF_DAY, hh); in dispatchDemoCommand() 527 mCalendar.set(Calendar.HOUR, hh); in dispatchDemoCommand() [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 49202 Landroid/service/notification/ScheduleCalendar;->mCalendar:Ljava/util/Calendar; 57434 Landroid/util/MonthDisplayHelper;->mCalendar:Ljava/util/Calendar; 65673 Landroid/widget/AnalogClock;->mCalendar:Landroid/text/format/Time; 66067 Landroid/widget/DigitalClock;->mCalendar:Ljava/util/Calendar;
|