/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 55 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper() 76 return mCalendar.get(Calendar.MONTH); in getMonth() 164 mCalendar.add(Calendar.MONTH, -1); in previousMonth() 172 mCalendar.add(Calendar.MONTH, 1); in nextMonth() 202 mCalendar.add(Calendar.MONTH, -1); in recalculate() 204 mCalendar.add(Calendar.MONTH, 1); in recalculate()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateIntervalFormatTest.java | 59 private static final long MONTH = 31 * DAY; field in DateIntervalFormatTest 60 private static final long YEAR = 12 * MONTH; 68 c.set(Calendar.MONTH, Calendar.JANUARY); in test_formatDateInterval() 141 formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * MONTH, in test_formatDateInterval() 152 formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * MONTH, in test_formatDateInterval() 164 formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * MONTH, in test_formatDateInterval() 176 formatDateRange(es_ES, tz, fixedTime, fixedTime + 3 * MONTH, in test_formatDateInterval() 195 formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * MONTH, 0)); in test_formatDateInterval() 197 formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * MONTH, in test_formatDateInterval() 200 formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * MONTH, in test_formatDateInterval() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerPagerAdapter.java | 83 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in setRange() 205 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; in getMonthForPosition() 209 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; in getYearForPosition() 219 final int monthOffset = day.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in getPositionForDay() 252 if (mSelectedDay != null && mSelectedDay.get(Calendar.MONTH) == month && mSelectedDay.get( in instantiateItem() 260 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) { in instantiateItem() 267 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { in instantiateItem()
|
D | DatePickerSpinnerDelegate.java | 136 mTempDate.add(Calendar.MONTH, 1); in DatePickerSpinnerDelegate() 138 mTempDate.add(Calendar.MONTH, -1); in DatePickerSpinnerDelegate() 140 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate() 148 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in DatePickerSpinnerDelegate() 223 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate in DatePickerSpinnerDelegate() 266 return mCurrentDate.get(Calendar.MONTH); in getMonth() 412 mNumberOfMonths = mTempDate.getActualMaximum(Calendar.MONTH) + 1; in setCurrentLocale() 500 || mCurrentDate.get(Calendar.MONTH) != month in isNewDate() 523 mMonthSpinner.setMinValue(mCurrentDate.get(Calendar.MONTH)); in updateSpinners() 524 mMonthSpinner.setMaxValue(mCurrentDate.getActualMaximum(Calendar.MONTH)); in updateSpinners() [all …]
|
D | DatePickerCalendarDelegate.java | 255 final int month = mCurrentDate.get(Calendar.MONTH); 379 mCurrentDate.set(Calendar.MONTH, month); in setDate() 389 final int monthOfYear = mCurrentDate.get(Calendar.MONTH); in onDateChanged() 416 return mCurrentDate.get(Calendar.MONTH); in getMonth() 530 final int month = mCurrentDate.get(Calendar.MONTH); in onSaveInstanceState()
|
D | CalendarViewLegacyDelegate.java | 703 selectedDay.get(Calendar.MONTH), in setUpAdapter() 931 mCurrentMonthDisplayed = calendar.get(Calendar.MONTH); in setMonthDisplayed() 1056 mFocusedMonth = mSelectedDate.get(Calendar.MONTH); in setSelectedDay() 1265 mMonthOfFirstWeekDay = mTempDate.get(Calendar.MONTH); in init() 1269 final boolean isFocusedDay = (mTempDate.get(Calendar.MONTH) == focusedMonth); in init() 1287 mLastWeekDayMonth = mTempDate.get(Calendar.MONTH); in init() 1378 && (date.get(Calendar.MONTH) == currDay.get(Calendar.MONTH)) in getBoundsForDate()
|
D | CalendarViewMaterialDelegate.java | 137 final int month = day.get(Calendar.MONTH);
|
D | DayPickerView.java | 382 return end.get(Calendar.MONTH) - start.get(Calendar.MONTH) + 12 * diffYears;
|
D | SimpleMonthView.java | 804 mCalendar.set(Calendar.MONTH, mMonth); in setMonthParams() 860 return mYear == today.get(Calendar.YEAR) && mMonth == today.get(Calendar.MONTH) in sameDay()
|
D | DatePicker.java | 653 updateDate(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), in autofill()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtilsBridge.java | 177 || c1.get(Calendar.MONTH) != c2.get(Calendar.MONTH) in fallOnDifferentDates() 182 return c1.get(Calendar.MONTH) == c2.get(Calendar.MONTH); in fallInSameMonth()
|
D | DateUtils.java | 506 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH) in formatSameDayTime()
|
D | DateFormat.java | 126 public static final char MONTH = 'M'; field in DateFormat 536 replacement = getMonthString(dfs, inDate.get(Calendar.MONTH), count, c); in format()
|
D | Time.java | 148 public static final int MONTH = 5; field in Time 276 case MONTH: in getActualMaximum()
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 48 private static final String MONTH = "month"; field in DatePickerDialog 130 monthOfYear = calendar.get(Calendar.MONTH); in DatePickerDialog() 209 state.putInt(MONTH, mDatePicker.getMonth()); in onSaveInstanceState() 218 final int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | DatePicker.java | 187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); in DatePicker() 249 } else if ((c == DateFormat.MONTH || c == 'L') && !didMonth) { in reorderPickers() 461 cal.set(Calendar.MONTH, mMonth); in adjustMaxDay()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 64 c.add(Calendar.MONTH, -1); in DateSorter()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 798 freqField = Time.MONTH; in expand() 823 if (freqField == Time.MONTH) { in expand() 1086 case Time.MONTH: in expand() 1103 if (freqField != Time.YEAR && freqField != Time.MONTH) { in expand()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 114 calendar.set(Calendar.MONTH, month); in parse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 92 c.set(Calendar.MONTH, month); in parse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 247 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1); in format()
|
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 271 temp.set(Calendar.MONTH, Integer.parseInt(dateString.substring( in updateHeaderSet() 467 temp = dateHeader.get(Calendar.MONTH); in createHeader()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 315 c.get(Calendar.MONTH) + 1, in toUTCString()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 1262 && now.get(Calendar.MONTH) == endTime.get(Calendar.MONTH) in isToday()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 1267 midnight.set(midnight.get(Calendar.YEAR), midnight.get(Calendar.MONTH), in getMidnightMs()
|