/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/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/ |
D | GuidedDatePickerTest.java | 100 case Calendar.MONTH: in getColumnIndexForDateField() 191 == currentActionCal.get(Calendar.MONTH) in verticalScrollToFieldValue() 255 cal.set(Calendar.MONTH, Calendar.JANUARY); in testJanuaryToFebruaryTransitionForLeapYear() 278 verticalScrollToFieldValue(Calendar.MONTH, Calendar.FEBRUARY, new int[] {0, 1, 2}, in testJanuaryToFebruaryTransitionForLeapYear() 301 cal.set(Calendar.MONTH, Calendar.FEBRUARY); in testFebruaryToMarchTransitionForLeapYear() 324 verticalScrollToFieldValue(Calendar.MONTH, Calendar.MARCH, new int[] {0, 1, 2}, in testFebruaryToMarchTransitionForLeapYear() 347 cal.set(Calendar.MONTH, Calendar.JANUARY); in testJanuaryToFebruaryTransitionForNonLeapYear() 370 verticalScrollToFieldValue(Calendar.MONTH, Calendar.FEBRUARY, new int[] {0, 1, 2}, in testJanuaryToFebruaryTransitionForNonLeapYear() 393 cal.set(Calendar.MONTH, Calendar.FEBRUARY); in testFebruaryToMarchTransitionForNonLeapYear() 416 verticalScrollToFieldValue(Calendar.MONTH, Calendar.MARCH, new int[] {0, 1, 2}, in testFebruaryToMarchTransitionForNonLeapYear() [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) { in instantiateItem() 259 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) { in instantiateItem() 266 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { in instantiateItem()
|
D | DatePickerSpinnerDelegate.java | 137 mTempDate.add(Calendar.MONTH, 1); in DatePickerSpinnerDelegate() 139 mTempDate.add(Calendar.MONTH, -1); in DatePickerSpinnerDelegate() 141 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate() 149 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in DatePickerSpinnerDelegate() 224 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate in DatePickerSpinnerDelegate() 267 return mCurrentDate.get(Calendar.MONTH); in getMonth() 413 mNumberOfMonths = mTempDate.getActualMaximum(Calendar.MONTH) + 1; in setCurrentLocale() 501 || mCurrentDate.get(Calendar.MONTH) != month in isNewDate() 522 mMonthSpinner.setMinValue(mCurrentDate.get(Calendar.MONTH)); in updateSpinners() 523 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 | 705 selectedDay.get(Calendar.MONTH), in setUpAdapter() 933 mCurrentMonthDisplayed = calendar.get(Calendar.MONTH); in setMonthDisplayed() 1058 mFocusedMonth = mSelectedDate.get(Calendar.MONTH); in setSelectedDay() 1267 mMonthOfFirstWeekDay = mTempDate.get(Calendar.MONTH); in init() 1271 final boolean isFocusedDay = (mTempDate.get(Calendar.MONTH) == focusedMonth); in init() 1289 mLastWeekDayMonth = mTempDate.get(Calendar.MONTH); in init() 1380 && (date.get(Calendar.MONTH) == currDay.get(Calendar.MONTH)) in getBoundsForDate()
|
D | CalendarViewMaterialDelegate.java | 137 final int month = day.get(Calendar.MONTH);
|
D | DayPickerView.java | 384 return end.get(Calendar.MONTH) - start.get(Calendar.MONTH) + 12 * diffYears;
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 47 private static final String MONTH = "month"; field in DatePickerDialog 128 monthOfYear = calendar.get(Calendar.MONTH); in DatePickerDialog() 207 state.putInt(MONTH, mDatePicker.getMonth()); in onSaveInstanceState() 216 final int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerDialog.java | 161 mCalendar.set(Calendar.MONTH, monthOfYear); in initialize() 173 mCalendar.set(Calendar.MONTH, savedInstanceState.getInt(KEY_SELECTED_MONTH)); in onCreate() 182 outState.putInt(KEY_SELECTED_MONTH, mCalendar.get(Calendar.MONTH)); in onSaveInstanceState() 257 mCalendar.get(Calendar.MONTH), mCalendar.get(Calendar.DAY_OF_MONTH)); in onCreateView() 343 mSelectedMonthTextView.setText(mCalendar.getDisplayName(Calendar.MONTH, Calendar.SHORT, in updateDisplay() 454 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year); in onYearSelected() 464 mCalendar.set(Calendar.MONTH, month); in onDayOfMonthSelected()
|
D | MonthView.java | 367 mCalendar.set(Calendar.MONTH, mMonth); in setMonthParams() 615 if (month < minDate.get(Calendar.MONTH)) { in isBeforeMin() 617 } else if (month > minDate.get(Calendar.MONTH)) { in isBeforeMin() 643 if (month > maxDate.get(Calendar.MONTH)) { in isAfterMax() 645 } else if (month < maxDate.get(Calendar.MONTH)) { in isAfterMax()
|
D | MonthAdapter.java | 67 month = calendar.get(Calendar.MONTH); in CalendarDay() 100 month = calendar.get(Calendar.MONTH); in setTime()
|
D | DayPickerView.java | 445 sbuf.append(cal.getDisplayName(Calendar.MONTH, Calendar.LONG, Locale.getDefault())); in getMonthAndYearString()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
D | DatePicker.java | 303 mTempDate.add(Calendar.MONTH, newVal - oldVal); in onColumnValueChanged() 309 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in onColumnValueChanged() 421 || mCurrentDate.get(Calendar.MONTH) != dayOfMonth in isNewDate() 441 private static final int[] DATE_FIELDS = {Calendar.DAY_OF_MONTH, Calendar.MONTH, Calendar.YEAR};
|
/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/base/core/java/android/text/format/ |
D | DateFormat.java | 127 public static final char MONTH = 'M'; field in DateFormat 484 inDate.get(Calendar.MONTH), count, c); in format()
|
D | DateUtils.java | 489 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH) in formatSameDayTime()
|
D | Time.java | 149 public static final int MONTH = 5; field in Time 277 case MONTH: in getActualMaximum()
|
/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 | 240 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1); in format()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 272 c.get(Calendar.MONTH) + 1, in toUTCString()
|
/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | TwoWayBindingAdapterTest.java | 182 assertEquals(expected.get(Calendar.MONTH), testValue.get(Calendar.MONTH)); in assertDatesMatch()
|